From 28817f974c587ca5a36f059deb868832f42238fb Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 12 Nov 2020 16:50:01 -0500 Subject: games/golly: Updated for version 4.0. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- games/golly/golly.SlackBuild | 66 +++++++++++++++++++++++++------------------- games/golly/golly.desktop | 2 +- games/golly/golly.info | 8 +++--- 3 files changed, 42 insertions(+), 34 deletions(-) (limited to 'games') diff --git a/games/golly/golly.SlackBuild b/games/golly/golly.SlackBuild index b510769780..2fd8c86b98 100644 --- a/games/golly/golly.SlackBuild +++ b/games/golly/golly.SlackBuild @@ -24,6 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # Updated for golly 2.6 -- the source directory structure got changed a bit too! +# 20201112 bkw: update for v4.0. Which adds a python3 dep. # 20181211 bkw: # - Take over maintenance. # - i486 => i586. @@ -35,7 +36,7 @@ # - Minor simplifications and cleanups. PRGNAM=golly -VERSION=${VERSION:-3.2} +VERSION=${VERSION:-4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -88,45 +89,52 @@ if [ -z "$WXCONF" ]; then exit 1 fi -cd gui-wx/configure - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --with-wx-config="$WXCONF" \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --bindir=/usr/games \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux - -make -make install-strip DESTDIR=$PKG - -cd ../icons - +SHAREDIR=/usr/share/games/$PRGNAM + +# 20201112 bkw: golly is the only project I ever heard of that +# migrated from autotools back to a plain Makefile. So we can't build +# versions < 4.0 any more, sorry. +# We don't enable sound because it needs a proprietary non-free +# library called irrKlang, which we don't (yet?) have on SBo and +# I'm in no hurry to add. +cd gui-wx +cat > local-gtk.mk < $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # 20181211 bkw: WARNING: gzip test failed on <...>/weekender-distaff.rle.gz # Get rid of .gz extension for any non-gzipped data files. -find $PKG/usr/share/$PRGNAM -name \*.gz | while read FILE; do +find $PKG/$SHAREDIR -name \*.gz | while read FILE; do if file $FILE | grep -qv gzip ; then rename .gz '' "$FILE" fi diff --git a/games/golly/golly.desktop b/games/golly/golly.desktop index 7fabc82f77..b5d1f6baf6 100644 --- a/games/golly/golly.desktop +++ b/games/golly/golly.desktop @@ -3,6 +3,6 @@ Name=Golly Type=Application Comment=Cellular Automata Simulator Terminal=false -Exec=golly +Exec=/usr/games/golly Icon=golly Categories=Game; diff --git a/games/golly/golly.info b/games/golly/golly.info index 70156573d3..d4bcd21a5a 100644 --- a/games/golly/golly.info +++ b/games/golly/golly.info @@ -1,10 +1,10 @@ PRGNAM="golly" -VERSION="3.2" +VERSION="4.0" HOMEPAGE="http://golly.sourceforge.net/" -DOWNLOAD="http://sourceforge.net/projects/golly/files/golly/golly-3.2/golly-3.2-src.tar.gz" -MD5SUM="9d14cdf88fdab1f3c4de36e226506bfa" +DOWNLOAD="http://sourceforge.net/projects/golly/files/golly/golly-4.0/golly-4.0-src.tar.gz" +MD5SUM="1f8713687745b542473b4218ed1cf05a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="wxGTK3" +REQUIRES="wxGTK3 python3" MAINTAINER="B. Watson" EMAIL="yalhcru@gmail.com" -- cgit v1.2.3