mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
network/uget: Updated for version 2.2.0.
Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
parent
b692a82ac2
commit
93c64336f6
4 changed files with 37 additions and 18 deletions
|
@ -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 also be compiled without support for notifications. To do this,
|
||||
pass LIBNOTIFY=no to the script.
|
||||
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 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.
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue