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>
This commit is contained in:
Matteo Bernardini 2015-08-09 21:21:04 +02:00 committed by Willy Sudiarto Raharjo
parent 6a9382863c
commit cad35e4230
3 changed files with 13 additions and 6 deletions

View file

@ -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

View file

@ -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

View file

@ -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"