mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
desktop/rss-guard: updated for version 4.6.3
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
d2770a958c
commit
789e809d6d
4 changed files with 61 additions and 17 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue