aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2022-06-23 17:27:25 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-07-02 09:55:51 +0700
commit8fc8b5c09861574e2e43cb2dc24a72320cc30304 (patch)
treec3dacf5a90befb09d4c2bc31ba7bd7c0482675bd
parent471b227b9a804c834089886c7073aa1a85444009 (diff)
network/transmission-remote-gtk: Updated for version 1.5.1.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/transmission-remote-gtk/README5
-rw-r--r--network/transmission-remote-gtk/transmission-remote-gtk.SlackBuild43
-rw-r--r--network/transmission-remote-gtk/transmission-remote-gtk.info6
3 files changed, 27 insertions, 27 deletions
diff --git a/network/transmission-remote-gtk/README b/network/transmission-remote-gtk/README
index 4a983f968675..ea3c2821633f 100644
--- a/network/transmission-remote-gtk/README
+++ b/network/transmission-remote-gtk/README
@@ -18,6 +18,5 @@ Optional dependencies, detected at compile time:
GeoIP - used to display country flags next to IP addresses.
libmrss - used for built-in RSS reader.
-If you want to build without libnotify (desktop notifications) and
-libappindicator (systray) support, set NOTIFY=no in the script's
-environment.
+If you want to build without libappindicator (systray and
+notification) support, set NOTIFY=no in the script's environment.
diff --git a/network/transmission-remote-gtk/transmission-remote-gtk.SlackBuild b/network/transmission-remote-gtk/transmission-remote-gtk.SlackBuild
index b643c7f1d652..714e67f2c0f9 100644
--- a/network/transmission-remote-gtk/transmission-remote-gtk.SlackBuild
+++ b/network/transmission-remote-gtk/transmission-remote-gtk.SlackBuild
@@ -47,8 +47,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=transmission-remote-gtk
-VERSION=${VERSION:-1.4.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.5.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -95,34 +95,35 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-[ "${NOTIFY:-yes}" = "no" ] && \
- NOTIFYOPT="--without-libnotify --without-libappindicator"
+[ "${NOTIFY:-yes}" = "no" ] && NOTIFYOPT="-Dlibappindicator=disabled"
+
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ $NOTIFYOPT \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
-patch -p1 < $CWD/gcc10.patch
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- $NOTIFYOPT \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man \
- --build=$ARCH-slackware-linux
-
-make V=1
-make install-strip DESTDIR=$PKG
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
# 20200526 bkw: lots of optional deps, let the slack-desc keep track of them
ldd $PKG/usr/bin/$PRGNAM > ldd.tmp
-for i in libnotify libmrss GeoIP; do
+for i in libappindicator libmrss GeoIP; do
opts+="$i:"
grep -q $i ldd.tmp && opts+="yes " || opts+="no "
done
-# 20200526 bkw: this doesn't belong in a package
-rm -f $PKG/usr/share/applications/mimeinfo.cache
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/network/transmission-remote-gtk/transmission-remote-gtk.info b/network/transmission-remote-gtk/transmission-remote-gtk.info
index 9df62a4f59ed..5d9f882c6dfe 100644
--- a/network/transmission-remote-gtk/transmission-remote-gtk.info
+++ b/network/transmission-remote-gtk/transmission-remote-gtk.info
@@ -1,8 +1,8 @@
PRGNAM="transmission-remote-gtk"
-VERSION="1.4.1"
+VERSION="1.5.1"
HOMEPAGE="https://github.com/transmission-remote-gtk/transmission-remote-gtk/"
-DOWNLOAD="https://github.com/transmission-remote-gtk/transmission-remote-gtk/releases/download/1.4.1/transmission-remote-gtk-1.4.1.tar.xz"
-MD5SUM="5955f2d80e51c14fa6bf137c9c2bac74"
+DOWNLOAD="https://github.com/transmission-remote-gtk/transmission-remote-gtk/releases/download/1.5.1/transmission-remote-gtk-1.5.1.tar.xz"
+MD5SUM="6ba9fe9273bbc0b2bd889ff981e7c449"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="transmission"