diff options
Diffstat (limited to 'network/uget/uget.SlackBuild')
-rw-r--r-- | network/uget/uget.SlackBuild | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/network/uget/uget.SlackBuild b/network/uget/uget.SlackBuild index 8ed85fd3095fb..7a09d7e9ec084 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 <mjjzf@syntaktisk.dk> -# Updated by B. Watson <yalhcru@gmail.com> +# Originally written by Morten Juhl-Johansen Zölde-Fejér <email removed> +# Updated and now maintained by B. Watson <yalhcru@gmail.com> # 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 |