summaryrefslogtreecommitdiff
path: root/graphics/fotowall/fotowall.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-05-04 13:10:27 +1200
committerRobby Workman <rworkman@slackbuilds.org>2021-05-04 19:28:53 -0500
commitccd7ea08355e5a5e820b915b3d2d8242cd8a8ac1 (patch)
treee0493fc75e64797f4c3487aeef528efe2d2fcfef /graphics/fotowall/fotowall.SlackBuild
parent749194466ec2c7b54ec8d2eaddbf45c4ad52095e (diff)
downloadslackbuilds-ccd7ea08355e5a5e820b915b3d2d8242cd8a8ac1.tar.gz
graphics/fotowall: Updated for version 1.0.
This fixes compiling on -current. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'graphics/fotowall/fotowall.SlackBuild')
-rw-r--r--graphics/fotowall/fotowall.SlackBuild20
1 files changed, 11 insertions, 9 deletions
diff --git a/graphics/fotowall/fotowall.SlackBuild b/graphics/fotowall/fotowall.SlackBuild
index 8f656353f9..8d7f16d4ce 100644
--- a/graphics/fotowall/fotowall.SlackBuild
+++ b/graphics/fotowall/fotowall.SlackBuild
@@ -6,15 +6,14 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
# New Maintainer - Nishant Limbachia <nishant _AT_ mnspace _DOT_ net> - 11/04/2011
-SRCNAM=Fotowall
PRGNAM=fotowall
-VERSION=${VERSION:-20120227_eff7aa1}
+VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -25,8 +24,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -44,10 +43,13 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.?z*
-cd $SRCNAM-$VERSION
-chown -R root:root .
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+cd $PRGNAM-$VERSION
+# thanks gentoo maintainers
+zcat $CWD/fotowall-1.0-qt-5.11.patch.gz | patch -p1
+zcat $CWD/fotowall-1.0-qt-5.15.patch.gz | patch -p1
+ 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 \