summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-03-10 22:20:33 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-03-10 23:45:39 +0100
commit69d780d4aedfb94b1fbb9d0b66953553b1d050eb (patch)
treed22ac3f940e6593c124c2d8611fde8690a4d9828 /media-sound/amsynth
parentdev-util/kdevelop: Drop 5.3.1-r1 (diff)
downloadgentoo-69d780d4aedfb94b1fbb9d0b66953553b1d050eb.tar.gz
gentoo-69d780d4aedfb94b1fbb9d0b66953553b1d050eb.tar.bz2
gentoo-69d780d4aedfb94b1fbb9d0b66953553b1d050eb.zip
media-sound/amsynth: Add USE gtk, lv2
Closes: https://bugs.gentoo.org/679972 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-sound/amsynth')
-rw-r--r--media-sound/amsynth/amsynth-1.8.0.ebuild9
-rw-r--r--media-sound/amsynth/metadata.xml1
2 files changed, 8 insertions, 2 deletions
diff --git a/media-sound/amsynth/amsynth-1.8.0.ebuild b/media-sound/amsynth/amsynth-1.8.0.ebuild
index 6d3bfcd5b48e..608183e92473 100644
--- a/media-sound/amsynth/amsynth-1.8.0.ebuild
+++ b/media-sound/amsynth/amsynth-1.8.0.ebuild
@@ -12,7 +12,9 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/release-${PV}/${P}.tar
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="alsa dssi jack lash oss sndfile"
+IUSE="alsa dssi gtk jack lash lv2 oss sndfile"
+
+REQUIRED_USE="dssi? ( gtk ) lv2? ( gtk )"
BDEPEND="
virtual/pkgconfig
@@ -25,10 +27,11 @@ RDEPEND="
dssi? (
media-libs/dssi:=
media-libs/liblo:=
- >=x11-libs/gtk+-2.20:2
)
+ gtk? ( >=x11-libs/gtk+-2.20:2 )
jack? ( virtual/jack )
lash? ( media-sound/lash )
+ lv2? ( media-libs/lv2 )
sndfile? ( >=media-libs/libsndfile-1:= )
"
DEPEND="${RDEPEND}
@@ -40,8 +43,10 @@ src_configure() {
econf \
$(use_with oss) \
$(use_with alsa) \
+ $(use_with gtk gui) \
$(use_with jack) \
$(use_with lash) \
+ $(use_with lv2) \
$(use_with sndfile) \
$(use_with dssi)
}
diff --git a/media-sound/amsynth/metadata.xml b/media-sound/amsynth/metadata.xml
index ed1aa1c9c7ee..6ac5d966f1b7 100644
--- a/media-sound/amsynth/metadata.xml
+++ b/media-sound/amsynth/metadata.xml
@@ -7,6 +7,7 @@
</maintainer>
<use>
<flag name="dssi">Enable support for DSSI Soft Synth Interface</flag>
+ <flag name="lv2">Add support for Ladspa V2</flag>
</use>
<upstream>
<remote-id type="github">amsynth/amsynth</remote-id>