media-sound/qsampler: version bump to 0.3.1
authorBen de Groot <yngwin@gentoo.org>
Wed, 12 Aug 2015 09:16:23 +0000 (17:16 +0800)
committerBen de Groot <yngwin@gentoo.org>
Wed, 12 Aug 2015 09:30:07 +0000 (17:30 +0800)
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

media-sound/qsampler/Manifest
media-sound/qsampler/qsampler-0.3.1.ebuild [new file with mode: 0644]

index 485d6b405a7788cb9792798e9bba0c78522e5940..f7f5edde04c408af75c353fbbc1bd92e815d4384 100644 (file)
@@ -1 +1,2 @@
-DIST qsampler-0.2.2.2345.tar.xz 184892 SHA256 4afaf245b5c7b15ecbf447a26c4930dc5e69c8e70397fa20a54a7a2bdf7b778a
+DIST qsampler-0.2.2.2345.tar.xz 184892 SHA256 4afaf245b5c7b15ecbf447a26c4930dc5e69c8e70397fa20a54a7a2bdf7b778a SHA512 314bc99bb30b8bed48cfccb80a03b453d09bd975e7e9db35bba8f5d12741e3d8eb8acbae00712a355c979c62a8c5212f2000cee5ed639952c8860079ab134c2d WHIRLPOOL 36fdc78074d7f16114a9d4ca3f6c31e3d87deb94edbcd4dff4b4a0a93fcfa97c8feaadc612d4684c55f30f2fd6c0ce2a5b3edfab62970d6fbb9c352e2ccd9d78
+DIST qsampler-0.3.1.tar.bz2 194592 SHA256 8d9b6f757a49ba2eb8aab545e59036c717cf418368ac5b51b03294420b90b77e SHA512 86adced277f7ee950bab16ff063c2a95f6ee0a111b43f4b10ada978db284a3a408217bdaaafb3d9f0f0c6c24d2b98c66d891b1e42dcf8ca470c282acb4eb759c WHIRLPOOL 80414e9afa69e1926ca0badf98b3f2ddf131fc0674e59f8e10253988c74e74b8f58796b55f8cc69c98766bbdd2b6fad8ce8f00ad1fae00bb3e67651ed617a078
diff --git a/media-sound/qsampler/qsampler-0.3.1.ebuild b/media-sound/qsampler/qsampler-0.3.1.ebuild
new file mode 100644 (file)
index 0000000..cbfd324
--- /dev/null
@@ -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
+}