blob: 602b282b09d6b9d2a148efed8e453ef909e8b121 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
inherit gnome2-utils xdg-utils git-r3 autotools
DESCRIPTION="Download manager using gtk+ and libcurl"
HOMEPAGE="http://www.ugetdm.com"
SRC_URI=""
EGIT_REPO_URI="git://git.code.sf.net/p/urlget/uget2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS=""
IUSE="aria2 ayatana control-socket +gnutls gstreamer libnotify nls openssl rss"
RDEPEND="
>=net-misc/curl-7.19.1
dev-libs/libpcre
>=dev-libs/glib-2.32:2
>=x11-libs/gtk+-3.4:3
gnutls? (
net-libs/gnutls
dev-libs/libgcrypt:0
)
aria2? ( net-misc/aria2[xmlrpc] )
ayatana? ( dev-libs/libappindicator:3 )
gstreamer? ( media-libs/gstreamer:1.0 )
libnotify? ( x11-libs/libnotify )
"
DEPEND="${RDEPEND}
dev-util/intltool
virtual/pkgconfig
sys-devel/gettext
"
src_prepare() {
eapply_user
eautoreconf
}
src_configure() {
local myconf=(
$(use_enable ayatana 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)
--disable-pwmd
)
econf "${myconf[@]}"
}
pkg_postinst() {
xdg_desktop_database_update
gnome2_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
gnome2_icon_cache_update
}
|