From 93c64336f6788e8f06bf52244f6ab5e1bc3317b5 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 10 Jan 2018 15:56:14 -0500 Subject: network/uget: Updated for version 2.2.0. Signed-off-by: B. Watson --- network/uget/README | 23 ++++++++++++++++++----- network/uget/slack-desc | 4 ++-- network/uget/uget.SlackBuild | 22 ++++++++++++++-------- network/uget/uget.info | 6 +++--- 4 files changed, 37 insertions(+), 18 deletions(-) (limited to 'network') diff --git a/network/uget/README b/network/uget/README index f36f64944b..d69d37d419 100644 --- a/network/uget/README +++ b/network/uget/README @@ -1,14 +1,27 @@ +uget (download manager with GTK GUI) + uGet is a Free and Open Source download manager. It allows for queuing downloads, file type-based classification of downloads, and is lightweight. -Optionally, uget can be compiled with support for the optional dependency -aria2. This is autodetected at build time. You can forcibly disable -aria2 support by passing ARIA2=no to the script. +By default, uGet uses curl for downloads. If desired, uGet can use aria2 +instead. To do this, install aria2, then launch uGet and choose "Edit => +Settings => Plug-in => Plug-in matching order", and select "aria2". There's +no need to rebuild uGet after installing aria2: it's an optional run-time +dependency. + +uGet can be compiled without support for notifications, since some users +find them annoying. To do this, pass LIBNOTIFY=no to the script. -uGet can also be compiled without support for notifications. To do this, -pass LIBNOTIFY=no to the script. +uGet can also be compiled without support for gstreamer. This will stop +the "Sound when download is finished" option from working. To do this, +pass GSTREAMER=no to the script. If you're upgrading from uGet 1.x, run "uget-gtk-1to2" to convert your old settings in ~/.config/uGet to the format used by uGet 2.x. + +The status line at the top of the uGet window is intended to announce new +releases of uGet, but it's currently "stuck" and claims that 2.0.8 is a +"new stable release". Upstream is working on the problem; please just +ignore the status line for now. diff --git a/network/uget/slack-desc b/network/uget/slack-desc index 99c42282d6..44da9e455a 100644 --- a/network/uget/slack-desc +++ b/network/uget/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -uget: uget (download manager) +uget: uget (download manager with GTK GUI) uget: uget: uGet is a Free and Open Source download manager. uget: uget: It allows for queuing downloads, file type-based classification of uget: downloads, and is lightweight. uget: -uget: Build options: ARIA2=@A, LIBNOTIFY=@L +uget: Build options: GSTREAMER=@A, LIBNOTIFY=@L uget: uget: uget: diff --git a/network/uget/uget.SlackBuild b/network/uget/uget.SlackBuild index 8ed85fd309..7a09d7e9ec 100644 --- a/network/uget/uget.SlackBuild +++ b/network/uget/uget.SlackBuild @@ -1,11 +1,18 @@ #!/bin/sh # Slackware build script for uget -# Originally written by Morten Juhl-Johansen Zölde-Fejér -# Updated by B. Watson +# Originally written by Morten Juhl-Johansen Zölde-Fejér +# Updated and now maintained by B. Watson # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20180109 bkw: +# - update for 2.2.0 +# - get rid of ARIA2 variable, since it's become a runtime dep +# - get rid of --disable-gstreamer, since gstreamer-1.x is in +# Slackware these days. Add GSTREAMER variable to disable it. +# - update README and slack-desc + # 20170827 bkw: # - update for 2.0.10 @@ -27,7 +34,7 @@ # - don't install empty AUTHORS and ChangeLog PRGNAM=uget -VERSION=${VERSION:-2.0.10} +VERSION=${VERSION:-2.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -73,18 +80,17 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -ARIA2="${ARIA2:-yes}" LIBNOTIFY="${LIBNOTIFY:-yes}" +GSTREAMER="${GSTREAMER:-yes}" -[ "$ARIA2" = "no" ] && ARIAFLAG="--disable-plugin-aria2" [ "$LIBNOTIFY" = "no" ] && NOTIFYFLAG="--disable-notify" +[ "$GSTREAMER" = "no" ] && GSTFLAG="--disable-gstreamer" CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ - $ARIAFLAG \ $NOTIFYFLAG \ - --disable-gstreamer \ + $GSTFLAG \ --prefix=/usr \ --build=$ARCH-slackware-linux make @@ -97,7 +103,7 @@ cp -a AUTHORS COPYING README doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install -sed -e "s,@A,$ARIA2," \ +sed -e "s,@A,$GSTREAMER," \ -e "s,@L,$LIBNOTIFY," \ $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/network/uget/uget.info b/network/uget/uget.info index 5db3fb723a..407a2e561f 100644 --- a/network/uget/uget.info +++ b/network/uget/uget.info @@ -1,8 +1,8 @@ PRGNAM="uget" -VERSION="2.0.10" +VERSION="2.2.0" HOMEPAGE="http://ugetdm.com" -DOWNLOAD="http://downloads.sourceforge.net/project/urlget/uget%20%28stable%29/2.0.10/uget-2.0.10.tar.gz" -MD5SUM="d18053df44743dc3dc6f6f5838698392" +DOWNLOAD="http://downloads.sourceforge.net/project/urlget/uget%20%28stable%29/2.2.0/uget-2.2.0.tar.gz" +MD5SUM="0038d6fa33c61b778c35afea914b96e2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3