1 |
commit: c62a99885c8e4211be26e51641f99e81f3986b54 |
2 |
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> |
3 |
AuthorDate: Mon Dec 28 12:42:58 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 28 12:42:58 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c62a9988 |
7 |
|
8 |
www-client/uget: Port to EAPI 7 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/713812 |
11 |
Package-Manager: Portage-3.0.9, Repoman-3.0.1 |
12 |
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr> |
13 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
14 |
|
15 |
www-client/uget/files/uget-2.2.1-fno-common.patch | 8 +++++++ |
16 |
www-client/uget/uget-2.2.1.ebuild | 29 ++++++++--------------- |
17 |
2 files changed, 18 insertions(+), 19 deletions(-) |
18 |
|
19 |
diff --git a/www-client/uget/files/uget-2.2.1-fno-common.patch b/www-client/uget/files/uget-2.2.1-fno-common.patch |
20 |
new file mode 100644 |
21 |
index 00000000000..8910c338e80 |
22 |
--- /dev/null |
23 |
+++ b/www-client/uget/files/uget-2.2.1-fno-common.patch |
24 |
@@ -0,0 +1,8 @@ |
25 |
+--- a/ui-gtk/UgtkBanner.h |
26 |
++++ b/ui-gtk/UgtkBanner.h |
27 |
+@@ -64,7 +64,7 @@ |
28 |
+ UgetRssFeed* feed; |
29 |
+ UgetRssItem* item; |
30 |
+ } rss; |
31 |
+-} banner; |
32 |
++}; |
33 |
|
34 |
diff --git a/www-client/uget/uget-2.2.1.ebuild b/www-client/uget/uget-2.2.1.ebuild |
35 |
index 3608bf8baca..de91193f2cd 100644 |
36 |
--- a/www-client/uget/uget-2.2.1.ebuild |
37 |
+++ b/www-client/uget/uget-2.2.1.ebuild |
38 |
@@ -1,9 +1,9 @@ |
39 |
# Copyright 1999-2020 Gentoo Authors |
40 |
# Distributed under the terms of the GNU General Public License v2 |
41 |
|
42 |
-EAPI="6" |
43 |
+EAPI=7 |
44 |
|
45 |
-inherit gnome2-utils xdg-utils |
46 |
+inherit xdg |
47 |
|
48 |
DESCRIPTION="Download manager using gtk+ and libcurl" |
49 |
HOMEPAGE="http://www.ugetdm.com" |
50 |
@@ -16,9 +16,9 @@ IUSE="aria2 appindicator control-socket +gnutls gstreamer libnotify nls openssl |
51 |
REQUIRED_USE="^^ ( gnutls openssl )" |
52 |
|
53 |
RDEPEND=" |
54 |
- >=net-misc/curl-7.19.1 |
55 |
+ dev-libs/glib:2 |
56 |
dev-libs/libpcre |
57 |
- >=dev-libs/glib-2.32:2 |
58 |
+ net-misc/curl |
59 |
>=x11-libs/gtk+-3.4:3 |
60 |
gnutls? ( |
61 |
net-libs/gnutls |
62 |
@@ -28,13 +28,14 @@ RDEPEND=" |
63 |
appindicator? ( dev-libs/libappindicator:3 ) |
64 |
gstreamer? ( media-libs/gstreamer:1.0 ) |
65 |
libnotify? ( x11-libs/libnotify ) |
66 |
- openssl? ( dev-libs/openssl:0 ) |
67 |
- " |
68 |
-DEPEND="${RDEPEND} |
69 |
+ openssl? ( dev-libs/openssl:0 )" |
70 |
+DEPEND="${RDEPEND}" |
71 |
+BDEPEND=" |
72 |
dev-util/intltool |
73 |
- virtual/pkgconfig |
74 |
sys-devel/gettext |
75 |
- " |
76 |
+ virtual/pkgconfig" |
77 |
+ |
78 |
+PATCHES=( "${FILESDIR}"/${P}-fno-common.patch ) |
79 |
|
80 |
src_configure() { |
81 |
local myconf=( |
82 |
@@ -50,13 +51,3 @@ src_configure() { |
83 |
|
84 |
econf "${myconf[@]}" |
85 |
} |
86 |
- |
87 |
-pkg_postinst() { |
88 |
- xdg_desktop_database_update |
89 |
- gnome2_icon_cache_update |
90 |
-} |
91 |
- |
92 |
-pkg_postrm() { |
93 |
- xdg_desktop_database_update |
94 |
- gnome2_icon_cache_update |
95 |
-} |