summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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>