summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
author Johannes Schoepfer <slackbuilds@schoepfer.info>2020-02-08 08:29:17 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2020-02-08 08:29:17 +0700
commit064a260e7343cdd5761fa6f1d0f3fd97d8e744d4 (patch)
tree8ab47c716375ede7c1d2c04b9bdf9e9959b69133 /games
parent7879736d95bf6d938f4421462093df0e299e6ee9 (diff)
downloadslackbuilds-064a260e7343cdd5761fa6f1d0f3fd97d8e744d4.tar.gz
slackbuilds-064a260e7343cdd5761fa6f1d0f3fd97d8e744d4.tar.xz
games/aisleriot: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/aisleriot/aisleriot.SlackBuild7
-rw-r--r--games/aisleriot/doinst.sh10
-rw-r--r--games/aisleriot/slack-desc2
3 files changed, 7 insertions, 12 deletions
diff --git a/games/aisleriot/aisleriot.SlackBuild b/games/aisleriot/aisleriot.SlackBuild
index 42330d1bf7..115cf64de6 100644
--- a/games/aisleriot/aisleriot.SlackBuild
+++ b/games/aisleriot/aisleriot.SlackBuild
@@ -69,6 +69,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch < $CWD/guile3.diff
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -77,6 +79,9 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--with-card-theme-formats=svg \
+ --enable-sound \
+ --disable-schemas-install \
+ --with-platform=gtk-only \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
@@ -92,7 +97,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS ChangeLog TODO COPYING.GFDL COPYING.GFDL1.3 COPYING.GPL3 COPYING.LGPL3 NEWS \
+ AUTHORS ChangeLog COPYING* NEWS TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/games/aisleriot/doinst.sh b/games/aisleriot/doinst.sh
index f25bed6fb6..65c7e2eeb9 100644
--- a/games/aisleriot/doinst.sh
+++ b/games/aisleriot/doinst.sh
@@ -2,18 +2,8 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
-fi
-
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
-
-if [ -e usr/share/glib-2.0/schemas ]; then
- if [ -x /usr/bin/glib-compile-schemas ]; then
- /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
- fi
-fi
diff --git a/games/aisleriot/slack-desc b/games/aisleriot/slack-desc
index f1b75c781d..8a90f98c48 100644
--- a/games/aisleriot/slack-desc
+++ b/games/aisleriot/slack-desc
@@ -12,7 +12,7 @@ aisleriot: AisleRiot (also known as Solitaire or sol) is a collection of card
aisleriot: games which are easy to play with the aid of a mouse.
aisleriot: Over 80 card games are included.
aisleriot:
-aisleriot: Homepage: https://wiki.gnome.org/Apps/Aisleriot
+aisleriot: homepage: https://wiki.gnome.org/Apps/Aisleriot
aisleriot:
aisleriot:
aisleriot: