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.
57 lines
1.2 KiB
57 lines
1.2 KiB
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
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"
|
|
|
|
LICENSE="LGPL-2.1"
|
|
SLOT="0"
|
|
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/libappindicator:3 )
|
|
gstreamer? ( media-libs/gstreamer:1.0 )
|
|
openssl? ( dev-libs/openssl:= )
|
|
libnotify? ( x11-libs/libnotify )"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="
|
|
dev-util/intltool
|
|
virtual/pkgconfig
|
|
sys-devel/gettext"
|
|
|
|
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)
|
|
--disable-pwmd
|
|
)
|
|
|
|
econf "${myconf[@]}"
|
|
}
|