diff options
author | Andreas Sturmlechner <andreas.sturmlechner@gmail.com> | 2016-10-20 17:37:25 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-10-22 00:19:24 +0200 |
commit | 8a8e943d74e36143c0d482a1a2c258003e79fb90 (patch) | |
tree | 66ad296eec8479074b9f145d7e6705b281dc0a86 /media-sound/qsynth/qsynth-0.4.2-r1.ebuild | |
parent | media-sound/qsynth: Drop old (diff) | |
download | gentoo-8a8e943d74e36143c0d482a1a2c258003e79fb90.tar.gz gentoo-8a8e943d74e36143c0d482a1a2c258003e79fb90.tar.bz2 gentoo-8a8e943d74e36143c0d482a1a2c258003e79fb90.zip |
media-sound/qsynth: Drop USE=qt5
Default upstream, make it unconditional.
Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2606
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-sound/qsynth/qsynth-0.4.2-r1.ebuild')
-rw-r--r-- | media-sound/qsynth/qsynth-0.4.2-r1.ebuild | 34 |
1 files changed, 9 insertions, 25 deletions
diff --git a/media-sound/qsynth/qsynth-0.4.2-r1.ebuild b/media-sound/qsynth/qsynth-0.4.2-r1.ebuild index 3d69625bce72..7ec6da4d7ca5 100644 --- a/media-sound/qsynth/qsynth-0.4.2-r1.ebuild +++ b/media-sound/qsynth/qsynth-0.4.2-r1.ebuild @@ -12,46 +12,30 @@ SRC_URI="mirror://sourceforge/qsynth/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -IUSE="debug jack alsa pulseaudio +qt5" +IUSE="debug jack alsa pulseaudio" KEYWORDS="~amd64 ~ppc ~x86" RDEPEND=" - qt5? ( - dev-qt/qtwidgets:5 - dev-qt/qtx11extras:5 - dev-qt/qtcore:5 - ) - !qt5? ( - dev-qt/qtcore:4 - dev-qt/qtgui:4 - ) + dev-qt/qtcore:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 media-sound/fluidsynth[jack?,alsa?,pulseaudio?] x11-libs/libX11" DEPEND="${RDEPEND} - qt5? ( dev-qt/linguist-tools:5 ) + dev-qt/linguist-tools:5 " REQUIRED_USE="|| ( alsa jack pulseaudio )" -src_prepare() { - default - use qt5 && eapply "${FILESDIR}/${PN}-0.4.0-qt5-tagging.patch" -} +PATCHES=( "${FILESDIR}/${PN}-0.4.0-qt5-tagging.patch" ) src_configure() { - use qt5 && append-cxxflags -std=c++11 + append-cxxflags -std=c++11 econf \ $(use_enable debug) \ - $(use_enable !qt5 qt4) \ - --with-qt"$(usex qt5 "5=$(qt5_get_bindir)/.." "4=$(qt4_get_bindir)/..")" + --with-qt5=$(qt5_get_bindir)/.. - # Emulate what the Makefile does, so that we can get the correct - # compiler used. - if use qt5 ; then - eqmake5 ${PN}.pro -o ${PN}.mak - else - eqmake4 ${PN}.pro -o ${PN}.mak - fi + eqmake5 ${PN}.pro -o ${PN}.mak } src_install () { |