2021-01-13 12:35:40 +03:00
|
|
|
# Copyright 1999-2021 Gentoo Authors
|
2018-08-23 00:27:16 +03:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2020-12-29 09:51:04 +03:00
|
|
|
EAPI=7
|
2018-08-23 00:27:16 +03:00
|
|
|
|
2020-12-29 09:51:04 +03:00
|
|
|
inherit xdg
|
2018-08-23 00:27:16 +03:00
|
|
|
|
|
|
|
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"
|
2021-01-15 10:35:10 +03:00
|
|
|
KEYWORDS="amd64 ~arm ~ppc x86"
|
2020-05-01 21:48:40 +03:00
|
|
|
IUSE="aria2 appindicator control-socket +gnutls gstreamer libnotify nls openssl rss"
|
2018-08-23 00:27:16 +03:00
|
|
|
REQUIRED_USE="^^ ( gnutls openssl )"
|
|
|
|
|
|
|
|
RDEPEND="
|
2020-12-29 09:51:04 +03:00
|
|
|
dev-libs/glib:2
|
2018-08-23 00:27:16 +03:00
|
|
|
dev-libs/libpcre
|
2020-12-29 09:51:04 +03:00
|
|
|
net-misc/curl
|
2018-08-23 00:27:16 +03:00
|
|
|
>=x11-libs/gtk+-3.4:3
|
|
|
|
gnutls? (
|
|
|
|
net-libs/gnutls
|
|
|
|
dev-libs/libgcrypt:0
|
|
|
|
)
|
|
|
|
aria2? ( net-misc/aria2[xmlrpc] )
|
2020-05-01 21:48:40 +03:00
|
|
|
appindicator? ( dev-libs/libappindicator:3 )
|
2018-08-23 00:27:16 +03:00
|
|
|
gstreamer? ( media-libs/gstreamer:1.0 )
|
|
|
|
libnotify? ( x11-libs/libnotify )
|
2021-06-23 12:36:45 +03:00
|
|
|
openssl? ( dev-libs/openssl:0= )"
|
2020-12-29 09:51:04 +03:00
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
BDEPEND="
|
2018-08-23 00:27:16 +03:00
|
|
|
dev-util/intltool
|
|
|
|
sys-devel/gettext
|
2020-12-29 09:51:04 +03:00
|
|
|
virtual/pkgconfig"
|
|
|
|
|
|
|
|
PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
|
2018-08-23 00:27:16 +03:00
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
local myconf=(
|
2020-05-01 21:48:40 +03:00
|
|
|
$(use_enable appindicator)
|
2018-08-23 00:27:16 +03:00
|
|
|
$(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[@]}"
|
|
|
|
}
|