network/uget: Fix build on -current.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
225db693b2
commit
26805cd314
|
@ -5,11 +5,11 @@ uGet is a Free and Open Source download manager.
|
||||||
It allows for queuing downloads, file type-based classification of
|
It allows for queuing downloads, file type-based classification of
|
||||||
downloads, and is lightweight.
|
downloads, and is lightweight.
|
||||||
|
|
||||||
By default, uGet uses curl for downloads. If desired, uGet can use aria2
|
By default, uGet uses curl for downloads. If desired, uGet can use
|
||||||
instead. To do this, install aria2, then launch uGet and choose "Edit =>
|
aria2 instead. To do this, install aria2, then launch uGet and choose
|
||||||
Settings => Plug-in => Plug-in matching order", and select "aria2". There's
|
"Edit => Settings => Plug-in => Plug-in matching order", and select
|
||||||
no need to rebuild uGet after installing aria2: it's an optional run-time
|
"aria2". There's no need to rebuild uGet after installing aria2: it's
|
||||||
dependency.
|
an optional run-time dependency.
|
||||||
|
|
||||||
uGet can be compiled without support for notifications, since some users
|
uGet can be compiled without support for notifications, since some users
|
||||||
find them annoying. To do this, pass LIBNOTIFY=no to the script.
|
find them annoying. To do this, pass LIBNOTIFY=no to the script.
|
||||||
|
@ -21,7 +21,7 @@ pass GSTREAMER=no to the script.
|
||||||
If you're upgrading from uGet 1.x, run "uget-gtk-1to2" to convert your
|
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.
|
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
|
The status line at the top of the uGet window is intended to announce
|
||||||
releases of uGet, but it's currently "stuck" and claims that 2.0.8 is a
|
new releases of uGet, but it's currently "stuck" and claims that 2.0.8
|
||||||
"new stable release". Upstream is working on the problem; please just
|
is a "new stable release". Upstream is working on the problem; please
|
||||||
ignore the status line for now.
|
just ignore the status line for now.
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
||||||
|
|
||||||
|
# 20210926 bkw: BUILD=2, fix build on -current/15.0
|
||||||
# 20200223 bkw: update for 2.2.3_1
|
# 20200223 bkw: update for 2.2.3_1
|
||||||
# 20191130 bkw: update for 2.2.2
|
# 20191130 bkw: update for 2.2.2
|
||||||
# 20180612 bkw: update for 2.2.1
|
# 20180612 bkw: update for 2.2.1
|
||||||
|
@ -39,7 +40,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=uget
|
PRGNAM=uget
|
||||||
VERSION=${VERSION:-2.2.3_1}
|
VERSION=${VERSION:-2.2.3_1}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
|
||||||
|
@ -58,9 +59,6 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
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
|
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -102,6 +100,8 @@ GSTREAMER="${GSTREAMER:-yes}"
|
||||||
[ "$LIBNOTIFY" = "no" ] && NOTIFYFLAG="--disable-notify"
|
[ "$LIBNOTIFY" = "no" ] && NOTIFYFLAG="--disable-notify"
|
||||||
[ "$GSTREAMER" = "no" ] && GSTFLAG="--disable-gstreamer"
|
[ "$GSTREAMER" = "no" ] && GSTFLAG="--disable-gstreamer"
|
||||||
|
|
||||||
|
SLKCFLAGS+=" -fcommon"
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
PRGNAM="uget"
|
PRGNAM="uget"
|
||||||
VERSION="2.2.3_1"
|
VERSION="2.2.3_1"
|
||||||
HOMEPAGE="https://ugetdm.com"
|
HOMEPAGE="https://ugetdm.com"
|
||||||
DOWNLOAD="http://downloads.sourceforge.net/project/urlget/uget%20%28stable%29/2.2.3/uget-2.2.3-1.tar.gz"
|
DOWNLOAD="https://downloads.sourceforge.net/project/urlget/uget%20%28stable%29/2.2.3/uget-2.2.3-1.tar.gz"
|
||||||
MD5SUM="ac623b972ec13909a05bc5d098c5254a"
|
MD5SUM="ac623b972ec13909a05bc5d098c5254a"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
|
|
Loading…
Reference in New Issue