From 04d522c6bf846dc7f1b65c1bfa3a46727369e80a Mon Sep 17 00:00:00 2001 From: Erik Hanson Date: Sat, 8 Feb 2020 17:22:54 -0600 Subject: games/qmc2: Updated for version 0.195. --- games/qmc2/qchdman.desktop | 8 ++++++++ games/qmc2/qmc2.SlackBuild | 16 ++++++++++++---- games/qmc2/qmc2.desktop | 8 -------- games/qmc2/qmc2.info | 6 +++--- games/qmc2/qmc2.png | Bin 2244 -> 0 bytes 5 files changed, 23 insertions(+), 15 deletions(-) create mode 100644 games/qmc2/qchdman.desktop delete mode 100644 games/qmc2/qmc2.desktop delete mode 100644 games/qmc2/qmc2.png (limited to 'games/qmc2') diff --git a/games/qmc2/qchdman.desktop b/games/qmc2/qchdman.desktop new file mode 100644 index 0000000000..d7e3e7bd76 --- /dev/null +++ b/games/qmc2/qchdman.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=QChdman +Comment=QT Compressed Hunks of Data Manager GUI +Exec=qchdman +Icon=/usr/share/qmc2/img/qchdman.png +Terminal=false +Type=Application +Categories=Game;Emulator; diff --git a/games/qmc2/qmc2.SlackBuild b/games/qmc2/qmc2.SlackBuild index b0710d48ce..72c2e64051 100644 --- a/games/qmc2/qmc2.SlackBuild +++ b/games/qmc2/qmc2.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for QMC2 -# Copyright 2010-2017 Erik Hanson, Minneapolis, MN, USA +# Copyright 2010-2020 Erik Hanson, Minneapolis, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=qmc2 -VERSION=${VERSION:-0.187} +VERSION=${VERSION:-0.195} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -78,11 +78,19 @@ CXX_FLAGS="$SLKCFLAGS" LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ make EMU=MAME PREFIX=/usr PRETTY=0 MACHINE=$ARCH make install EMU=MAME PREFIX=/usr DESTDIR=$PKG +cd tools/qchdman +qmake qchdman.pro +make +install -D -m 0755 qchdman $PKG/usr/bin/qchdman +cd - + find $PKG | xargs file | egrep "ELF.*executable" | cut -f 1 -d : \ | xargs strip --strip-unneeded 2> /dev/null -install -D -m 0644 $CWD/qmc2.desktop $PKG/usr/share/applications/qmc2.desktop -install -D -m 0644 $CWD/qmc2.png $PKG/usr/share/pixmaps/qmc2.png +#install -D -m 0644 $CWD/qmc2.desktop $PKG/usr/share/applications/qmc2.desktop +#install -D -m 0644 $CWD/qmc2.png $PKG/usr/share/pixmaps/qmc2.png +install -D -m 0644 $CWD/qchdman.desktop $PKG/usr/share/applications/qchman.desktop +#install -D -m 0644 $CWD/qchdman.png $PKG/usr/share/pixmaps/qchdman.png mv $PKG/etc/qmc2/qmc2.ini $PKG/etc/qmc2/qmc2.ini.new diff --git a/games/qmc2/qmc2.desktop b/games/qmc2/qmc2.desktop deleted file mode 100644 index 39e5fdb301..0000000000 --- a/games/qmc2/qmc2.desktop +++ /dev/null @@ -1,8 +0,0 @@ -[Desktop Entry] -Name=QMC2 -Comment=M.A.M.E./M.E.S.S. Catalog / Launcher II -Exec=qmc2 -Icon=qmc2 -Terminal=false -Type=Application -Categories=Game;Emulator; diff --git a/games/qmc2/qmc2.info b/games/qmc2/qmc2.info index d7415a6d46..2c64c5b357 100644 --- a/games/qmc2/qmc2.info +++ b/games/qmc2/qmc2.info @@ -1,8 +1,8 @@ PRGNAM="qmc2" -VERSION="0.187" +VERSION="0.195" HOMEPAGE="http://qmc2.batcom-it.net/" -DOWNLOAD="http://downloads.sourceforge.net/qmc2/qmc2-0.187.tar.bz2" -MD5SUM="20a512485c86012df45e4ce17999483f" +DOWNLOAD="http://downloads.sourceforge.net/qmc2/qmc2-0.195.tar.bz2" +MD5SUM="749434021191c770188140e8ecbcdbaf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/games/qmc2/qmc2.png b/games/qmc2/qmc2.png deleted file mode 100644 index 355e288bd3..0000000000 Binary files a/games/qmc2/qmc2.png and /dev/null differ -- cgit v1.2.3