aboutsummaryrefslogtreecommitdiff
path: root/network/transmission-remote-gtk
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-09-26 17:34:19 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:52:27 +0700
commit06c4338844f513b6fcdf3794c6966352a652b41a (patch)
treeb7e5f1436d9b9a8409f5a0b72902b3929aee6d62 /network/transmission-remote-gtk
parent52227e6ded21e06fe7409c5faae68fb2d33e645b (diff)
network/transmission-remote-gtk: Allow disabling libappindicator.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/transmission-remote-gtk')
-rw-r--r--network/transmission-remote-gtk/README12
-rw-r--r--network/transmission-remote-gtk/transmission-remote-gtk.SlackBuild11
2 files changed, 12 insertions, 11 deletions
diff --git a/network/transmission-remote-gtk/README b/network/transmission-remote-gtk/README
index b0e3bb7e036f9..4a983f9686754 100644
--- a/network/transmission-remote-gtk/README
+++ b/network/transmission-remote-gtk/README
@@ -1,10 +1,11 @@
transmission-remote-gtk (transmission remote control GUI)
transmission-remote-gtk is a cross-platform application for remote
-management of the Transmission BitTorrent client using its RPC interface.
+management of the Transmission BitTorrent client using its RPC
+interface.
- * Remotely add (file/url), start, stop, remove, remove & delete, verify,
- reannounce torrents.
+ * Remotely add (file/url), start, stop, remove, remove & delete,
+ verify, reannounce torrents.
* Works as a .torrent handler (eg. from a web browser).
* Set torrent properties such as speed, seed, peer limits, file
priorities, add/edit/remove trackers.
@@ -17,5 +18,6 @@ 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) support,
-set NOTIFY=no in the script's environment.
+If you want to build without libnotify (desktop notifications) and
+libappindicator (systray) 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 5d51463b2f508..bd5b6f5697ec3 100644
--- a/network/transmission-remote-gtk/transmission-remote-gtk.SlackBuild
+++ b/network/transmission-remote-gtk/transmission-remote-gtk.SlackBuild
@@ -32,6 +32,7 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20210926 bkw: BUILD=2, make NOTIFY=no also disable libappindicator.
# 20200526 bkw:
# - take over maintenance
# - update for v1.4.1
@@ -47,7 +48,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=transmission-remote-gtk
VERSION=${VERSION:-1.4.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -59,9 +60,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
@@ -97,7 +95,8 @@ 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"
+[ "${NOTIFY:-yes}" = "no" ] && \
+ NOTIFYOPT="--without-libnotify --without-libappindicator"
patch -p1 < $CWD/gcc10.patch
@@ -116,7 +115,7 @@ 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 libappindicator3 libmrss GeoIP; do
+for i in libnotify libmrss GeoIP; do
opts+="$i:"
grep -q $i ldd.tmp && opts+="yes " || opts+="no "
done