summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2020-09-16 19:10:10 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2020-09-16 19:10:27 +0200
commita60cf563f907c85cac8bfad68e627141c0eb0454 (patch)
tree0b610050427c9eef299e9f7e6d57fb8d1bfb2e8a /media-sound/ardour
parentapp-admin/entr: version bump. (diff)
downloadgentoo-a60cf563f907c85cac8bfad68e627141c0eb0454.tar.gz
gentoo-a60cf563f907c85cac8bfad68e627141c0eb0454.tar.bz2
gentoo-a60cf563f907c85cac8bfad68e627141c0eb0454.zip
media-sound/ardour: added pulseaudio use flag
Closes: https://bugs.gentoo.org/742932 Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/ardour')
-rw-r--r--media-sound/ardour/ardour-6.2-r1.ebuild9
-rw-r--r--media-sound/ardour/ardour-6.3.ebuild9
-rw-r--r--media-sound/ardour/ardour-9999.ebuild9
3 files changed, 21 insertions, 6 deletions
diff --git a/media-sound/ardour/ardour-6.2-r1.ebuild b/media-sound/ardour/ardour-6.2-r1.ebuild
index 82d1575b195a..7f80d40defc3 100644
--- a/media-sound/ardour/ardour-6.2-r1.ebuild
+++ b/media-sound/ardour/ardour-6.2-r1.ebuild
@@ -21,7 +21,7 @@ fi
LICENSE="GPL-2"
SLOT="6"
-IUSE="altivec doc jack nls phonehome cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
+IUSE="altivec doc jack nls phonehome pulseaudio cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
RDEPEND="
>=dev-cpp/glibmm-2.32.0
@@ -55,6 +55,7 @@ RDEPEND="
>=x11-libs/gtk+-2.8.1:2
x11-libs/pango
jack? ( virtual/jack )
+ pulseaudio? ( media-sound/pulseaudio )
media-libs/lilv
media-libs/sratom
dev-libs/sord
@@ -120,15 +121,19 @@ src_prepare() {
}
src_configure() {
+ local backends="alsa"
+ use jack && backends+=",jack"
+ use pulseaudio && backends+=",pulseaudio"
+
tc-export CC CXX
mkdir -p "${D}"
waf-utils_src_configure \
--destdir="${D}" \
--configdir=/etc \
--optimize \
+ --with-backends=${backends} \
$(usex doc "--docs" '') \
$({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization") \
- $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
$(usex phonehome "--phone-home" "--no-phone-home") \
$(usex nls "--nls" "--no-nls")
#not possible right now --use-external-libs
diff --git a/media-sound/ardour/ardour-6.3.ebuild b/media-sound/ardour/ardour-6.3.ebuild
index 6bd303b0e465..75cb0848c611 100644
--- a/media-sound/ardour/ardour-6.3.ebuild
+++ b/media-sound/ardour/ardour-6.3.ebuild
@@ -21,7 +21,7 @@ fi
LICENSE="GPL-2"
SLOT="6"
-IUSE="altivec doc jack nls phonehome cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
+IUSE="altivec doc jack nls phonehome pulseaudio cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
RDEPEND="
>=dev-cpp/glibmm-2.32.0
@@ -55,6 +55,7 @@ RDEPEND="
>=x11-libs/gtk+-2.8.1:2
x11-libs/pango
jack? ( virtual/jack )
+ pulseaudio? ( media-sound/pulseaudio )
media-libs/lilv
media-libs/sratom
dev-libs/sord
@@ -115,15 +116,19 @@ src_prepare() {
}
src_configure() {
+ local backends="alsa"
+ use jack && backends+=",jack"
+ use pulseaudio && backends+=",pulseaudio"
+
tc-export CC CXX
mkdir -p "${D}"
waf-utils_src_configure \
--destdir="${D}" \
--configdir=/etc \
--optimize \
+ --with-backends=${backends} \
$(usex doc "--docs" '') \
$({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization") \
- $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
$(usex phonehome "--phone-home" "--no-phone-home") \
$(usex nls "--nls" "--no-nls")
#not possible right now --use-external-libs
diff --git a/media-sound/ardour/ardour-9999.ebuild b/media-sound/ardour/ardour-9999.ebuild
index 43c1789b324f..9e5b5ec26e19 100644
--- a/media-sound/ardour/ardour-9999.ebuild
+++ b/media-sound/ardour/ardour-9999.ebuild
@@ -21,7 +21,7 @@ fi
LICENSE="GPL-2"
SLOT="6"
-IUSE="altivec doc jack nls phonehome cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
+IUSE="altivec doc jack nls phonehome pulseaudio cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
RDEPEND="
>=dev-cpp/glibmm-2.32.0
@@ -55,6 +55,7 @@ RDEPEND="
>=x11-libs/gtk+-2.8.1:2
x11-libs/pango
jack? ( virtual/jack )
+ pulseaudio? ( media-sound/pulseaudio )
media-libs/lilv
media-libs/sratom
dev-libs/sord
@@ -110,15 +111,19 @@ src_prepare() {
}
src_configure() {
+ local backends="alsa"
+ use jack && backends+=",jack"
+ use pulseaudio && backends+=",pulseaudio"
+
tc-export CC CXX
mkdir -p "${D}"
waf-utils_src_configure \
--destdir="${D}" \
--configdir=/etc \
--optimize \
+ --with-backends=${backends} \
$(usex doc "--docs" '') \
$({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization") \
- $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
$(usex phonehome "--phone-home" "--no-phone-home") \
$(usex nls "--nls" "--no-nls")
#not possible right now --use-external-libs