summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Tumaykin <itumaykin@gmail.com>2016-05-31 04:36:43 +0300
committerPatrice Clement <monsieurp@gentoo.org>2016-06-02 07:13:56 +0000
commit9df4d8fe38e899b92810fca13c078afb38595552 (patch)
tree674fddbbd0a1848742e0276b9d30dd23f2f67da9 /media-sound/flacon
parentapp-editors/hexedit: keyword for ~arm64 (diff)
downloadgentoo-9df4d8fe38e899b92810fca13c078afb38595552.tar.gz
gentoo-9df4d8fe38e899b92810fca13c078afb38595552.tar.bz2
gentoo-9df4d8fe38e899b92810fca13c078afb38595552.zip
media-sound/flacon: change qt USE flags in 9999 wrt Qt project policies
See https://wiki.gentoo.org/wiki/Project:Qt/Policies#Requires_one_of_two_Qt_versions Package-Manager: portage-2.3.0_rc1 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'media-sound/flacon')
-rw-r--r--media-sound/flacon/flacon-9999.ebuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/media-sound/flacon/flacon-9999.ebuild b/media-sound/flacon/flacon-9999.ebuild
index 2dcb6be032c9..5327c191e404 100644
--- a/media-sound/flacon/flacon-9999.ebuild
+++ b/media-sound/flacon/flacon-9999.ebuild
@@ -16,11 +16,11 @@ EGIT_REPO_URI="git://github.com/${PN}/${PN}.git"
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS=""
-IUSE="aac flac mac mp3 opus qt4 qt5 replaygain test tta vorbis wavpack"
+IUSE="aac flac mac mp3 opus qt5 replaygain test tta vorbis wavpack"
COMMON_DEPEND="
dev-libs/uchardet
- qt4? (
+ !qt5? (
dev-qt/qtcore:4
dev-qt/qtgui:4
)
@@ -49,13 +49,11 @@ DEPEND="${COMMON_DEPEND}
virtual/pkgconfig
qt5? ( dev-qt/linguist-tools:5 )
test? (
- qt4? ( dev-qt/qttest:4 )
+ !qt5? ( dev-qt/qttest:4 )
qt5? ( dev-qt/qttest:5 )
)
"
-REQUIRED_USE="^^ ( qt4 qt5 )"
-
src_prepare() {
cmake-utils_src_prepare
@@ -73,7 +71,7 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
- -DUSE_QT4="$(usex qt4)"
+ -DUSE_QT4="$(usex !qt5)"
-DUSE_QT5="$(usex qt5)"
-DTEST_DATA_DIR="${S}/tests/data/"
-DBUILD_TESTS="$(usex test 'Yes')"