Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/ardour/
Date: Wed, 16 Sep 2020 17:10:38
Message-Id: 1600276227.a60cf563f907c85cac8bfad68e627141c0eb0454.fordfrog@gentoo
1 commit: a60cf563f907c85cac8bfad68e627141c0eb0454
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 16 17:10:10 2020 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 16 17:10:27 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a60cf563
7
8 media-sound/ardour: added pulseaudio use flag
9
10 Closes: https://bugs.gentoo.org/742932
11 Package-Manager: Portage-3.0.7, Repoman-3.0.1
12 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
13
14 media-sound/ardour/ardour-6.2-r1.ebuild | 9 +++++++--
15 media-sound/ardour/ardour-6.3.ebuild | 9 +++++++--
16 media-sound/ardour/ardour-9999.ebuild | 9 +++++++--
17 3 files changed, 21 insertions(+), 6 deletions(-)
18
19 diff --git a/media-sound/ardour/ardour-6.2-r1.ebuild b/media-sound/ardour/ardour-6.2-r1.ebuild
20 index 82d1575b195..7f80d40defc 100644
21 --- a/media-sound/ardour/ardour-6.2-r1.ebuild
22 +++ b/media-sound/ardour/ardour-6.2-r1.ebuild
23 @@ -21,7 +21,7 @@ fi
24
25 LICENSE="GPL-2"
26 SLOT="6"
27 -IUSE="altivec doc jack nls phonehome cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
28 +IUSE="altivec doc jack nls phonehome pulseaudio cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
29
30 RDEPEND="
31 >=dev-cpp/glibmm-2.32.0
32 @@ -55,6 +55,7 @@ RDEPEND="
33 >=x11-libs/gtk+-2.8.1:2
34 x11-libs/pango
35 jack? ( virtual/jack )
36 + pulseaudio? ( media-sound/pulseaudio )
37 media-libs/lilv
38 media-libs/sratom
39 dev-libs/sord
40 @@ -120,15 +121,19 @@ src_prepare() {
41 }
42
43 src_configure() {
44 + local backends="alsa"
45 + use jack && backends+=",jack"
46 + use pulseaudio && backends+=",pulseaudio"
47 +
48 tc-export CC CXX
49 mkdir -p "${D}"
50 waf-utils_src_configure \
51 --destdir="${D}" \
52 --configdir=/etc \
53 --optimize \
54 + --with-backends=${backends} \
55 $(usex doc "--docs" '') \
56 $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization") \
57 - $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
58 $(usex phonehome "--phone-home" "--no-phone-home") \
59 $(usex nls "--nls" "--no-nls")
60 #not possible right now --use-external-libs
61
62 diff --git a/media-sound/ardour/ardour-6.3.ebuild b/media-sound/ardour/ardour-6.3.ebuild
63 index 6bd303b0e46..75cb0848c61 100644
64 --- a/media-sound/ardour/ardour-6.3.ebuild
65 +++ b/media-sound/ardour/ardour-6.3.ebuild
66 @@ -21,7 +21,7 @@ fi
67
68 LICENSE="GPL-2"
69 SLOT="6"
70 -IUSE="altivec doc jack nls phonehome cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
71 +IUSE="altivec doc jack nls phonehome pulseaudio cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
72
73 RDEPEND="
74 >=dev-cpp/glibmm-2.32.0
75 @@ -55,6 +55,7 @@ RDEPEND="
76 >=x11-libs/gtk+-2.8.1:2
77 x11-libs/pango
78 jack? ( virtual/jack )
79 + pulseaudio? ( media-sound/pulseaudio )
80 media-libs/lilv
81 media-libs/sratom
82 dev-libs/sord
83 @@ -115,15 +116,19 @@ src_prepare() {
84 }
85
86 src_configure() {
87 + local backends="alsa"
88 + use jack && backends+=",jack"
89 + use pulseaudio && backends+=",pulseaudio"
90 +
91 tc-export CC CXX
92 mkdir -p "${D}"
93 waf-utils_src_configure \
94 --destdir="${D}" \
95 --configdir=/etc \
96 --optimize \
97 + --with-backends=${backends} \
98 $(usex doc "--docs" '') \
99 $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization") \
100 - $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
101 $(usex phonehome "--phone-home" "--no-phone-home") \
102 $(usex nls "--nls" "--no-nls")
103 #not possible right now --use-external-libs
104
105 diff --git a/media-sound/ardour/ardour-9999.ebuild b/media-sound/ardour/ardour-9999.ebuild
106 index 43c1789b324..9e5b5ec26e1 100644
107 --- a/media-sound/ardour/ardour-9999.ebuild
108 +++ b/media-sound/ardour/ardour-9999.ebuild
109 @@ -21,7 +21,7 @@ fi
110
111 LICENSE="GPL-2"
112 SLOT="6"
113 -IUSE="altivec doc jack nls phonehome cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
114 +IUSE="altivec doc jack nls phonehome pulseaudio cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
115
116 RDEPEND="
117 >=dev-cpp/glibmm-2.32.0
118 @@ -55,6 +55,7 @@ RDEPEND="
119 >=x11-libs/gtk+-2.8.1:2
120 x11-libs/pango
121 jack? ( virtual/jack )
122 + pulseaudio? ( media-sound/pulseaudio )
123 media-libs/lilv
124 media-libs/sratom
125 dev-libs/sord
126 @@ -110,15 +111,19 @@ src_prepare() {
127 }
128
129 src_configure() {
130 + local backends="alsa"
131 + use jack && backends+=",jack"
132 + use pulseaudio && backends+=",pulseaudio"
133 +
134 tc-export CC CXX
135 mkdir -p "${D}"
136 waf-utils_src_configure \
137 --destdir="${D}" \
138 --configdir=/etc \
139 --optimize \
140 + --with-backends=${backends} \
141 $(usex doc "--docs" '') \
142 $({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization") \
143 - $(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
144 $(usex phonehome "--phone-home" "--no-phone-home") \
145 $(usex nls "--nls" "--no-nls")
146 #not possible right now --use-external-libs