mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
games/smc: Update for new CEGUI0.7.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
262675d2d7
commit
09ef489c68
2 changed files with 8 additions and 11 deletions
|
@ -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,
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue