commit: 74da6ad0fd38f7c9e62db4820af0d2640b14670a
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 14 20:08:59 2019 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Nov 15 00:34:42 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74da6ad0
media-sound/audacious: Default switched to Qt5
Upstream commit 72e6f21e3a77a18ecfa57120a607a48c4e66b493
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
media-sound/audacious/audacious-9999.ebuild | 20 +++++++++++---------
media-sound/audacious/metadata.xml | 3 ++-
2 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/media-sound/audacious/audacious-9999.ebuild
b/media-sound/audacious/audacious-9999.ebuild
index 12769bfaa10..edf35f502de 100644
--- a/media-sound/audacious/audacious-9999.ebuild
+++ b/media-sound/audacious/audacious-9999.ebuild
@@ -20,7 +20,7 @@ SRC_URI+=" mirror://gentoo/gentoo_ice-xmms-0.2.tar.bz2"
LICENSE="BSD-2"
SLOT="0"
-IUSE="nls qt5"
+IUSE="gtk nls"
BDEPEND="
virtual/pkgconfig
@@ -32,8 +32,8 @@ DEPEND="
>=x11-libs/cairo-1.2.6
>=x11-libs/pango-1.8.0
virtual/freedesktop-icon-theme
- !qt5? ( x11-libs/gtk+:2 )
- qt5? (
+ gtk? ( x11-libs/gtk+:2 )
+ !gtk? (
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
@@ -63,12 +63,14 @@ src_configure() {
# Building without D-Bus is *unsupported* and a USE-flag
# will not be added due to the bug reports that will result.
# Bugs #197894, #199069, #207330, #208606
- econf \
- --disable-valgrind \
- --enable-dbus \
- $(use_enable nls) \
- $(use_enable !qt5 gtk) \
- $(use_enable qt5 qt)
+ local myeconfargs=(
+ --disable-valgrind
+ --enable-dbus
+ $(use_enable gtk gtk)
+ $(use_enable !gtk qt)
+ $(use_enable nls)
+ )
+ econf "${myeconfargs[@]}"
}
src_install() {
diff --git a/media-sound/audacious/metadata.xml
b/media-sound/audacious/metadata.xml
index 56e2b754081..c563fb86934 100644
--- a/media-sound/audacious/metadata.xml
+++ b/media-sound/audacious/metadata.xml
@@ -10,6 +10,7 @@
<name>Gentoo Sound project</name>
</maintainer>
<use>
- <flag name="qt5">Build with Qt5 interface instead Gtk+</flag>
+ <flag name="gtk">Build with GTK interface instead of Qt5</flag>
+ <flag name="qt5">Build with Qt5 interface instead of GTK</flag>
</use>
</pkgmetadata>