summaryrefslogtreecommitdiff
path: root/desktop/rss-guard/rss-guard.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/rss-guard/rss-guard.SlackBuild')
-rw-r--r--desktop/rss-guard/rss-guard.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/desktop/rss-guard/rss-guard.SlackBuild b/desktop/rss-guard/rss-guard.SlackBuild
index e8326f21b4..06eda98453 100644
--- a/desktop/rss-guard/rss-guard.SlackBuild
+++ b/desktop/rss-guard/rss-guard.SlackBuild
@@ -1,7 +1,8 @@
#!/bin/sh
# Slackware build script for rss-guard
-# Copyright Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy, 2012
+#
+# Copyright 2012-2015 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +24,7 @@
PRGNAM=rss-guard
SRCNAM=rssguard
-VERSION=${VERSION:-1.9.9.9}
+VERSION=${VERSION:-2.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,6 +55,8 @@ else
LIBDIRSUFFIX=""
fi
+qt5="OFF" ; [ "${QT5:-no}" != "no" ] && qt5="ON"
+
set -e
rm -rf $PKG
@@ -76,6 +79,7 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DUSE_QT_5=$qt5 \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG