diff options
author | B. Watson <urchlay@slackware.uk> | 2022-06-23 17:27:25 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-07-02 09:55:51 +0700 |
commit | 8fc8b5c09861574e2e43cb2dc24a72320cc30304 (patch) | |
tree | c3dacf5a90befb09d4c2bc31ba7bd7c0482675bd /network/transmission-remote-gtk/transmission-remote-gtk.SlackBuild | |
parent | 471b227b9a804c834089886c7073aa1a85444009 (diff) | |
download | slackbuilds-8fc8b5c09861574e2e43cb2dc24a72320cc30304.tar.xz |
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>
Diffstat (limited to 'network/transmission-remote-gtk/transmission-remote-gtk.SlackBuild')
-rw-r--r-- | network/transmission-remote-gtk/transmission-remote-gtk.SlackBuild | 43 |
1 files changed, 22 insertions, 21 deletions
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 |