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.
39 lines
655 B
39 lines
655 B
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit xdg-utils leechcraft
|
|
|
|
DESCRIPTION="Full-featured BitTorrent client plugin for LeechCraft"
|
|
|
|
SLOT="0"
|
|
KEYWORDS=""
|
|
IUSE="debug geoip"
|
|
|
|
DEPEND="
|
|
~app-leechcraft/lc-core-${PV}
|
|
dev-qt/qtwidgets:5
|
|
dev-qt/qtxml:5
|
|
net-libs/libtorrent-rasterbar:=
|
|
geoip? ( dev-libs/libmaxminddb:= )
|
|
"
|
|
RDEPEND="${DEPEND}
|
|
virtual/leechcraft-task-show
|
|
"
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DENABLE_BITTORRENT_GEOIP=$(usex geoip)
|
|
)
|
|
cmake_src_configure
|
|
}
|
|
|
|
pkg_postinst() {
|
|
xdg_desktop_database_update
|
|
}
|
|
|
|
pkg_postrm() {
|
|
xdg_desktop_database_update
|
|
}
|