summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Arn0 <yth@ythogtha.org>2024-01-09 15:56:29 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-01-11 07:56:58 +0700
commit789e809d6d0eb3ffdfd504288af844b1da6c3671 (patch)
treed4ace8213601befe304ceee2b941f65584a0d740
parentd2770a958c25e87d304ebf7eb86d242fc6308d09 (diff)
downloadslackbuilds-789e809d6d0eb3ffdfd504288af844b1da6c3671.tar.gz
slackbuilds-789e809d6d0eb3ffdfd504288af844b1da6c3671.tar.xz
desktop/rss-guard: updated for version 4.6.3
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--desktop/rss-guard/README30
-rw-r--r--desktop/rss-guard/rss-guard.SlackBuild30
-rw-r--r--desktop/rss-guard/rss-guard.info6
-rw-r--r--desktop/rss-guard/slack-desc12
4 files changed, 61 insertions, 17 deletions
diff --git a/desktop/rss-guard/README b/desktop/rss-guard/README
index 6f6b2f6888..a726d5d2c2 100644
--- a/desktop/rss-guard/README
+++ b/desktop/rss-guard/README
@@ -1,4 +1,26 @@
-RSS Guard is useful and (very) tiny RSS 0.92/1.0/2.0 & ATOM 1.0
-feed reader for Qt-5.x. It can keep feeds organized in categories,
-update informations from them automatically and notice the user
-if there is any new message.
+RSS Guard is a simple RSS/ATOM feed reader which can work with
+RSS/ATOM/JSON/Sitemap feeds as well as many online feed services:
+* Feedly
+* Gmail
+* Google Reader API (Bazqux, FreshRSS, Inoreader, Miniflux, Reedah,
+ The Old Reader and more)
+* Nextcloud News
+* Tiny Tiny RSS
+
+RSS Guard is also podcast player as it can play everything via its
+built-in mpv-based (or ffmpeg-based) media player.
+
+This Slackbuild will detect automatically the presence of Qt6 via
+the QT6DIR environment variable. You may need to relog if you just
+installed Qt6.
+However that can be forced with BUILD_WITH_QT6=ON or OFF, allowing
+to build for Qt5 when Qt6 is installed, or to fail building with
+Qt6 if it is not present, should you want to try that.
+
+There are also other parameters:
+NO_LITE=ON : heavier version, able to display HTML through QT
+NO_UPDATE_CHECK=ON : Don't check for updates, this is the job of SBo
+ENABLE_COMPRESSED_SITEMAP=ON : allows understanding sitemap.xml.gz
+And at most one multimedia backend:
+ENABLE_MEDIAPLAYER_QTMULTIMEDIA=ON : Uses Slackware's ffmpeg
+ENABLE_MEDIAPLAYER_LIBMPV=OFF : Requires the mpv packages from Sbo.
diff --git a/desktop/rss-guard/rss-guard.SlackBuild b/desktop/rss-guard/rss-guard.SlackBuild
index ad41e01e16..e9b0ead219 100644
--- a/desktop/rss-guard/rss-guard.SlackBuild
+++ b/desktop/rss-guard/rss-guard.SlackBuild
@@ -27,10 +27,21 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rss-guard
SRCNAM=rssguard
-VERSION=${VERSION:-4.5.5}
+VERSION=${VERSION:-4.6.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+# Building by default with QT6 if available
+# Can be forced with env BUILD_WITH_QT6=ON/OFF
+# Detection of QT6 depends on environment variable QT6DIR setup in
+# /etc/profile.d/qt6.sh, hence detection will work only if it has been sourced
+[ -z "$QT6DIR" ] && QT6=OFF || QT6=ON
+BUILD_WITH_QT6=${BUILD_WITH_QT6:-$QT6}
+NO_LITE=${NO_LITE:-ON}
+NO_UPDATE_CHECK=${NO_UPDATE_CHECK:-ON}
+ENABLE_COMPRESSED_SITEMAP=${ENABLE_COMPRESSED_SITEMAP:-ON}
+ENABLE_MEDIAPLAYER_QTMULTIMEDIA=${ENABLE_MEDIAPLAYER_QTMULTIMEDIA:-ON}
+ENABLE_MEDIAPLAYER_LIBMPV=${ENABLE_MEDIAPLAYER_LIBMPV:-OFF}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -40,9 +51,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -77,6 +85,14 @@ cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.?z* || tar xvf $CWD/$VERSION.tar.?z*
cd $SRCNAM-$VERSION
+echo "Build parameters:"
+echo "BUILD_WITH_QT6=$BUILD_WITH_QT6"
+echo "NO_LITE=$NO_LITE"
+echo "NO_UPDATE_CHECK=$NO_UPDATE_CHECK"
+echo "ENABLE_COMPRESSED_SITEMAP=$ENABLE_COMPRESSED_SITEMAP"
+echo "ENABLE_MEDIAPLAYER_QTMULTIMEDIA=$ENABLE_MEDIAPLAYER_QTMULTIMEDIA"
+echo "ENABLE_MEDIAPLAYER_LIBMPV=$ENABLE_MEDIAPLAYER_LIBMPV"
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -90,6 +106,12 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DBUILD_WITH_QT6=$BUILD_WITH_QT6 \
+ -DNO_LITE=$NO_LITE \
+ -DNO_UPDATE_CHECK=$NO_UPDATE_CHECK \
+ -DENABLE_COMPRESSED_SITEMAP=$ENABLE_COMPRESSED_SITEMAP \
+ -DENABLE_MEDIAPLAYER_QTMULTIMEDIA=$ENABLE_MEDIAPLAYER_QTMULTIMEDIA \
+ -DENABLE_MEDIAPLAYER_LIBMPV=$ENABLE_MEDIAPLAYER_LIBMPV \
..
make
make install/strip DESTDIR=$PKG
diff --git a/desktop/rss-guard/rss-guard.info b/desktop/rss-guard/rss-guard.info
index 66a6124c1a..1f71166a98 100644
--- a/desktop/rss-guard/rss-guard.info
+++ b/desktop/rss-guard/rss-guard.info
@@ -1,8 +1,8 @@
PRGNAM="rss-guard"
-VERSION="4.5.5"
+VERSION="4.6.3"
HOMEPAGE="https://github.com/martinrotter/rssguard"
-DOWNLOAD="https://github.com/martinrotter/rssguard/archive/4.5.5/rssguard-4.5.5.tar.gz"
-MD5SUM="efc01f3bcfef627ed7b4b13b5d5a1bb9"
+DOWNLOAD="https://github.com/martinrotter/rssguard/archive/4.6.3/rssguard-4.6.3.tar.gz"
+MD5SUM="c7840a07b4d77ad73be1106272869738"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/desktop/rss-guard/slack-desc b/desktop/rss-guard/slack-desc
index 189790aa10..4634d582ac 100644
--- a/desktop/rss-guard/slack-desc
+++ b/desktop/rss-guard/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
rss-guard: rss-guard (tiny feed reader)
rss-guard:
-rss-guard: RSS Guard is useful and (very) tiny RSS 0.92/1.0/2.0 & ATOM 1.0
-rss-guard: feed reader for Qt-5.x. It can keep feeds organized in categories,
-rss-guard: update informations from them automatically and notice the user
-rss-guard: if there is any new message.
+rss-guard: RSS Guard is a simple RSS/ATOM/JSON/Sitemap feed reader for Qt-5 or 6
+rss-guard: It can keep feeds organized in categories, update informations from
+rss-guard: them automatically and notice the user if there is any new message.
+rss-guard: RSS Guard is also podcast player as it can play everything via its
+rss-guard: built-in mpv-based (or ffmpeg-based) media player.
rss-guard:
rss-guard: homepage: https://github.com/martinrotter/rssguard
rss-guard:
-rss-guard:
-rss-guard:
+rss-guard: See README for Qt5/Qt6 informations.