summaryrefslogtreecommitdiff
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
parent6a9382863c217a200beac404c62525b3a3b1599a (diff)
downloadslackbuilds-cad35e42303ff7e812cf59889e37023fa7237294.tar.gz
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>
-rw-r--r--desktop/rss-guard/README3
-rw-r--r--desktop/rss-guard/rss-guard.SlackBuild8
-rw-r--r--desktop/rss-guard/rss-guard.info8
3 files changed, 13 insertions, 6 deletions
diff --git a/desktop/rss-guard/README b/desktop/rss-guard/README
index 1aec1fdd38..07e5b0e719 100644
--- a/desktop/rss-guard/README
+++ b/desktop/rss-guard/README
@@ -4,3 +4,6 @@ RSS Guard is useful and (very) tiny RSS 0.92/1.0/2.0 & ATOM 1.0
feed reader. It can keep feeds organized in categories, update
information from them automatically and notice user
if there is new message.
+
+By default it uses qt-4.x but it supports using qt5 too: if you
+want to build against it, pass the script the option QT5=yes
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
diff --git a/desktop/rss-guard/rss-guard.info b/desktop/rss-guard/rss-guard.info
index 2bef2b4172..77e477ae9d 100644
--- a/desktop/rss-guard/rss-guard.info
+++ b/desktop/rss-guard/rss-guard.info
@@ -1,10 +1,10 @@
PRGNAM="rss-guard"
-VERSION="1.9.9.9"
+VERSION="2.4.0"
HOMEPAGE="https://bitbucket.org/skunkos/rssguard"
-DOWNLOAD="https://bitbucket.org/skunkos/rssguard/downloads/rssguard-1.9.9.9.tar.gz"
-MD5SUM="c9d788b7ac261448ba8dc0b1430ae6c9"
+DOWNLOAD="https://bitbucket.org/skunkos/rssguard/downloads/rssguard-2.4.0.tar.gz"
+MD5SUM="071b9c6661719763d7159e3ce9377241"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="qt5"
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"