aboutsummaryrefslogtreecommitdiff
path: root/desktop/rss-guard/rss-guard.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2015-08-09 21:21:04 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commitcad35e42303ff7e812cf59889e37023fa7237294 (patch)
tree5c647a3bce810a5348b8a926818987fbed00ce3a /desktop/rss-guard/rss-guard.SlackBuild
parent6a9382863c217a200beac404c62525b3a3b1599a (diff)
desktop/rss-guard: Updated for version 2.4.0.
Added optional qt5 support Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> 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.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 e8326f21b42f..06eda98453aa 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