summaryrefslogtreecommitdiff
path: root/games/higan/higan.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-23 17:18:15 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-06-01 21:47:45 +0700
commitf5cc4d14ad14fa990187a44d9219cc2838fde179 (patch)
treecb2c97998ebadf82628922abe1860b0a15603cee /games/higan/higan.SlackBuild
parentaa6959cb5bc0e6d5e0720201c4e5ae51baa47bc1 (diff)
downloadslackbuilds-f5cc4d14ad14fa990187a44d9219cc2838fde179.tar.gz
games/higan: Updated for version 110.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/higan/higan.SlackBuild')
-rw-r--r--games/higan/higan.SlackBuild24
1 files changed, 12 insertions, 12 deletions
diff --git a/games/higan/higan.SlackBuild b/games/higan/higan.SlackBuild
index d4675f6351..97169db74c 100644
--- a/games/higan/higan.SlackBuild
+++ b/games/higan/higan.SlackBuild
@@ -34,7 +34,7 @@
# This update would not have happened without assistance and moral support
# from Yossi Ne'eman. Thanks!
# - Take over maintenance.
-# - Update for v106.
+# - Update for v110.
# - Use the gtk frontend, not the *broken* qt one.
# - Make OpenAL dep optional & autodetected (and OPENAL=no to force-disable).
# - Add OSS (default no) and PULSE (default yes) env vars.
@@ -47,8 +47,8 @@
# page sources!
PRGNAM=higan
-VERSION=${VERSION:-106}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-110}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -102,7 +102,9 @@ patch -p1 -i $CWD/higan-paths.diff
# 20181212 bkw: audio system stuff. Upstream doesn't give us a way to
# disable these on the make command line, but hacking this file works:
-HACKFILE=higan/target-tomoko/GNUmakefile
+HACKFILE=higan/target-higan/GNUmakefile
+
+sed 's|/usr/local/lib/qt5/bin/moc|moc-qt5|' -i hiro/GNUmakefile
# Who actually uses OSS?
if [ "${OSS:-no}" = "no" ]; then
@@ -130,13 +132,13 @@ CXXFLAGS="$SLKCFLAGS" \
make -C icarus \
prefix=/usr \
platform=linux \
- hiro=gtk
+ hiro=qt5
CXXFLAGS="$SLKCFLAGS" \
make -C $PRGNAM \
prefix=/usr \
platform=linux \
- hiro=gtk
+ hiro=qt5
mkdir -p $PKG/usr/games \
$PKG/usr/share/applications \
@@ -144,9 +146,9 @@ mkdir -p $PKG/usr/games \
$PKG/usr/share/pixmaps
install -s -m 755 $PRGNAM/out/$PRGNAM icarus/out/icarus $PKG/usr/games/
-install -m 644 $PRGNAM/data/$PRGNAM.desktop $PKG/usr/share/applications/
-install -m 644 $PRGNAM/data/$PRGNAM.png $PKG/usr/share/pixmaps/
-cp -dr $PRGNAM/systems/* $PKG/usr/share/$PRGNAM/
+install -m 644 $PRGNAM/target-higan/resource/$PRGNAM.desktop $PKG/usr/share/applications/
+install -m 644 $PRGNAM/target-higan/resource/$PRGNAM.png $PKG/usr/share/pixmaps/
+cp -dr $PRGNAM/System/* $PKG/usr/share/$PRGNAM/
# Man pages by B. Watson. higan.6 is basically the higan-cli.md from the
# git repo, reformatted as RST & converted to a man page. icarus.6 was
@@ -156,10 +158,8 @@ for i in $PRGNAM icarus; do
gzip -9c < $CWD/$i.6 > $PKG/usr/man/man6/$i.6.gz
done
-# Sadly there are no docs in v106. I found a docs/ dir in git, but it's not
-# in the release 7z archive. Apparently this is because the git archive is
-# somehow unofficial...?
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp *.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install