From cad35e42303ff7e812cf59889e37023fa7237294 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Sun, 9 Aug 2015 21:21:04 +0200 Subject: desktop/rss-guard: Updated for version 2.4.0. Added optional qt5 support Signed-off-by: Matteo Bernardini Signed-off-by: Willy Sudiarto Raharjo --- desktop/rss-guard/rss-guard.SlackBuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'desktop/rss-guard/rss-guard.SlackBuild') 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 , Pisa, Italy, 2012 +# +# Copyright 2012-2015 Matteo Bernardini , 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 -- cgit v1.2.3