aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/rss-guard/doinst.sh6
-rw-r--r--desktop/rss-guard/rss-guard.SlackBuild14
-rw-r--r--desktop/rss-guard/rss-guard.info10
3 files changed, 19 insertions, 11 deletions
diff --git a/desktop/rss-guard/doinst.sh b/desktop/rss-guard/doinst.sh
index 5fb28930db0b9..65c7e2eeb9aa5 100644
--- a/desktop/rss-guard/doinst.sh
+++ b/desktop/rss-guard/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/desktop/rss-guard/rss-guard.SlackBuild b/desktop/rss-guard/rss-guard.SlackBuild
index 146cc05e7e481..b04d8bd00e821 100644
--- a/desktop/rss-guard/rss-guard.SlackBuild
+++ b/desktop/rss-guard/rss-guard.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for rss-guard
#
+# Yth <yth@ythogtha.org>
# Copyright 2012-2019 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
@@ -26,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rss-guard
SRCNAM=rssguard
-VERSION=${VERSION:-3.5.9}
+VERSION=${VERSION:-4.2.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,14 +81,15 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -p1 < $CWD/01_min_qt_required_is_5.9.patch
-patch -p1 < $CWD/02_fix_random_class_name.patch
-
mkdir -p build
cd build
- qmake-qt5 PREFIX=/usr ..
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ ..
make
- make install INSTALL_ROOT=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
diff --git a/desktop/rss-guard/rss-guard.info b/desktop/rss-guard/rss-guard.info
index 490a6f6a9d38f..e3e9615593312 100644
--- a/desktop/rss-guard/rss-guard.info
+++ b/desktop/rss-guard/rss-guard.info
@@ -1,10 +1,10 @@
PRGNAM="rss-guard"
-VERSION="3.5.9"
+VERSION="4.2.7"
HOMEPAGE="https://github.com/martinrotter/rssguard"
-DOWNLOAD="https://github.com/martinrotter/rssguard/archive/3.5.9/rssguard-3.5.9.tar.gz"
-MD5SUM="fb9b713a18a2bb85e7a4f7ce40a054b0"
+DOWNLOAD="https://github.com/martinrotter/rssguard/archive/4.2.7/rssguard-4.2.7.tar.gz"
+MD5SUM="bdfecce2a40767e5663d7e9804edbfbc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Matteo Bernardini"
-EMAIL="ponce@slackbuilds.org"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"