From 064a260e7343cdd5761fa6f1d0f3fd97d8e744d4 Mon Sep 17 00:00:00 2001 From: Johannes Schoepfer Date: Sat, 8 Feb 2020 08:29:17 +0700 Subject: games/aisleriot: Fix build. Signed-off-by: Willy Sudiarto Raharjo --- games/aisleriot/aisleriot.SlackBuild | 7 ++++++- games/aisleriot/doinst.sh | 10 ---------- games/aisleriot/slack-desc | 2 +- 3 files changed, 7 insertions(+), 12 deletions(-) (limited to 'games') 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: -- cgit v1.2.3