diff options
author | RobinDX <robin9800xt@gmail.com> | 2016-01-24 00:36:53 +0800 |
---|---|---|
committer | RobinDX <robin9800xt@gmail.com> | 2016-01-24 00:37:41 +0800 |
commit | 8f26376a6b0264e4f4333e98260fe3f3f476668d (patch) | |
tree | 8720c8f66b651fd1c231d9de34aaaa28345c3c3a /net-p2p/qbittorrent/qbittorrent-9999.ebuild | |
parent | ddd099bfae3eca6065d382acb872ead805a17d23 (diff) | |
download | gentoo-8f26376a6b0264e4f4333e98260fe3f3f476668d.tar.gz gentoo-8f26376a6b0264e4f4333e98260fe3f3f476668d.tar.xz |
net-p2p/qbittorrent: version bump & new 9999 ebuild
Diffstat (limited to 'net-p2p/qbittorrent/qbittorrent-9999.ebuild')
-rw-r--r-- | net-p2p/qbittorrent/qbittorrent-9999.ebuild | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/net-p2p/qbittorrent/qbittorrent-9999.ebuild b/net-p2p/qbittorrent/qbittorrent-9999.ebuild index b67c5a0b6b4..0804614e868 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 } |