media-sound/cadence: added a2jmidid use flag
authorMiroslav Šulc <fordfrog@gentoo.org>
Wed, 13 Nov 2019 09:52:29 +0000 (10:52 +0100)
committerMiroslav Šulc <fordfrog@gentoo.org>
Wed, 13 Nov 2019 09:52:39 +0000 (10:52 +0100)
1) added a2jmidid use flag
2) organized dependencies

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
media-sound/cadence/cadence-0.9.0-r2.ebuild
media-sound/cadence/cadence-9999.ebuild
media-sound/cadence/metadata.xml

index c3fac92fcd8d253c161f478e4d1f889f86ba3e91..556bcfae995c187eeadb6ea276a0d471e68babe6 100644 (file)
@@ -13,17 +13,21 @@ KEYWORDS="~amd64"
 LICENSE="GPL-2"
 SLOT="0"
 
-IUSE="-pulseaudio opengl"
+IUSE="a2jmidid -pulseaudio opengl"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 # for jack project rendering also needs media-sound/jack_capture which is not in the tree yet
-RDEPEND="${PYTHON_DEPS}
-       media-sound/jack2[dbus]
-       dev-python/PyQt5[dbus,gui,opengl?,svg,widgets,${PYTHON_USEDEP}]
+CDEPEND="
+       ${PYTHON_DEPS}
        dev-python/dbus-python[${PYTHON_USEDEP}]
-       pulseaudio? ( media-sound/pulseaudio[jack] )"
-DEPEND=${RDEPEND}
+       dev-python/PyQt5[dbus,gui,opengl?,svg,widgets,${PYTHON_USEDEP}]
+       media-sound/jack2[dbus]
+       a2jmidid? ( media-sound/a2jmidid[dbus] )
+       pulseaudio? ( media-sound/pulseaudio[jack] )
+"
+RDEPEND="${CDEPEND}"
+DEPEND="${CDEPEND}"
 
 S="${WORKDIR}/Cadence-${PV}"
 
@@ -41,6 +45,7 @@ src_prepare() {
                data/catia \
                data/claudia \
                data/claudia-launcher || die "sed failed"
+
        default
 }
 
@@ -48,6 +53,7 @@ src_compile() {
        myemakeargs=(PREFIX="/usr"
                SKIP_STRIPPING=true
        )
+
        emake "${myemakeargs[@]}"
 }
 
index b8f9be3297858146f6531e8d11fd0c7712dc1231..aaaa9ffa518f6fabb8aa6acdb38d077355ad1fd6 100644 (file)
@@ -13,17 +13,21 @@ KEYWORDS=""
 LICENSE="GPL-2"
 SLOT="0"
 
-IUSE="-pulseaudio opengl"
+IUSE="a2jmidid -pulseaudio opengl"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 # for jack project rendering also needs media-sound/jack_capture which is not in the tree yet
-RDEPEND="${PYTHON_DEPS}
-       media-sound/jack2[dbus]
-       dev-python/PyQt5[dbus,gui,opengl?,svg,widgets,${PYTHON_USEDEP}]
+CDEPEND="
+       ${PYTHON_DEPS}
        dev-python/dbus-python[${PYTHON_USEDEP}]
-       pulseaudio? ( media-sound/pulseaudio[jack] )"
-DEPEND=${RDEPEND}
+       dev-python/PyQt5[dbus,gui,opengl?,svg,widgets,${PYTHON_USEDEP}]
+       media-sound/jack2[dbus]
+       a2jmidid? ( media-sound/a2jmidid[dbus] )
+       pulseaudio? ( media-sound/pulseaudio[jack] )
+"
+RDEPEND="${CDEPEND}"
+DEPEND="${RDEPEND}"
 
 PATCHES=( "${FILESDIR}"/${PN}-add-skip-stripping.patch )
 
@@ -39,6 +43,7 @@ src_prepare() {
                data/catia \
                data/claudia \
                data/claudia-launcher || die "sed failed"
+
        default
 }
 
@@ -46,6 +51,7 @@ src_compile() {
        myemakeargs=(PREFIX="/usr"
                SKIP_STRIPPING=true
        )
+
        emake "${myemakeargs[@]}"
 }
 
index fd782eeb253b562cb1754f85cbba6a17d98f6dd8..e72e0a80aa334b533dfd576c3fb9dfc7a96b0338 100644 (file)
@@ -9,4 +9,7 @@
        <email>proaudio@gentoo.org</email>
        <name>Gentoo ProAudio Project</name>
 </maintainer>
+<use>
+       <flag name="a2jmidid">Enables support for legacy ALSA sequencer applications in JACK MIDI system</flag>
+</use>
 </pkgmetadata>