aboutsummaryrefslogtreecommitdiff
path: root/desktop/rss-guard/rss-guard.SlackBuild
diff options
context:
space:
mode:
authorArn0 <yth@ythogtha.org>2023-01-01 20:52:13 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-07 08:13:25 +0700
commite2d91b31126cab425e2864cdd703f8945a78100d (patch)
treea34049df9898f9b3a837d6b2613c083a240ca673 /desktop/rss-guard/rss-guard.SlackBuild
parent194d22f6505c3966fe0d35e745eba8c71931ecbb (diff)
desktop/rss-guard: Updated for version 4.2.7.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/rss-guard/rss-guard.SlackBuild')
-rw-r--r--desktop/rss-guard/rss-guard.SlackBuild14
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 \