diff options
Diffstat (limited to 'desktop/rss-guard/rss-guard.SlackBuild')
-rw-r--r-- | desktop/rss-guard/rss-guard.SlackBuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/desktop/rss-guard/rss-guard.SlackBuild b/desktop/rss-guard/rss-guard.SlackBuild index 146cc05e7e481..b04d8bd00e821 100644 --- a/desktop/rss-guard/rss-guard.SlackBuild +++ b/desktop/rss-guard/rss-guard.SlackBuild @@ -2,6 +2,7 @@ # Slackware build script for rss-guard # +# Yth <yth@ythogtha.org> # Copyright 2012-2019 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # All rights reserved. # @@ -26,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=rss-guard SRCNAM=rssguard -VERSION=${VERSION:-3.5.9} +VERSION=${VERSION:-4.2.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,14 +81,15 @@ 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 -p1 < $CWD/01_min_qt_required_is_5.9.patch -patch -p1 < $CWD/02_fix_random_class_name.patch - mkdir -p build cd build - qmake-qt5 PREFIX=/usr .. + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + .. make - make install INSTALL_ROOT=$PKG + make install/strip DESTDIR=$PKG cd .. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ |