mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
bump copyright of touched ebuilds to 2024 Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Signed-off-by: Michał Górny <mgorny@gentoo.org>
66 lines
1.4 KiB
Bash
66 lines
1.4 KiB
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit autotools xdg
|
|
|
|
DESCRIPTION="Download manager using gtk+ and libcurl"
|
|
HOMEPAGE="https://www.ugetdm.com"
|
|
SRC_URI="https://downloads.sourceforge.net/urlget/${P}-1.tar.gz"
|
|
|
|
LICENSE="LGPL-2.1"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~arm ~ppc x86"
|
|
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/libayatana-appindicator )
|
|
gstreamer? ( media-libs/gstreamer:1.0 )
|
|
libnotify? ( x11-libs/libnotify )
|
|
openssl? ( dev-libs/openssl:0= )
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="
|
|
dev-util/intltool
|
|
sys-devel/gettext
|
|
virtual/pkgconfig
|
|
"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${PN}-2.2.1-fno-common.patch
|
|
# https://github.com/ugetdm/uget/issues/49
|
|
"${FILESDIR}"/${PN}-2.2.1-ayatana.patch
|
|
"${FILESDIR}"/${PN}-2.2.3-broken-curl-check.patch
|
|
)
|
|
|
|
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)
|
|
)
|
|
|
|
econf "${myconf[@]}"
|
|
}
|