summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author0xd34df00d <0xd34df00d@gmail.com>2017-02-25 19:49:28 +0100
committerDavid Seifert <soap@gentoo.org>2017-02-26 12:58:56 +0100
commit09222bd0523d448c79f1434b042f55e440097adf (patch)
tree899893b57e6ed056d7eb0f4350388ccbedbc6b90 /app-leechcraft/lc-bittorrent/lc-bittorrent-9999.ebuild
parentprofiles/arch/hppa: Mask USE=libsecret for dev-vcs/git. (diff)
downloadgentoo-09222bd0523d448c79f1434b042f55e440097adf.tar.gz
gentoo-09222bd0523d448c79f1434b042f55e440097adf.tar.bz2
gentoo-09222bd0523d448c79f1434b042f55e440097adf.zip
app-leechcraft: use Qt5, modernize the eclass and ebuilds
Closes: https://github.com/gentoo/gentoo/pull/4079
Diffstat (limited to 'app-leechcraft/lc-bittorrent/lc-bittorrent-9999.ebuild')
-rw-r--r--app-leechcraft/lc-bittorrent/lc-bittorrent-9999.ebuild23
1 files changed, 14 insertions, 9 deletions
diff --git a/app-leechcraft/lc-bittorrent/lc-bittorrent-9999.ebuild b/app-leechcraft/lc-bittorrent/lc-bittorrent-9999.ebuild
index 4c7602d3f9c..ecf3e17672e 100644
--- a/app-leechcraft/lc-bittorrent/lc-bittorrent-9999.ebuild
+++ b/app-leechcraft/lc-bittorrent/lc-bittorrent-9999.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="4"
+EAPI=6
inherit leechcraft
@@ -12,15 +12,20 @@ SLOT="0"
KEYWORDS=""
IUSE="debug geoip"
-DEPEND="~app-leechcraft/lc-core-${PV}
- net-libs/rb_libtorrent"
+DEPEND="
+ ~app-leechcraft/lc-core-${PV}
+ net-libs/rb_libtorrent
+ dev-qt/qtxml:5
+ dev-qt/qtwidgets:5
+"
RDEPEND="${DEPEND}
- virtual/leechcraft-task-show
- geoip? ( dev-libs/geoip )"
+ virtual/leechcraft-task-show
+ geoip? ( dev-libs/geoip )
+"
src_configure(){
- local mycmakeargs="
- $(cmake-utils_use_enable geoip BITTORRENT_GEOIP)
- "
+ local mycmakeargs=(
+ -DENABLE_BITTORRENT_GEOIP=$(usex geoip)
+ )
cmake-utils_src_configure
}