From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- www-client/uget/Manifest | 14 +++ .../files/uget-1.10.4-gnutls-backport-fix.patch | 125 +++++++++++++++++++++ .../uget/files/uget-1.10.4-linguas-fix.patch | 14 +++ www-client/uget/files/uget-ar-hardcoded.patch | 26 +++++ www-client/uget/metadata.xml | 19 ++++ www-client/uget/uget-1.10.3-r1.ebuild | 88 +++++++++++++++ www-client/uget/uget-1.10.3.ebuild | 81 +++++++++++++ www-client/uget/uget-1.10.4.ebuild | 97 ++++++++++++++++ www-client/uget/uget-1.8.0.ebuild | 75 +++++++++++++ www-client/uget/uget-9999.ebuild | 93 +++++++++++++++ 10 files changed, 632 insertions(+) create mode 100644 www-client/uget/Manifest create mode 100644 www-client/uget/files/uget-1.10.4-gnutls-backport-fix.patch create mode 100644 www-client/uget/files/uget-1.10.4-linguas-fix.patch create mode 100644 www-client/uget/files/uget-ar-hardcoded.patch create mode 100644 www-client/uget/metadata.xml create mode 100644 www-client/uget/uget-1.10.3-r1.ebuild create mode 100644 www-client/uget/uget-1.10.3.ebuild create mode 100644 www-client/uget/uget-1.10.4.ebuild create mode 100644 www-client/uget/uget-1.8.0.ebuild create mode 100644 www-client/uget/uget-9999.ebuild (limited to 'www-client/uget') diff --git a/www-client/uget/Manifest b/www-client/uget/Manifest new file mode 100644 index 000000000000..b23e4f615db0 --- /dev/null +++ b/www-client/uget/Manifest @@ -0,0 +1,14 @@ +AUX uget-1.10.4-gnutls-backport-fix.patch 4590 SHA256 615cb22101aecbbb4963d81c958d2068701a4ebff2d1ef2bea279e42d6ed122c SHA512 88b94f01879d03c0d8778c1b6f3a6ed227df5c0cfd398b75e458e24e11dff0ca5de554cd01f4f54fa75cf16274f0506e419d868b1323afa493fe862c298c22c9 WHIRLPOOL 2745c399de85b524751963eab180d780b19fc11025b827d83453f104f0586fe2d8a64f440889eb89888fed2943532fce2e9a9b1a9341de41bf3bb3deca8da332 +AUX uget-1.10.4-linguas-fix.patch 1360 SHA256 df2ffa33d01125467125e60ae781b7890b70991a9b99cd6cd742df9391922470 SHA512 063636ed5185c2010ec33b0c60e3f896cf553911c795ce7ce54cb5424770bcc95eb35f7f1737df687b72350943ac5e310f5dc4a794493e937bfee0d0938bf6e5 WHIRLPOOL d699f42c76690d9e84513c84ca95993da57938a9eeebd1460b4d88f36e25c36691b514281e6542023e24702d5b9f0d4ef6a8d31e270426c0aa33e1631c5477bd +AUX uget-ar-hardcoded.patch 641 SHA256 82d4312a3ffa84d520d24cd2af29f9a8a9cea6c19477c19ace4bba356bad17dd SHA512 efecb72a81a43da83b5cc92beaefcd02a931b32b076ae6d6fd17d75830cd2fad5be951d840822d0d1eb44ec789c21b46a0b1ac83955f492360896eb166a53e5f WHIRLPOOL 8b9aecd51b5bff310a1950ccc02a0adac05bbfdbc4ef604ba253ac0dcf694f3a68d441583a16eb45193e02d28e0a1c99cce2c514cce510b55ac5088f207ade27 +DIST uget-1.10.3.tar.gz 484395 SHA256 2ff3f51a2fc7b927777c81e002032a08f819c18d050b570cd6ca0be76a459324 SHA512 c939832ad2b635e5b1d1e448bf075c13362e3f69f708e6669ad435f6467b258441d5adef34cea176082fa107865c2edd3ceb54c5b9074f0d71f94496e4995a34 WHIRLPOOL 473ec38a4d922481ae50205cf8283d2b9ce259bfcc6f8ef964c5c69f9d6f860e872676e8327d45bca5efd4d22e34d699f9e2b43ac4a2cfdc7c6a8728cc2df640 +DIST uget-1.10.4.tar.gz 576147 SHA256 a25c5cc9af4e87a2c22206f376ffce70697ef743a902ecf028b50a586180a622 SHA512 013654ea6d06e8075bb216082dd85e7a4d1ed8510af4ecaf49c816dbf127f1adb157ca275a574f87900d7980cbe70e1e918fe54f0ceb4d0115da0ba07d4f2273 WHIRLPOOL dfb993029a9019e91a540c7ab98a2b708e726e902f0a13abb0bb52ace592f92b848a5233ff903fd4cbd5cb67fe0fe7c0c36c66704af79482cf40e3dbc5661212 +DIST uget-1.8.0.tar.gz 426031 SHA256 ee9e785990747af85da7701c5add4f1e31f3f404be56dbd9f495149c76b7a937 SHA512 c68c591b3c513c4829dfee735cbe8d4ee2c47aed0c5962002de9462c6c12b731e51756785e834aadaef1cb47182b9e560dd836d2e4861f053ec1f2f447c2c68d WHIRLPOOL 203ae0cbbb46440fdc6a551edb0ffd602bea27c7f9a1b185f2db80d19e04c79e22f158b3a6966354c23130592803253d5f63f143a4eecd841dadc9ed7c515c66 +EBUILD uget-1.10.3-r1.ebuild 1956 SHA256 8d238d3e07c0de15790c2e34705195b5ebe72c2a364d94c0c60a8df77c0b122c SHA512 7c3ed3df0174b66f7781dcd9aeab88e13808cb314e0660c16eb00994ff536fd7da177fdc57789d538a8e30ab686b044faa2df7914d454db98abe2a3d049650f4 WHIRLPOOL b2abf9a9e745a12946a83c550f4d97c74122e4456de895983f4fb3a68ab253c00801eecbf1819c274e77cbc86500be5b936ae10bebd76b39b7750f8ae5652558 +EBUILD uget-1.10.3.ebuild 1780 SHA256 3fa25d98b3f6e625af550ec35464a051aecf2cf093884e2c107260b268952124 SHA512 2762bf8101c314467fd2a5fbc79e26d03ddcfe4d904822fd9d399b63e320ca2a663492605bea7c42e60f0189c1135dee4044b89cc397ea43c9e8a195885c490b WHIRLPOOL c1e6b72cb4d6b7cc665cc4e081b804077ae5f43eaf31c9987e530c8cf1d4909077bf73b65ad8e91ad74670f5559f2634389a0dfeaf9c9314ee424a95368a7d56 +EBUILD uget-1.10.4.ebuild 2338 SHA256 b1db9f30547d94417b13cacf1d499e1c45104b39ed45c1fc9f42267f2ed20527 SHA512 11c6ff43ace2c84289f02725d6b916c0263ca73e06ed0023ff4f3f22fcf3e2bfb107e0eefb10180bcb3287480f50a8376d8276b3a2bd43177d9a720bd5b760ed WHIRLPOOL a67e207a1d14f3fee6fd3ca6cb0881b1fab17efdceec1cc9d3ff65e02f0ed0951d29246fc660889660dec9fbdb7a495f275ca60dcfc43cdbe3d14b6fa663f924 +EBUILD uget-1.8.0.ebuild 1671 SHA256 959ca254cfaca2bfdc49a1af896e127533652fd484a851eee8c020711178d33a SHA512 569c3b50bcfbc7db8a74997ae23d0259da8b7cc7513ea59cad6554f9de6ae1395655a02611d93db026ffdfcb37a6f6cf22eb13503e895f681823a5742e999aa7 WHIRLPOOL f0a86c54ce99aee09a3f63b8b772bda0daa3120296f57ed2d284e84f83a7701150f16b3dcd0d5b9549ceb8a84d17ef4d689d7780cedfe059005895c6ed432b10 +EBUILD uget-9999.ebuild 2224 SHA256 46c4a301b46cc872ddb1f253881f747f5ace7cdca6500297562aec8f780ecfff SHA512 36302e9dba3d24c3fd7befcece7e7190684dfe8f66569ebd763311ca4a70455d673ccc0786d086aa6728aa1abeb4ea7492c1b0c892f1da5147c184f90a75356f WHIRLPOOL 5bea9d803912706fe8dc4cf0e03b5522a936495c98643944239b529bf70b9db6b3a720d13d6fdb30c019253c7b4d15f982631ffca48099d5db0b5829fa59309e +MISC ChangeLog 2766 SHA256 a76d37a9b5fdbb32c9d95b81ee12f923c0a28185ec07e7c1c0b7c59b1cf9a022 SHA512 4dc0165222842c386f17f019dbbec7256980c676d7fd79edbdbe625e441a81124696e01eff1db5a751f04bf91c664e699ac0323b45eb3f894edbf210567c7656 WHIRLPOOL 6d7ddaec0727d68f91c408754bb836950d82378009dafb89125768a266807c74f2754d29a1c767d6963797e468994a07294c337c3f47e7b77b8f9d7cb360db16 +MISC ChangeLog-2015 6288 SHA256 9f6a9c8dbce958265fb03dbbdf1d630bce83557b8c7e550a7cb30cca3ce3e319 SHA512 1522a8add8914363ac0dba5c40846872ec34e73c73f08e563beb9f3758ddf60b156a504647e81c975e4962a11620845b16a28cf727fedd437da89cb5f023399f WHIRLPOOL c8d0cb172abc04304bcc277c6ec85498370bd191328c19d1be1f8b4c2ade5d9966457aee5a3acd4c4afc7d0d6f0b091e3982fe21f45aa2babddb08d2a20d3b7e +MISC metadata.xml 834 SHA256 621539e2c1819fdf0ae30c8228bd5dd98a551704de0fe14b09cd7ae44d6e9485 SHA512 0b3e7dae0091bae35b9001e37426769811cca64f114fd30e4c6ed553ddcbfc54751e20e6a8d5a65101696883fc58749475b3f7f2e51dae07097989e83403b5b7 WHIRLPOOL 30d495c137e64a65242ff98da4b9c64350478acd2aa3716c749fe415dad2650a6321af87f3e3628bb9937b91c43bc0a026715bf69f41146831e4ee315cfb4406 diff --git a/www-client/uget/files/uget-1.10.4-gnutls-backport-fix.patch b/www-client/uget/files/uget-1.10.4-gnutls-backport-fix.patch new file mode 100644 index 000000000000..77e031488641 --- /dev/null +++ b/www-client/uget/files/uget-1.10.4-gnutls-backport-fix.patch @@ -0,0 +1,125 @@ +diff -u -ru uget-1.10.4-orig/configure.ac uget-1.10.4/configure.ac +--- uget-1.10.4-orig/configure.ac 2014-05-08 05:48:17.316939998 +0300 ++++ uget-1.10.4/configure.ac 2014-05-08 05:48:34.668232311 +0300 +@@ -145,23 +145,45 @@ + ) + + if test "x$plugin_curl" = "xyes"; then +- AC_DEFINE(HAVE_PLUGIN_CURL, 1, [Define to 1 to enable cURL plug-in.]) ++ AC_DEFINE(HAVE_PLUGIN_CURL, 1, [Define to 1 to enable cURL plug-in.]) + fi + + ## ---------------- + ## GnuTLS +-AC_ARG_ENABLE( ++AC_ARG_WITH( + [gnutls], +- AC_HELP_STRING([--enable-gnutls], [Enable GnuTLS support.]), +- [enable_gnutls="$enableval"], +- [enable_gnutls="no"] ++ AC_HELP_STRING([--with-gnutls[=@<:@no/auto/yes@:>@]], [Enable GnuTLS support.]), ++ [with_gnutls="$withval"], ++ [with_gnutls="auto"] + ) +-if test "x$enable_gnutls" = "xyes"; then +- PKG_CHECK_MODULES(GNUTLS, gnutls) +- AC_DEFINE(HAVE_GNUTLS, 1, [Define to 1 if gnutls support is required.]) +- # for ArchLinux +- AC_SUBST(GNUTLS_CFLAGS) +- AC_SUBST(GNUTLS_LIBS) ++if test "x$with_gnutls" != "xno"; then ++# AC_CHECK_HEADER(gcrypt.h, [USE_GNUTLS_GCRYPT=1], [USE_GNUTLS_GCRYPT=0]) ++# if test "$USE_GNUTLS_GCRYPT" = "1"; then ++# LIBGCRYPT_CFLAGS="" ++# AC_SUBST(LIBGCRYPT_CFLAGS) ++# fi ++# AC_CHECK_HEADER(gcrypt/gcrypt.h, [USE_GNUTLS_GCRYPT=1], [USE_GNUTLS_GCRYPT=0]) ++# if test "$USE_GNUTLS_GCRYPT" = "1"; then ++# LIBGCRYPT_CFLAGS="" ++# AC_SUBST(LIBGCRYPT_CFLAGS, [""]) ++# fi ++# AC_CHECK_LIB(gcrypt, gcry_control, [USE_GNUTLS_GCRYPT=1], [USE_GNUTLS_GCRYPT=0]) ++# if test "$USE_GNUTLS_GCRYPT" = "1"; then ++# LIBGCRYPT_LIBS="-lgcrypt" ++# AC_SUBST(LIBGCRYPT_LIBS, ["-lgcrypt"]) ++# fi ++ AC_PATH_PROG(LIBGCRYPT_CONFIG, libgcrypt-config) ++ if test "x$LIBGCRYPT_CONFIG" = "x" ; then ++ if test "x$with_gnutls" = "xyes"; then ++ AC_MSG_ERROR(Unable to find libgcrypt-config, please install libgcrypt) ++ fi ++ else ++ LIBGCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG --cflags` ++ LIBGCRYPT_LIBS=`$LIBGCRYPT_CONFIG --libs` ++ AC_SUBST(LIBGCRYPT_CFLAGS) ++ AC_SUBST(LIBGCRYPT_LIBS) ++ AC_DEFINE(USE_GNUTLS, 1, [Define to 1 if gnutls support is required.]) ++ fi + fi + + ## ----------------- +@@ -188,7 +210,7 @@ + PKG_CHECK_MODULES(LIBPWMD, [libpwmd-7.0 >= 7.0.0]) + AC_DEFINE(HAVE_LIBPWMD, 1, [Define to 1 if libpwmd support is required.]) + fi +-AM_CONDITIONAL([WITH_LIBPWMD], [test "x$enable_pwmd" = "xyes"]) ++AM_CONDITIONAL([WITH_LIBPWMD], [test "x$enable_pwmd" = "xyes"]) + + ## ----------------- + ## HIDE_TEMPORARY_FILE +diff -u -ru uget-1.10.4-orig/uget-gtk/Makefile.am uget-1.10.4/uget-gtk/Makefile.am +--- uget-1.10.4-orig/uget-gtk/Makefile.am 2014-05-08 05:48:17.341936098 +0300 ++++ uget-1.10.4/uget-gtk/Makefile.am 2014-05-08 05:48:34.668232311 +0300 +@@ -1,10 +1,14 @@ + bin_PROGRAMS = uget-gtk + +-UGET_GTK_LIBS = @GTK_LIBS@ @GIO_LIBS@ @GTHREAD_LIBS@ @CURL_LIBS@ @GNUTLS_LIBS@ @LIBNOTIFY_LIBS@ @APP_INDICATOR_LIBS@ @GSTREAMER_LIBS@ @LIBPWMD_LIBS@ ++UGET_GTK_LIBS = @GTK_LIBS@ @GIO_LIBS@ @GTHREAD_LIBS@ \ ++ @CURL_LIBS@ @LIBGCRYPT_LIBS@ \ ++ @LIBNOTIFY_LIBS@ @APP_INDICATOR_LIBS@ @GSTREAMER_LIBS@ @LIBPWMD_LIBS@ + + # set the include path found by configure + uget_gtk_CPPFLAGS = -DDATADIR='"$(datadir)"' -I$(top_srcdir)/uglib -I$(top_srcdir)/uget-gtk +-uget_gtk_CFLAGS = @LFS_CFLAGS@ @GTK_CFLAGS@ @GIO_CFLAGS@ @GTHREAD_CFLAGS@ @CURL_CFLAGS@ @GNUTLS_CFLAGS@ @LIBNOTIFY_CFLAGS@ @APP_INDICATOR_CFLAGS@ @GSTREAMER_CFLAGS@ @LIBPWMD_CFLAGS@ ++uget_gtk_CFLAGS = @LFS_CFLAGS@ @GTK_CFLAGS@ @GIO_CFLAGS@ @GTHREAD_CFLAGS@ \ ++ @CURL_CFLAGS@ @LIBGCRYPT_CFLAGS@ \ ++ @LIBNOTIFY_CFLAGS@ @APP_INDICATOR_CFLAGS@ @GSTREAMER_CFLAGS@ @LIBPWMD_CFLAGS@ + uget_gtk_LDFLAGS = @LFS_LDFLAGS@ + uget_gtk_LDADD = $(top_builddir)/uglib/libuglib.a $(UGET_GTK_LIBS) + +diff -u -ru uget-1.10.4-orig/uget-gtk/UgApp-gtk-main.c uget-1.10.4/uget-gtk/UgApp-gtk-main.c +--- uget-1.10.4-orig/uget-gtk/UgApp-gtk-main.c 2014-05-08 05:48:17.341936098 +0300 ++++ uget-1.10.4/uget-gtk/UgApp-gtk-main.c 2014-05-08 05:48:43.267889859 +0300 +@@ -113,17 +113,17 @@ + #include + + // GnuTLS +-#ifdef HAVE_GNUTLS ++#ifdef USE_GNUTLS + #include + #include + + GCRY_THREAD_OPTION_PTHREAD_IMPL; + +-void init_gnutls_locks (void) ++void init_locks (void) + { +- gcry_control (GCRYCTL_SET_THREAD_CBS); ++ gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread); + } +-#endif // HAVE_GNUTLS ++#endif // USE_GNUTLS + + // GStreamer + #ifdef HAVE_GSTREAMER +@@ -199,8 +199,8 @@ + bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); + textdomain (GETTEXT_PACKAGE); + +-#ifdef HAVE_GNUTLS +- init_gnutls_locks (); ++#ifdef USE_GNUTLS ++ init_locks (); + #endif + + string = ug_arg_find_version (argc, argv); diff --git a/www-client/uget/files/uget-1.10.4-linguas-fix.patch b/www-client/uget/files/uget-1.10.4-linguas-fix.patch new file mode 100644 index 000000000000..9482f1e4b84d --- /dev/null +++ b/www-client/uget/files/uget-1.10.4-linguas-fix.patch @@ -0,0 +1,14 @@ +--- po/Makefile.in.in.old 2014-05-08 05:07:04.860525201 +0300 ++++ po/Makefile.in.in 2014-05-08 05:29:13.404227684 +0300 +@@ -56,9 +56,9 @@ + + PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi) + +-USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep \^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep \^$$lang$$`"; then printf "$$lang "; fi; done; fi) ++USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(PO_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep \^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep \^$$lang$$`"; then printf "$$lang "; fi; done; fi) + +-USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done) ++USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else LLINGUAS=""; fi; for lang in $$LLINGUAS; do printf "$$lang "; done) + + POFILES=$(shell LINGUAS="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done) + diff --git a/www-client/uget/files/uget-ar-hardcoded.patch b/www-client/uget/files/uget-ar-hardcoded.patch new file mode 100644 index 000000000000..f9ce7bb2f1df --- /dev/null +++ b/www-client/uget/files/uget-ar-hardcoded.patch @@ -0,0 +1,26 @@ +--- configure.ac 2013-04-23 21:14:51.367980659 +0200 ++++ configure.ac 2013-04-23 21:19:23.096311763 +0200 +@@ -19,6 +19,9 @@ + ## Use library (static library) + AC_PROG_RANLIB + ++## Determine the archiver ++AM_PROG_AR ++ + ## Use libtool (share and static library) (add libtoolize to autogen.sh) + # AC_PROG_LIBTOOL + # LT_PREREQ([2.2.6]) + + +--- uglib/Makefile.in 2013-04-23 21:14:51.405980565 +0200 ++++ uglib/Makefile.in 2013-04-23 21:17:22.358607880 +0200 +@@ -51,7 +51,7 @@ + CONFIG_CLEAN_FILES = + CONFIG_CLEAN_VPATH_FILES = + LIBRARIES = $(noinst_LIBRARIES) +-AR = ar ++AR = @AR@ + ARFLAGS = cru + libuglib_a_AR = $(AR) $(ARFLAGS) + libuglib_a_LIBADD = + diff --git a/www-client/uget/metadata.xml b/www-client/uget/metadata.xml new file mode 100644 index 000000000000..07f024846f8c --- /dev/null +++ b/www-client/uget/metadata.xml @@ -0,0 +1,19 @@ + + + + + Uget is a download manager. It allows you to classify URLs before downloading + them, and allows you to import URLs from HTML files. Every category has an + independent configuration that can be inherited by each download in that + category. + + + Enable support for net-misc/aria2 through xmlrpc. + You'll find the plugin in the app's settings. + Make temporary files that are used while downloading hidden. + Use x11-libs/gtk+:3 instead of x11-libs/gtk+:2 + + + urlget + + diff --git a/www-client/uget/uget-1.10.3-r1.ebuild b/www-client/uget/uget-1.10.3-r1.ebuild new file mode 100644 index 000000000000..c489e167a6da --- /dev/null +++ b/www-client/uget/uget-1.10.3-r1.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit base autotools + +IUSE="aria2 +curl gstreamer hide-temp-files libnotify nls" +if [[ ${PV} == *9999* ]]; then + inherit git-2 + KEYWORDS="" + SRC_URI="" + EGIT_REPO_URI="git://git.code.sf.net/p/urlget/uget" +else + KEYWORDS="~amd64 ~arm ~ppc ~x86" + SRC_URI="mirror://sourceforge/urlget/${P}.tar.gz" +fi + +DESCRIPTION="Download manager using gtk+ and libcurl" +HOMEPAGE="http://www.ugetdm.com" + +LICENSE="LGPL-2.1" +SLOT="0" + +REQUIRED_USE="|| ( aria2 curl )" + +RDEPEND=" + dev-libs/libpcre + >=dev-libs/glib-2.32:2 + >=x11-libs/gtk+-3.4:3 + curl? ( >=net-misc/curl-7.10 ) + gstreamer? ( media-libs/gstreamer:0.10 ) + libnotify? ( x11-libs/libnotify ) + " +DEPEND="${RDEPEND} + dev-util/intltool + virtual/pkgconfig + sys-devel/gettext" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-ar-hardcoded.patch + eautoreconf + + if [[ ${PV} == *9999* ]]; then + intltoolize || die "intltoolize failed" + eautoreconf + fi + + # fix the .desktop file for QA + sed -i 's/Network;FileTransfer/Network;FileTransfer;/g' uget-gtk.desktop +} + +src_configure() { + econf $(use_enable nls) \ + $(use_enable curl plugin-curl) \ + $(use_enable aria2 plugin-aria2) \ + $(use_enable gstreamer) \ + $(use_enable hide-temp-files hidden) \ + $(use_enable libnotify notify) +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install + + # the build system forgets this :p + dobin uget-cmd/uget-cmd + + if [[ ${PV} == *9999* ]]; then + dodoc AUTHORS ChangeLog README + else + dodoc AUTHORS ChangeLog NEWS README + fi +} + +pkg_postinst() { + if use aria2; then + echo + elog "You've enabled the aria2 USE flag, so the aria2 plug-in has been" + elog "built. This allows you to control a local or remote instance of aria2" + elog "through xmlrpc. To use aria2 locally you have to emerge" + elog "net-misc/aria2 with the xmlrpc USE enabled manually." + echo + fi +} diff --git a/www-client/uget/uget-1.10.3.ebuild b/www-client/uget/uget-1.10.3.ebuild new file mode 100644 index 000000000000..65b3716630b8 --- /dev/null +++ b/www-client/uget/uget-1.10.3.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +IUSE="aria2 +curl gstreamer hide-temp-files libnotify nls" +if [[ ${PV} == *9999* ]]; then + inherit autotools git-2 + KEYWORDS="" + SRC_URI="" + EGIT_REPO_URI="git://git.code.sf.net/p/urlget/uget" +else + KEYWORDS="amd64 ppc x86" + SRC_URI="mirror://sourceforge/urlget/${P}.tar.gz" +fi + +DESCRIPTION="Download manager using gtk+ and libcurl" +HOMEPAGE="http://www.ugetdm.com" + +LICENSE="LGPL-2.1" +SLOT="0" + +REQUIRED_USE="|| ( aria2 curl )" + +RDEPEND=" + dev-libs/libpcre + >=dev-libs/glib-2.32:2 + >=x11-libs/gtk+-3.4:3 + curl? ( >=net-misc/curl-7.10 ) + gstreamer? ( media-libs/gstreamer:0.10 ) + libnotify? ( x11-libs/libnotify ) + " +DEPEND="${RDEPEND} + dev-util/intltool + virtual/pkgconfig + sys-devel/gettext" + +src_prepare() { + if [[ ${PV} == *9999* ]]; then + eautoreconf + intltoolize || die "intltoolize failed" + eautoreconf + fi +} + +src_configure() { + econf $(use_enable nls) \ + $(use_enable curl plugin-curl) \ + $(use_enable aria2 plugin-aria2) \ + $(use_enable gstreamer) \ + $(use_enable hide-temp-files hidden) \ + $(use_enable libnotify notify) +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install + + # the build system forgets this :p + dobin uget-cmd/uget-cmd + + if [[ ${PV} == *9999* ]]; then + dodoc AUTHORS ChangeLog README + else + dodoc AUTHORS ChangeLog NEWS README + fi +} + +pkg_postinst() { + if use aria2; then + echo + elog "You've enabled the aria2 USE flag, so the aria2 plug-in has been" + elog "built. This allows you to control a local or remote instance of aria2" + elog "through xmlrpc. To use aria2 locally you have to emerge" + elog "net-misc/aria2 with the xmlrpc USE enabled manually." + echo + fi +} diff --git a/www-client/uget/uget-1.10.4.ebuild b/www-client/uget/uget-1.10.4.ebuild new file mode 100644 index 000000000000..a97936bffd3c --- /dev/null +++ b/www-client/uget/uget-1.10.4.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit autotools eutils + +LANGUAGES="linguas_ar linguas_be linguas_bn_BD linguas_cs linguas_da linguas_de + linguas_es linguas_fr linguas_hu linguas_id linguas_it linguas_ka_GE linguas_pl + linguas_pt_BR linguas_ru linguas_tr linguas_uk linguas_vi linguas_zh_CN + linguas_zh_TW" + +IUSE="aria2 +curl gnutls gstreamer hide-temp-files libnotify nls ${LANGUAGES}" + +if [[ ${PV} == *9999* ]]; then + inherit git-2 + KEYWORDS="" + SRC_URI="" + EGIT_REPO_URI="git://git.code.sf.net/p/urlget/uget" +else + KEYWORDS="~amd64 ~arm ~ppc ~x86" + SRC_URI="mirror://sourceforge/urlget/${P}.tar.gz" +fi + +DESCRIPTION="Download manager using gtk+ and libcurl" +HOMEPAGE="http://www.ugetdm.com" + +LICENSE="LGPL-2.1" +SLOT="0" + +REQUIRED_USE="|| ( aria2 curl )" + +RDEPEND=" + dev-libs/libpcre + >=dev-libs/glib-2.32:2 + >=x11-libs/gtk+-3.4:3 + curl? ( >=net-misc/curl-7.10 ) + gnutls? ( net-libs/gnutls dev-libs/libgcrypt ) + gstreamer? ( media-libs/gstreamer:0.10 ) + libnotify? ( x11-libs/libnotify ) + " +DEPEND="${RDEPEND} + dev-util/intltool + virtual/pkgconfig + sys-devel/gettext" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-ar-hardcoded.patch + epatch "${FILESDIR}"/${P}-gnutls-backport-fix.patch + eautoreconf + + if [[ ${PV} == *9999* ]]; then + intltoolize || die "intltoolize failed" + eautoreconf + fi + + # fix LINGUAS not getting applied + epatch "${FILESDIR}"/${PN}-1.10.4-linguas-fix.patch +} + +src_configure() { + econf $(use_enable nls) \ + $(use_enable curl plugin-curl) \ + $(use_enable aria2 plugin-aria2) \ + $(use_with gnutls) \ + $(use_enable gstreamer) \ + $(use_enable hide-temp-files hidden) \ + $(use_enable libnotify notify) +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install + + # the build system forgets this :p + dobin uget-cmd/uget-cmd + + if [[ ${PV} == *9999* ]]; then + dodoc AUTHORS ChangeLog README + else + dodoc AUTHORS ChangeLog NEWS README + fi +} + +pkg_postinst() { + if use aria2; then + echo + elog "You've enabled the aria2 USE flag, so the aria2 plug-in has been" + elog "built. This allows you to control a local or remote instance of aria2" + elog "through xmlrpc. To use aria2 locally you have to emerge" + elog "net-misc/aria2 with the xmlrpc USE enabled manually." + echo + fi +} diff --git a/www-client/uget/uget-1.8.0.ebuild b/www-client/uget/uget-1.8.0.ebuild new file mode 100644 index 000000000000..4e62684da6f5 --- /dev/null +++ b/www-client/uget/uget-1.8.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit base + +DESCRIPTION="Download manager using gtk+ and libcurl" +HOMEPAGE="http://www.ugetdm.com" +SRC_URI="mirror://sourceforge/urlget/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="aria2 +curl gstreamer gtk3 hide-temp-files libnotify nls" + +REQUIRED_USE="|| ( aria2 curl )" + +RDEPEND=" + dev-libs/libpcre + >=dev-libs/glib-2:2 + !gtk3? ( + >=x11-libs/gtk+-2.18:2 + ) + gtk3? ( + x11-libs/gtk+:3 + ) + curl? ( >=net-misc/curl-7.10 ) + gstreamer? ( media-libs/gstreamer:0.10 ) + libnotify? ( x11-libs/libnotify ) + " +DEPEND="${RDEPEND} + dev-util/intltool + virtual/pkgconfig + sys-devel/gettext" + +src_prepare() { + # add missing file, fix tests, bug #376203 + echo "uglib/UgPlugin-aria2.c" >> po/POTFILES.in || + die "echo in po/POTFILES.in failed" +} + +src_configure() { + econf $(use_enable nls) \ + $(use_with gtk3) \ + $(use_enable curl plugin-curl) \ + $(use_enable aria2 plugin-aria2) \ + $(use_enable gstreamer) \ + $(use_enable hide-temp-files hidden) \ + $(use_enable libnotify notify) +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install + + # the build system forgets this :p + dobin uget-cmd/uget-cmd + + dodoc AUTHORS ChangeLog NEWS README +} + +pkg_postinst() { + if use aria2; then + echo + elog "You've enabled the aria2 USE flag, so the aria2 plug-in has been" + elog "built. This allows you to control a local or remote instance of aria2" + elog "through xmlrpc. To use aria2 locally you have to emerge" + elog "net-misc/aria2 with the xmlrpc USE enabled manually." + echo + fi +} diff --git a/www-client/uget/uget-9999.ebuild b/www-client/uget/uget-9999.ebuild new file mode 100644 index 000000000000..7598c7b77c4c --- /dev/null +++ b/www-client/uget/uget-9999.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit autotools eutils + +LANGUAGES="linguas_ar linguas_be linguas_bn_BD linguas_cs linguas_da linguas_de + linguas_es linguas_fr linguas_hu linguas_id linguas_it linguas_ka_GE linguas_pl + linguas_pt_BR linguas_ru linguas_tr linguas_uk linguas_vi linguas_zh_CN + linguas_zh_TW" + +IUSE="aria2 +curl gnutls gstreamer hide-temp-files libnotify nls ${LANGUAGES}" + +if [[ ${PV} == *9999* ]]; then + inherit git-2 + KEYWORDS="" + SRC_URI="" + EGIT_REPO_URI="git://git.code.sf.net/p/urlget/uget" +else + KEYWORDS="~amd64 ~arm ~ppc ~x86" + SRC_URI="mirror://sourceforge/urlget/${P}.tar.gz" +fi + +DESCRIPTION="Download manager using gtk+ and libcurl" +HOMEPAGE="http://www.ugetdm.com" + +LICENSE="LGPL-2.1" +SLOT="0" + +REQUIRED_USE="|| ( aria2 curl )" + +RDEPEND=" + dev-libs/libpcre + >=dev-libs/glib-2.32:2 + >=x11-libs/gtk+-3.4:3 + curl? ( >=net-misc/curl-7.10 ) + gnutls? ( net-libs/gnutls dev-libs/libgcrypt ) + gstreamer? ( media-libs/gstreamer:0.10 ) + libnotify? ( x11-libs/libnotify ) + " +DEPEND="${RDEPEND} + dev-util/intltool + virtual/pkgconfig + sys-devel/gettext" + +src_prepare() { + if [[ ${PV} == *9999* ]]; then + intltoolize || die "intltoolize failed" + eautoreconf + fi + + # fix LINGUAS not getting applied + epatch "${FILESDIR}"/${PN}-1.10.4-linguas-fix.patch +} + +src_configure() { + econf $(use_enable nls) \ + $(use_enable curl plugin-curl) \ + $(use_enable aria2 plugin-aria2) \ + $(use_with gnutls) \ + $(use_enable gstreamer) \ + $(use_enable hide-temp-files hidden) \ + $(use_enable libnotify notify) +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install + + # the build system forgets this :p + dobin uget-cmd/uget-cmd + + if [[ ${PV} == *9999* ]]; then + dodoc AUTHORS ChangeLog README + else + dodoc AUTHORS ChangeLog NEWS README + fi +} + +pkg_postinst() { + if use aria2; then + echo + elog "You've enabled the aria2 USE flag, so the aria2 plug-in has been" + elog "built. This allows you to control a local or remote instance of aria2" + elog "through xmlrpc. To use aria2 locally you have to emerge" + elog "net-misc/aria2 with the xmlrpc USE enabled manually." + echo + fi +} -- cgit v1.2.3