media-sound/amsynth: Add USE gtk, lv2
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 10 Mar 2019 21:20:33 +0000 (22:20 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 10 Mar 2019 22:45:39 +0000 (23:45 +0100)
Closes: https://bugs.gentoo.org/679972
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
media-sound/amsynth/amsynth-1.8.0.ebuild
media-sound/amsynth/metadata.xml

index 6d3bfcd5b48e26b67cceb02ccefa1e6e24c7c6c6..608183e9247380a5bb81dbcb7f8850e5b2246ca1 100644 (file)
@@ -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)
 }
index ed1aa1c9c7ee76ab95dc947b3888ed5435f700a7..6ac5d966f1b7617c20069fb508fc063e614cf381 100644 (file)
@@ -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>