1 |
commit: 292a6f3831e3c9b309caa64ae9f6b4eb43c37099 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 2 13:53:04 2023 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 2 13:53:04 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=292a6f38 |
7 |
|
8 |
www-client/uget: add 2.2.3 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/696764 |
11 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
12 |
|
13 |
www-client/uget/Manifest | 1 + |
14 |
www-client/uget/files/uget-2.2.1-ayatana.patch | 28 +++++++++++ |
15 |
www-client/uget/uget-2.2.3.ebuild | 64 ++++++++++++++++++++++++++ |
16 |
3 files changed, 93 insertions(+) |
17 |
|
18 |
diff --git a/www-client/uget/Manifest b/www-client/uget/Manifest |
19 |
index c990ac19d540..a33c3aa1c163 100644 |
20 |
--- a/www-client/uget/Manifest |
21 |
+++ b/www-client/uget/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST uget-2.2.1.tar.gz 1006697 BLAKE2B 2580cbcbe12d3001ada252a46358c4bc357fbe2ca4e3433e13ad95efb8e99d567a194db024eaf2ba58246a35937a5262be62aac4ee24272421f531dc72eeab20 SHA512 b76e5240e42cd0aa5bc47eb1a9cff0a0d8cdea87995455d72cf925923321f492200896ad904960e7f7462eb9655284f5b295b8a779b42223fe73a098a143576f |
24 |
+DIST uget-2.2.3-1.tar.gz 1003976 BLAKE2B 1b599c9c5ba4cb5929c211c35382b9dbc6940e52bc995f150632dfc52f1429d26e15d330f53d1da9bd1ef296368cf3877673ee3fb5ab3f33d5ded4cf86b7b3d2 SHA512 a2359200486c60a79d53083f25c627d70f969880765e5c38897e7d35e94540c59e45f294dc10b0863ae812c449d232ad230cae90bb5e0ebded9bcabf2b4b7725 |
25 |
|
26 |
diff --git a/www-client/uget/files/uget-2.2.1-ayatana.patch b/www-client/uget/files/uget-2.2.1-ayatana.patch |
27 |
new file mode 100644 |
28 |
index 000000000000..2cac1e750d56 |
29 |
--- /dev/null |
30 |
+++ b/www-client/uget/files/uget-2.2.1-ayatana.patch |
31 |
@@ -0,0 +1,28 @@ |
32 |
+--- a/configure.ac.old 2023-03-02 14:21:42.687929964 +0100 |
33 |
++++ b/configure.ac 2023-03-02 14:28:47.497666291 +0100 |
34 |
+@@ -169,12 +169,12 @@ |
35 |
+ [enable_appindicator="auto"] |
36 |
+ ) |
37 |
+ if test x$enable_appindicator = xauto ; then |
38 |
+- PKG_CHECK_EXISTS([appindicator3-0.1], |
39 |
++ PKG_CHECK_EXISTS([ayatana-appindicator3-0.1], |
40 |
+ [enable_appindicator="yes"], |
41 |
+ [enable_appindicator="no"]) |
42 |
+ fi |
43 |
+ if test x$enable_appindicator = xyes ; then |
44 |
+- PKG_CHECK_MODULES(APP_INDICATOR, appindicator3-0.1) |
45 |
++ PKG_CHECK_MODULES(APP_INDICATOR, ayatana-appindicator3-0.1) |
46 |
+ AC_SUBST(APP_INDICATOR_CFLAGS) |
47 |
+ AC_SUBST(APP_INDICATOR_LIBS) |
48 |
+ AC_DEFINE(HAVE_APP_INDICATOR, 1, [Have AppIndicator]) |
49 |
+--- a/ui-gtk/UgtkTrayIcon.h.old 2023-03-02 14:32:54.816318966 +0100 |
50 |
++++ b/ui-gtk/UgtkTrayIcon.h 2023-03-02 14:33:20.186180008 +0100 |
51 |
+@@ -41,7 +41,7 @@ |
52 |
+ #include <UgtkConfig.h> |
53 |
+ |
54 |
+ #ifdef HAVE_APP_INDICATOR |
55 |
+-#include <libappindicator/app-indicator.h> |
56 |
++#include <libayatana-appindicator/app-indicator.h> |
57 |
+ #endif |
58 |
+ |
59 |
+ #ifdef __cplusplus |
60 |
|
61 |
diff --git a/www-client/uget/uget-2.2.3.ebuild b/www-client/uget/uget-2.2.3.ebuild |
62 |
new file mode 100644 |
63 |
index 000000000000..b64f27cf31ef |
64 |
--- /dev/null |
65 |
+++ b/www-client/uget/uget-2.2.3.ebuild |
66 |
@@ -0,0 +1,64 @@ |
67 |
+# Copyright 1999-2023 Gentoo Authors |
68 |
+# Distributed under the terms of the GNU General Public License v2 |
69 |
+ |
70 |
+EAPI=8 |
71 |
+ |
72 |
+inherit autotools xdg |
73 |
+ |
74 |
+DESCRIPTION="Download manager using gtk+ and libcurl" |
75 |
+HOMEPAGE="http://www.ugetdm.com" |
76 |
+SRC_URI="mirror://sourceforge/urlget/${P}-1.tar.gz" |
77 |
+ |
78 |
+LICENSE="LGPL-2.1" |
79 |
+SLOT="0" |
80 |
+KEYWORDS="~amd64 ~arm ~ppc ~x86" |
81 |
+IUSE="aria2 appindicator control-socket +gnutls gstreamer libnotify nls openssl rss" |
82 |
+REQUIRED_USE="^^ ( gnutls openssl )" |
83 |
+ |
84 |
+RDEPEND=" |
85 |
+ dev-libs/glib:2 |
86 |
+ dev-libs/libpcre |
87 |
+ net-misc/curl |
88 |
+ >=x11-libs/gtk+-3.4:3 |
89 |
+ gnutls? ( |
90 |
+ net-libs/gnutls |
91 |
+ dev-libs/libgcrypt:0 |
92 |
+ ) |
93 |
+ aria2? ( net-misc/aria2[xmlrpc] ) |
94 |
+ appindicator? ( dev-libs/libayatana-appindicator ) |
95 |
+ gstreamer? ( media-libs/gstreamer:1.0 ) |
96 |
+ libnotify? ( x11-libs/libnotify ) |
97 |
+ openssl? ( dev-libs/openssl:0= ) |
98 |
+" |
99 |
+DEPEND="${RDEPEND}" |
100 |
+BDEPEND=" |
101 |
+ dev-util/intltool |
102 |
+ sys-devel/gettext |
103 |
+ virtual/pkgconfig |
104 |
+" |
105 |
+ |
106 |
+PATCHES=( |
107 |
+ "${FILESDIR}"/${PN}-2.2.1-fno-common.patch |
108 |
+ # https://github.com/ugetdm/uget/issues/49 |
109 |
+ "${FILESDIR}"/${PN}-2.2.1-ayatana.patch |
110 |
+) |
111 |
+ |
112 |
+src_prepare() { |
113 |
+ default |
114 |
+ eautoreconf |
115 |
+} |
116 |
+ |
117 |
+src_configure() { |
118 |
+ local myconf=( |
119 |
+ $(use_enable appindicator) |
120 |
+ $(use_enable control-socket unix_socket) |
121 |
+ $(use_enable gstreamer) |
122 |
+ $(use_enable libnotify notify) |
123 |
+ $(use_enable nls) |
124 |
+ $(use_enable rss rss_notify) |
125 |
+ $(use_with gnutls) |
126 |
+ $(use_with openssl) |
127 |
+ ) |
128 |
+ |
129 |
+ econf "${myconf[@]}" |
130 |
+} |