summaryrefslogtreecommitdiff
path: root/www-client/uget
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-02 19:31:55 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-02 19:31:55 +0000
commit7228e7507f59b8f0982c3a68cc5ba8ea35ce1a76 (patch)
treef7e1474a0d0959d82e90a68fd3b17254284207d8 /www-client/uget
parentdd3e3c9214bc18697f6f656e8d645d3218a26d76 (diff)
gentoo auto-resync : 02:03:2023 - 19:31:55
Diffstat (limited to 'www-client/uget')
-rw-r--r--www-client/uget/Manifest5
-rw-r--r--www-client/uget/files/uget-2.2.1-ayatana.patch28
-rw-r--r--www-client/uget/uget-2.2.3.ebuild64
-rw-r--r--www-client/uget/uget-9999.ebuild16
4 files changed, 107 insertions, 6 deletions
diff --git a/www-client/uget/Manifest b/www-client/uget/Manifest
index b96e0848de3d..13541c1db651 100644
--- a/www-client/uget/Manifest
+++ b/www-client/uget/Manifest
@@ -1,5 +1,8 @@
+AUX uget-2.2.1-ayatana.patch 1014 BLAKE2B c9a0d23d0f0f3e0c9dba59278db37e86276f228abd81af2156e31542004821477c8934c154b22699d443f0e8305339b4eef80987496f6bd718e176102f476cd4 SHA512 a35673e994181d5feb96f61741b8139a28843f8c97446fd5b991ecf92e247d58037c331d095987948bb4a6bce7922e4cda0a6edfd2e251512409c10bcbb6a37e
AUX uget-2.2.1-fno-common.patch 144 BLAKE2B 107c0876bd4c4813836c7d6a4a87ac1f14eb03b2b0bc60af87346d25545eafb79899a781e195a6285d3c0856d026f0f169a71d4e3491fe709cfb3981a30eee31 SHA512 d92104b3ea8af9f66e09e2de78c7d12ea0b4655dabe1dcdd1f3bbdc0bc78eb2b4fb417430a3b16b7c13826d7fa467e634bb026289d6102d380c05e798d692309
DIST uget-2.2.1.tar.gz 1006697 BLAKE2B 2580cbcbe12d3001ada252a46358c4bc357fbe2ca4e3433e13ad95efb8e99d567a194db024eaf2ba58246a35937a5262be62aac4ee24272421f531dc72eeab20 SHA512 b76e5240e42cd0aa5bc47eb1a9cff0a0d8cdea87995455d72cf925923321f492200896ad904960e7f7462eb9655284f5b295b8a779b42223fe73a098a143576f
+DIST uget-2.2.3-1.tar.gz 1003976 BLAKE2B 1b599c9c5ba4cb5929c211c35382b9dbc6940e52bc995f150632dfc52f1429d26e15d330f53d1da9bd1ef296368cf3877673ee3fb5ab3f33d5ded4cf86b7b3d2 SHA512 a2359200486c60a79d53083f25c627d70f969880765e5c38897e7d35e94540c59e45f294dc10b0863ae812c449d232ad230cae90bb5e0ebded9bcabf2b4b7725
EBUILD uget-2.2.1-r1.ebuild 1201 BLAKE2B f91f072bc18d95790b342a23f0b9d6597b1dc3e37bd68366879ff5dcf6b775cefc9a46781ccb4c763927437be975b89902964dde50b7ddfa5777dbe5f7e5491c SHA512 6a8beb90155dd1430bbd6844d0e7c94f50a0c108118737eb016ce92931cecf7dfd3ade5ccf57309f395b4e4fa38e0b97d5ffec020199e593b8329efc286a1d85
-EBUILD uget-9999.ebuild 1198 BLAKE2B 8718623e1403413e0863ff0acf77f151f98a8415d369fd8b59bd1128024b4835731ac4dd6d085b3e5a53bdd78f5afe11656c459a95cb68fb7e0f19007efeff75 SHA512 bd565aeebc65c6586917153ca734966c8b82bdfd9ccda6f0d58940040646c8d14d0440cdb47e3ced91d720f517a39cc26a032c9f8e5b4e9910487bb71d14373c
+EBUILD uget-2.2.3.ebuild 1357 BLAKE2B a0886550ba3d22143fec2899341dc04b5ee113e8099048f3e4c35061e22bad5febc25eb8c1a42b5f55abe82ae3ddf8df90a14854eed37dab424a8622c66feca0 SHA512 b0ceed964b257977289b243cdd47ad662e1f217bd6a13ae5afaae7d4bb89f632953f54024935f6d01eb85acd1e3ef8f186770d94d3bff19eb767749fe559c190
+EBUILD uget-9999.ebuild 1305 BLAKE2B 166f805706bf8c6f4ad7cb500d560dd858e2d8e6b595e475db32c86080f84211aa44dc096440956a745a26aaa049c502c0f8d6ce02c105bafc0f29743e2da6d1 SHA512 6f471f467fa7e8367b4b904bcbbbf7b1b600b1e2a3ad244a56a037347c8fe19f5ddf0fe8bee8e55a30bf6d4c08b1cb52b6e04094482346a7a0098037c1bece29
MISC metadata.xml 919 BLAKE2B 368feee8fc4527843db82e6ba32efad61ab47792305485bc795dd2639a24ccffb311a1878fd7d823748d3b74307b7010bd729f1fee9cc993ede35de20de01b2b SHA512 dfd6d9f5d86699ffb1c0c1a1e8850d7b22935f1bf32a73ee39630f7641f42881180a1325eb2cfb580871e5aa1694a6d1a7819e651e1ab0f47ae1c463838c341f
diff --git a/www-client/uget/files/uget-2.2.1-ayatana.patch b/www-client/uget/files/uget-2.2.1-ayatana.patch
new file mode 100644
index 000000000000..2cac1e750d56
--- /dev/null
+++ b/www-client/uget/files/uget-2.2.1-ayatana.patch
@@ -0,0 +1,28 @@
+--- a/configure.ac.old 2023-03-02 14:21:42.687929964 +0100
++++ b/configure.ac 2023-03-02 14:28:47.497666291 +0100
+@@ -169,12 +169,12 @@
+ [enable_appindicator="auto"]
+ )
+ if test x$enable_appindicator = xauto ; then
+- PKG_CHECK_EXISTS([appindicator3-0.1],
++ PKG_CHECK_EXISTS([ayatana-appindicator3-0.1],
+ [enable_appindicator="yes"],
+ [enable_appindicator="no"])
+ fi
+ if test x$enable_appindicator = xyes ; then
+- PKG_CHECK_MODULES(APP_INDICATOR, appindicator3-0.1)
++ PKG_CHECK_MODULES(APP_INDICATOR, ayatana-appindicator3-0.1)
+ AC_SUBST(APP_INDICATOR_CFLAGS)
+ AC_SUBST(APP_INDICATOR_LIBS)
+ AC_DEFINE(HAVE_APP_INDICATOR, 1, [Have AppIndicator])
+--- a/ui-gtk/UgtkTrayIcon.h.old 2023-03-02 14:32:54.816318966 +0100
++++ b/ui-gtk/UgtkTrayIcon.h 2023-03-02 14:33:20.186180008 +0100
+@@ -41,7 +41,7 @@
+ #include <UgtkConfig.h>
+
+ #ifdef HAVE_APP_INDICATOR
+-#include <libappindicator/app-indicator.h>
++#include <libayatana-appindicator/app-indicator.h>
+ #endif
+
+ #ifdef __cplusplus
diff --git a/www-client/uget/uget-2.2.3.ebuild b/www-client/uget/uget-2.2.3.ebuild
new file mode 100644
index 000000000000..b64f27cf31ef
--- /dev/null
+++ b/www-client/uget/uget-2.2.3.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools xdg
+
+DESCRIPTION="Download manager using gtk+ and libcurl"
+HOMEPAGE="http://www.ugetdm.com"
+SRC_URI="mirror://sourceforge/urlget/${P}-1.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE="aria2 appindicator control-socket +gnutls gstreamer libnotify nls openssl rss"
+REQUIRED_USE="^^ ( gnutls openssl )"
+
+RDEPEND="
+ dev-libs/glib:2
+ dev-libs/libpcre
+ net-misc/curl
+ >=x11-libs/gtk+-3.4:3
+ gnutls? (
+ net-libs/gnutls
+ dev-libs/libgcrypt:0
+ )
+ aria2? ( net-misc/aria2[xmlrpc] )
+ appindicator? ( dev-libs/libayatana-appindicator )
+ gstreamer? ( media-libs/gstreamer:1.0 )
+ libnotify? ( x11-libs/libnotify )
+ openssl? ( dev-libs/openssl:0= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.2.1-fno-common.patch
+ # https://github.com/ugetdm/uget/issues/49
+ "${FILESDIR}"/${PN}-2.2.1-ayatana.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=(
+ $(use_enable appindicator)
+ $(use_enable control-socket unix_socket)
+ $(use_enable gstreamer)
+ $(use_enable libnotify notify)
+ $(use_enable nls)
+ $(use_enable rss rss_notify)
+ $(use_with gnutls)
+ $(use_with openssl)
+ )
+
+ econf "${myconf[@]}"
+}
diff --git a/www-client/uget/uget-9999.ebuild b/www-client/uget/uget-9999.ebuild
index 107388398e44..bd1d745b7b0e 100644
--- a/www-client/uget/uget-9999.ebuild
+++ b/www-client/uget/uget-9999.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit autotools git-r3 xdg
DESCRIPTION="Download manager using gtk+ and libcurl"
HOMEPAGE="http://www.ugetdm.com"
-EGIT_REPO_URI="git://git.code.sf.net/p/urlget/uget2"
+EGIT_REPO_URI="https://git.code.sf.net/p/urlget/uget2"
LICENSE="LGPL-2.1"
SLOT="0"
@@ -24,16 +24,22 @@ RDEPEND="
dev-libs/libgcrypt:0
)
aria2? ( net-misc/aria2[xmlrpc] )
- appindicator? ( dev-libs/libappindicator:3 )
+ appindicator? ( dev-libs/libayatana-appindicator )
gstreamer? ( media-libs/gstreamer:1.0 )
openssl? ( dev-libs/openssl:= )
- libnotify? ( x11-libs/libnotify )"
+ libnotify? ( x11-libs/libnotify )
+"
DEPEND="${RDEPEND}"
BDEPEND="
dev-util/intltool
virtual/pkgconfig
sys-devel/gettext"
+PATCHES=(
+ # https://github.com/ugetdm/uget/issues/49
+ "${FILESDIR}"/${PN}-2.2.1-ayatana.patch
+)
+
src_prepare() {
default
eautoreconf