aboutsummaryrefslogtreecommitdiff
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
parent749194466ec2c7b54ec8d2eaddbf45c4ad52095e (diff)
graphics/fotowall: Updated for version 1.0.
This fixes compiling on -current. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
-rw-r--r--graphics/fotowall/fotowall-1.0-qt-5.11.patch.gzbin0 -> 346 bytes
-rw-r--r--graphics/fotowall/fotowall-1.0-qt-5.15.patch.gzbin0 -> 433 bytes
-rw-r--r--graphics/fotowall/fotowall.SlackBuild20
-rw-r--r--graphics/fotowall/fotowall.info6
4 files changed, 14 insertions, 12 deletions
diff --git a/graphics/fotowall/fotowall-1.0-qt-5.11.patch.gz b/graphics/fotowall/fotowall-1.0-qt-5.11.patch.gz
new file mode 100644
index 000000000000..7d89e9f569bb
--- /dev/null
+++ b/graphics/fotowall/fotowall-1.0-qt-5.11.patch.gz
Binary files differ
diff --git a/graphics/fotowall/fotowall-1.0-qt-5.15.patch.gz b/graphics/fotowall/fotowall-1.0-qt-5.15.patch.gz
new file mode 100644
index 000000000000..7ef517121f17
--- /dev/null
+++ b/graphics/fotowall/fotowall-1.0-qt-5.15.patch.gz
Binary files differ
diff --git a/graphics/fotowall/fotowall.SlackBuild b/graphics/fotowall/fotowall.SlackBuild
index 8f656353f9d3..8d7f16d4ce81 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 \
diff --git a/graphics/fotowall/fotowall.info b/graphics/fotowall/fotowall.info
index 046afabcb66b..ff4cfafe7b91 100644
--- a/graphics/fotowall/fotowall.info
+++ b/graphics/fotowall/fotowall.info
@@ -1,8 +1,8 @@
PRGNAM="fotowall"
-VERSION="20120227_eff7aa1"
+VERSION="1.0"
HOMEPAGE="https://www.enricoros.com/opensource/fotowall/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/Fotowall-20120227_eff7aa1.tar.xz"
-MD5SUM="677c5beafd95c7513df10f19644e49f4"
+DOWNLOAD="https://github.com/enricoros/fotowall/archive/v1.0/fotowall-1.0.tar.gz"
+MD5SUM="cc3f36d917edb1c86916332b605ce570"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""