summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJauhien Piatlicki <jauhien@gentoo.org>2016-01-24 21:25:22 +0100
committerJauhien Piatlicki <jauhien@gentoo.org>2016-01-24 23:25:44 +0100
commitdcd9fb34cf2edc8a25ca4a6b49d3fead14b9b8b0 (patch)
tree32d0e9eb7c0920983b870a78ea63e0f741797746 /net-p2p/qbittorrent/qbittorrent-9999.ebuild
parentapp-admin/consul-replicate: add consul to SRC_URI (diff)
parentnet-p2p/qbittorrent: version bump & new 9999 ebuild (diff)
downloadgentoo-dcd9fb34cf2edc8a25ca4a6b49d3fead14b9b8b0.tar.gz
gentoo-dcd9fb34cf2edc8a25ca4a6b49d3fead14b9b8b0.tar.bz2
gentoo-dcd9fb34cf2edc8a25ca4a6b49d3fead14b9b8b0.zip
Merge remote-tracking branch 'RobinDX/qbit'
net-p2p/qbittorrent: version bump & new 9999 ebuild Also add python3 support
Diffstat (limited to 'net-p2p/qbittorrent/qbittorrent-9999.ebuild')
-rw-r--r--net-p2p/qbittorrent/qbittorrent-9999.ebuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/net-p2p/qbittorrent/qbittorrent-9999.ebuild b/net-p2p/qbittorrent/qbittorrent-9999.ebuild
index b67c5a0b6b4c..0804614e8685 100644
--- a/net-p2p/qbittorrent/qbittorrent-9999.ebuild
+++ b/net-p2p/qbittorrent/qbittorrent-9999.ebuild
@@ -3,8 +3,8 @@
# $Id$
EAPI=5
-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
inherit eutils python-r1 qt4-r2
DESCRIPTION="BitTorrent client in C++ and Qt"
@@ -21,7 +21,7 @@ fi
LICENSE="GPL-2"
SLOT="0"
-IUSE="+dbus debug +qt4 qt5 webui +X"
+IUSE="+dbus debug qt4 qt5 webui +X"
REQUIRED_USE="
^^ ( qt4 qt5 )
dbus? ( X )
@@ -70,13 +70,16 @@ src_configure() {
--with-qtsingleapplication=system
$(use dbus || echo --disable-qt-dbus)
$(use debug && echo --enable-debug)
- $(use qt5 && echo --with-qt5)
+ $(use qt4 && echo --with-qt4)
$(use webui || echo --disable-webui)
$(use X || echo --disable-gui)
)
- echo "${myconf[@]}"
"${myconf[@]}" || die "configure failed"
- use qt4 && eqmake4
- use qt5 && eqmake5
+
+ if use qt4 ;then
+ eqmake4
+ elif use qt5 ;then
+ eqmake5
+ fi
}