From 8fc8b5c09861574e2e43cb2dc24a72320cc30304 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 23 Jun 2022 17:27:25 -0400 Subject: network/transmission-remote-gtk: Updated for version 1.5.1. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- network/transmission-remote-gtk/README | 5 +-- .../transmission-remote-gtk.SlackBuild | 43 +++++++++++----------- .../transmission-remote-gtk.info | 6 +-- 3 files changed, 27 insertions(+), 27 deletions(-) (limited to 'network') 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" -- cgit v1.2.3