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>
This commit is contained in:
Andreas Sturmlechner
2016-10-20 17:37:25 +02:00
committed by David Seifert
parent 9c6fb723c0
commit 8a8e943d74

View File

@@ -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 () {