From 26805cd31402dfc05575cd2cd11893f85b7a14be Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 26 Sep 2021 02:13:19 -0400 Subject: network/uget: Fix build on -current. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- network/uget/README | 18 +++++++++--------- network/uget/uget.SlackBuild | 8 ++++---- network/uget/uget.info | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) (limited to 'network') diff --git a/network/uget/README b/network/uget/README index d69d37d419..5d0677faef 100644 --- a/network/uget/README +++ b/network/uget/README @@ -5,11 +5,11 @@ uGet is a Free and Open Source download manager. It allows for queuing downloads, file type-based classification of downloads, and is lightweight. -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. +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. @@ -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 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. +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/uget.SlackBuild b/network/uget/uget.SlackBuild index 93686df167..b0ef1e1cc1 100644 --- a/network/uget/uget.SlackBuild +++ b/network/uget/uget.SlackBuild @@ -6,6 +6,7 @@ # 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 # 20191130 bkw: update for 2.2.2 # 20180612 bkw: update for 2.2.1 @@ -39,7 +40,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=uget VERSION=${VERSION:-2.2.3_1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -58,9 +59,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 @@ -102,6 +100,8 @@ GSTREAMER="${GSTREAMER:-yes}" [ "$LIBNOTIFY" = "no" ] && NOTIFYFLAG="--disable-notify" [ "$GSTREAMER" = "no" ] && GSTFLAG="--disable-gstreamer" +SLKCFLAGS+=" -fcommon" + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/network/uget/uget.info b/network/uget/uget.info index 0d9e4c2c4d..873ba2230f 100644 --- a/network/uget/uget.info +++ b/network/uget/uget.info @@ -1,7 +1,7 @@ PRGNAM="uget" VERSION="2.2.3_1" 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" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -- cgit v1.2.3-80-g2a13