aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/aisleriot/aisleriot.SlackBuild15
-rw-r--r--games/aisleriot/aisleriot.info8
2 files changed, 12 insertions, 11 deletions
diff --git a/games/aisleriot/aisleriot.SlackBuild b/games/aisleriot/aisleriot.SlackBuild
index 3c2ec3a27587..8894592d8e4f 100644
--- a/games/aisleriot/aisleriot.SlackBuild
+++ b/games/aisleriot/aisleriot.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for aisleriot
-# Copyright 2020 - 2022 Johannes Schoepfer, Germany
+# Copyright 2020-2024 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=aisleriot
-VERSION=${VERSION:-3.22.24}
+VERSION=${VERSION:-3.22.34}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -72,11 +72,12 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
-#-Dsound=false \
+PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+export PYTHONPATH=/opt/python$PYVER/site-packages
mkdir build
cd build
@@ -92,7 +93,7 @@ cd build
--sysconfdir=/etc \
-Dtheme_kde=false \
-Dtheme_pysol=true \
- -Dtheme_pysol_path=/usr/lib64/python3.9/site-packages/pysol_cards/ \
+ -Dtheme_pysol_path=/usr/lib$LIBDIRSUFFIX/python$PYVER/site-packages/pysol_cards/ \
-Dstrip=true
"${NINJA:=ninja}"
DESTDIR=$PKG $NINJA install
@@ -101,7 +102,7 @@ cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG/usr/man -type f -exec gzip -9 {} \;
+find $PKG/usr/man -type f -exec gzip -9 {} +
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/games/aisleriot/aisleriot.info b/games/aisleriot/aisleriot.info
index 63721abc2697..a58d085e3a31 100644
--- a/games/aisleriot/aisleriot.info
+++ b/games/aisleriot/aisleriot.info
@@ -1,10 +1,10 @@
PRGNAM="aisleriot"
-VERSION="3.22.24"
+VERSION="3.22.34"
HOMEPAGE="https://wiki.gnome.org/Apps/Aisleriot"
-DOWNLOAD="https://gitlab.gnome.org/GNOME/aisleriot/-/archive/3.22.24/aisleriot-3.22.24.tar.gz"
-MD5SUM="ca2cb016eddaf3f7afe8b534f299ea2f"
+DOWNLOAD="https://gitlab.gnome.org/GNOME/aisleriot/-/archive/3.22.34/aisleriot-3.22.34.tar.gz"
+MD5SUM="dcf5bdadb000304cbde565c739e1dfa0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="python3-meson-opt"
MAINTAINER="Johannes Schoepfer"
EMAIL="slackbuilds@schoepfer.info"