From 9c9ce5d0784e7a7e2e76b4dc4567a03cb7398c09 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 7 Jan 2023 03:47:37 -0500 Subject: games/hatari: Updated for version 2.4.1. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- games/hatari/hatari.SlackBuild | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'games/hatari/hatari.SlackBuild') diff --git a/games/hatari/hatari.SlackBuild b/games/hatari/hatari.SlackBuild index d415a1c2a9..d47329d8fa 100644 --- a/games/hatari/hatari.SlackBuild +++ b/games/hatari/hatari.SlackBuild @@ -6,6 +6,11 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230107 bkw: +# - update for v2.4.1. +# - fix bad icon symlink (symlinked a .svg to a .png filename, derp). +# - coerce cmake to use python3, since hatariui now requires it. + # 20210102 bkw: update for v2.3.1. # 20201218 bkw: # - update for v2.3.0. Can't build older versions, sorry. @@ -66,7 +71,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=hatari -VERSION=${VERSION:-2.3.1} +VERSION=${VERSION:-2.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -169,6 +174,8 @@ sed -i \ # /usr/include for the libcapsimage headers, that is *the systemwide # default location* for includes, and has been since the 1970s. Grr. cmake \ + -DPYTHONINTERP_FOUND=ON \ + -DPYTHON_EXECUTABLE=/usr/bin/python3 \ -DCAPSIMAGE_INCLUDE_DIR=/usr/include \ -DCMAKE_VERBOSE_MAKEFILE=TRUE \ $SDL2OPT \ @@ -199,14 +206,6 @@ cp tools/hmsa/readme-hmsa.txt readme.txt gpl.txt \ doc/de/*.txt \ $DOCDIR -# The UI has its own docs. These are actually used by the UI, so they -# must be available in /usr/share/hatari (hence the symlinks). -UIDOCDIR=$DOCDIR/${PRGNAM}ui -mkdir -p $UIDOCDIR -for i in README TODO release-notes.txt; do - ln -s ../../../share/$PRGNAM/${PRGNAM}ui/$i $UIDOCDIR/$i -done - # Someone might find the French man page useful. It's in utf-8, so # put it in the right dir. mkdir -p $PKG/usr/man/fr.UTF-8/man6 $PKG/usr/man/fr/man6 @@ -228,7 +227,7 @@ for i in $PKG/usr/share/icons/hicolor/[0-9]*; do done ln -s application-x-st-disk-image.svg \ - $PKG/usr/share/icons/hicolor/scalable/mimetypes/x-st-executable.png + $PKG/usr/share/icons/hicolor/scalable/mimetypes/x-st-executable.svg # Don't symlink emutos to tos here, do it conditionally in doinst.sh. ( cd $PKG/usr/share/$PRGNAM && mv tos.img emutos.img ) -- cgit v1.2.3