You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.2 KiB
54 lines
1.2 KiB
4 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
6 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
4 years ago
|
EAPI=7
|
||
6 years ago
|
|
||
4 years ago
|
inherit xdg
|
||
6 years ago
|
|
||
|
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"
|
||
4 years ago
|
KEYWORDS="amd64 ~arm ~ppc x86"
|
||
4 years ago
|
IUSE="aria2 appindicator control-socket +gnutls gstreamer libnotify nls openssl rss"
|
||
6 years ago
|
REQUIRED_USE="^^ ( gnutls openssl )"
|
||
|
|
||
|
RDEPEND="
|
||
4 years ago
|
dev-libs/glib:2
|
||
6 years ago
|
dev-libs/libpcre
|
||
4 years ago
|
net-misc/curl
|
||
6 years ago
|
>=x11-libs/gtk+-3.4:3
|
||
|
gnutls? (
|
||
|
net-libs/gnutls
|
||
|
dev-libs/libgcrypt:0
|
||
|
)
|
||
|
aria2? ( net-misc/aria2[xmlrpc] )
|
||
4 years ago
|
appindicator? ( dev-libs/libappindicator:3 )
|
||
6 years ago
|
gstreamer? ( media-libs/gstreamer:1.0 )
|
||
|
libnotify? ( x11-libs/libnotify )
|
||
3 years ago
|
openssl? ( dev-libs/openssl:0= )"
|
||
4 years ago
|
DEPEND="${RDEPEND}"
|
||
|
BDEPEND="
|
||
6 years ago
|
dev-util/intltool
|
||
|
sys-devel/gettext
|
||
4 years ago
|
virtual/pkgconfig"
|
||
|
|
||
|
PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
|
||
6 years ago
|
|
||
|
src_configure() {
|
||
|
local myconf=(
|
||
4 years ago
|
$(use_enable appindicator)
|
||
6 years ago
|
$(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[@]}"
|
||
|
}
|