diff options
author | B. Watson <urchlay@slackware.uk> | 2023-01-10 02:56:56 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-01-14 08:50:28 +0700 |
commit | 09ef489c68411e5d3880e0016f961470fd8bbbef (patch) | |
tree | c45f6e1729bed0c0a0bebd4f807715fb4bbd586c /games | |
parent | 262675d2d70f187f805cd1afa28079587798dcbc (diff) |
games/smc: Update for new CEGUI0.7.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/smc/smc.SlackBuild | 17 | ||||
-rw-r--r-- | games/smc/smc.info | 2 |
2 files changed, 8 insertions, 11 deletions
diff --git a/games/smc/smc.SlackBuild b/games/smc/smc.SlackBuild index 90f565dcc4c13..3f05ae23fc6a5 100644 --- a/games/smc/smc.SlackBuild +++ b/games/smc/smc.SlackBuild @@ -5,14 +5,9 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. -# Modified by B. Watson, for post-1.9 git snapshot and Slack 14.1. -# - removed boost patch (no longer needed) -# - changed Categories in .desktop file (make it validate) -# - got CEGUI0.7 maintainer to add a couple configure options this needs - -# Note about the REQUIRES in the .info file: I listed FreeImage first -# because it's an optional dep for CEGUI0.7. This build needs CEGUI0.7 -# with FreeImage support compiled in. +# 20230110 bkw: BUILD=4 +# - look for CEGUI0.7 libraries in /opt/CEGUI0.7, since they've +# been moved there (as of CEGUI0.7 build 5). # 20211026 bkw: BUILD=3 # - new-style icons (extracted from the windows .ico file). @@ -34,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=smc VERSION=${VERSION:-20140328} -BUILD=${BUILD:-2} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -83,6 +78,8 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ ./autogen.sh +export PKG_CONFIG_PATH=/opt/CEGUI0.7/lib$LIBDIRSUFFIX/pkgconfig + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -92,7 +89,7 @@ CXXFLAGS="$SLKCFLAGS" \ --datadir=/usr/share/games \ --build=$ARCH-slackware-linux -CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" force_arch="$ARCH" make +CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" force_arch="$ARCH" make V=1 make install-strip DESTDIR=$PKG # The fonts included in the game cause 14.2's fontconfig to fail, diff --git a/games/smc/smc.info b/games/smc/smc.info index fabd2f878eba5..2fe86a5168adb 100644 --- a/games/smc/smc.info +++ b/games/smc/smc.info @@ -5,6 +5,6 @@ DOWNLOAD="https://slackware.uk/~urchlay/src/smc-20140328.tar.gz" MD5SUM="a0d2e7a20d93badf2708baabcaabedba" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="FreeImage CEGUI0.7" +REQUIRES="CEGUI0.7" MAINTAINER="B. Watson" EMAIL="urchlay@slackware.uk" |