summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2015-08-12 17:16:23 +0800
committerBen de Groot <yngwin@gentoo.org>2015-08-12 17:30:07 +0800
commitf9899330f3a13b7dd91f58649b2a521703eb5818 (patch)
tree9e97a5dfefe1c92c8d71b8e3098de70a7fbd87da /media-sound/qsampler/qsampler-0.3.1.ebuild
parentmedia-libs/liblscp: version bump to 0.5.7 (diff)
downloadgentoo-f9899330f3a13b7dd91f58649b2a521703eb5818.tar.gz
gentoo-f9899330f3a13b7dd91f58649b2a521703eb5818.tar.bz2
gentoo-f9899330f3a13b7dd91f58649b2a521703eb5818.zip
media-sound/qsampler: version bump to 0.3.1
Add qt4 and qt5 useflags. Enable qt5 by default, as that is what upstream does. Update dependency requirements. Package-Manager: portage-2.2.20.1
Diffstat (limited to 'media-sound/qsampler/qsampler-0.3.1.ebuild')
-rw-r--r--media-sound/qsampler/qsampler-0.3.1.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/media-sound/qsampler/qsampler-0.3.1.ebuild b/media-sound/qsampler/qsampler-0.3.1.ebuild
new file mode 100644
index 000000000000..cbfd3244170b
--- /dev/null
+++ b/media-sound/qsampler/qsampler-0.3.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils qmake-utils
+
+DESCRIPTION="A graphical frontend to the LinuxSampler engine"
+HOMEPAGE="http://www.linuxsampler.org/"
+SRC_URI="http://download.linuxsampler.org/packages/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug +libgig qt4 +qt5"
+REQUIRED_USE="^^ ( qt4 qt5 )"
+
+DEPEND="media-libs/alsa-lib
+ >=media-libs/liblscp-0.5.6:=
+ x11-libs/libX11
+ libgig? ( >=media-libs/libgig-3.3.0:= )
+ qt4? ( dev-qt/qtcore:4
+ dev-qt/qtgui:4 )
+ qt5? ( dev-qt/linguist-tools:5
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5 )"
+RDEPEND="${DEPEND}
+ >=media-sound/linuxsampler-0.5"
+
+src_configure() {
+ econf $(use_enable debug) \
+ $(use_enable libgig) \
+ $(use_enable qt4) \
+ $(use_enable qt5)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog README TODO TRANSLATORS
+ doman ${PN}.1
+}