summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2020-02-08 17:22:54 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-02-15 10:36:47 +0700
commit04d522c6bf846dc7f1b65c1bfa3a46727369e80a (patch)
treeb796dc0666ab08a28e4195a5cb83b1c54ca1662d
parent520ac3d615b6f8c354d76b568e6cd50067e3f0a2 (diff)
downloadslackbuilds-04d522c6bf846dc7f1b65c1bfa3a46727369e80a.tar.gz
games/qmc2: Updated for version 0.195.
-rw-r--r--games/qmc2/qchdman.desktop8
-rw-r--r--games/qmc2/qmc2.SlackBuild16
-rw-r--r--games/qmc2/qmc2.desktop8
-rw-r--r--games/qmc2/qmc2.info6
-rw-r--r--games/qmc2/qmc2.pngbin2244 -> 0 bytes
5 files changed, 23 insertions, 15 deletions
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
--- a/games/qmc2/qmc2.png
+++ /dev/null
Binary files differ