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 --- .../transmission-remote-gtk.SlackBuild | 43 +++++++++++----------- 1 file changed, 22 insertions(+), 21 deletions(-) (limited to 'network/transmission-remote-gtk/transmission-remote-gtk.SlackBuild') 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 -- cgit v1.2.3