Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/csound/, media-sound/hydrogen/, media-libs/portmidi/, ...
Date: Tue, 31 Dec 2019 14:34:58
Message-Id: 1577802861.8f8c6827621d0aa475f92a2c19b9f530db3db114.asturm@gentoo
1 commit: 8f8c6827621d0aa475f92a2c19b9f530db3db114
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 30 18:15:41 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 31 14:34:21 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f8c6827
7
8 */*: Switch proaudio proj packages to cmake.eclass
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 media-libs/portmidi/portmidi-217-r3.ebuild | 10 +++++-----
13 media-sound/csound/csound-6.13.0.ebuild | 9 ++++-----
14 media-sound/csound/csound-9999.ebuild | 9 ++++-----
15 media-sound/hydrogen/hydrogen-9999.ebuild | 10 +++++-----
16 media-sound/rosegarden/rosegarden-17.12.1.ebuild | 6 +++---
17 media-sound/rosegarden/rosegarden-19.06.ebuild | 8 ++++----
18 media-sound/rosegarden/rosegarden-19.12.ebuild | 8 ++++----
19 media-sound/zynaddsubfx/zynaddsubfx-3.0.5.ebuild | 18 +++++++++---------
20 8 files changed, 38 insertions(+), 40 deletions(-)
21
22 diff --git a/media-libs/portmidi/portmidi-217-r3.ebuild b/media-libs/portmidi/portmidi-217-r3.ebuild
23 index f50b4e526ed..27dd06fd49d 100644
24 --- a/media-libs/portmidi/portmidi-217-r3.ebuild
25 +++ b/media-libs/portmidi/portmidi-217-r3.ebuild
26 @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{6,7,8} )
27 DISTUTILS_OPTIONAL=1
28 # ninja: error: build.ninja:521: multiple rules generate pm_java/pmdefaults.jar [-w dupbuild=err]
29 CMAKE_MAKEFILE_GENERATOR="emake"
30 -inherit cmake-utils desktop xdg distutils-r1 java-pkg-opt-2
31 +inherit cmake desktop xdg distutils-r1 java-pkg-opt-2
32
33 DESCRIPTION="Library for real time MIDI input and output"
34 HOMEPAGE="http://portmedia.sourceforge.net/"
35 @@ -58,7 +58,7 @@ pkg_setup() {
36 }
37
38 src_prepare() {
39 - cmake-utils_src_prepare
40 + cmake_src_prepare
41
42 # install wrapper for pmdefaults
43 if use java ; then
44 @@ -88,11 +88,11 @@ src_configure() {
45 mycmakeargs+=(-DJAR_INSTALL_DIR="${EPREFIX}/usr/share/${PN}/lib")
46 fi
47
48 - cmake-utils_src_configure
49 + cmake_src_configure
50 }
51
52 src_compile() {
53 - cmake-utils_src_compile
54 + cmake_src_compile
55
56 if use python ; then
57 sed -i -e "/library_dirs=.*linux/s#./linux#${CMAKE_BUILD_DIR}#" pm_python/setup.py || die
58 @@ -110,7 +110,7 @@ src_compile() {
59 }
60
61 src_install() {
62 - cmake-utils_src_install
63 + cmake_src_install
64
65 dodoc CHANGELOG.txt README.txt pm_linux/README_LINUX.txt
66
67
68 diff --git a/media-sound/csound/csound-6.13.0.ebuild b/media-sound/csound/csound-6.13.0.ebuild
69 index bee79ef4877..e7d1d96b3f9 100644
70 --- a/media-sound/csound/csound-6.13.0.ebuild
71 +++ b/media-sound/csound/csound-6.13.0.ebuild
72 @@ -8,7 +8,7 @@
73 EAPI=7
74
75 PYTHON_COMPAT=( python3_{6,7,8} )
76 -inherit cmake-utils python-single-r1 toolchain-funcs
77 +inherit cmake python-single-r1 toolchain-funcs
78
79 if [[ ${PV} == "9999" ]]; then
80 EGIT_REPO_URI="https://github.com/csound/csound.git"
81 @@ -113,7 +113,7 @@ pkg_setup() {
82 }
83
84 src_prepare() {
85 - cmake-utils_src_prepare
86 + cmake_src_prepare
87
88 sed -e '/set(PLUGIN_INSTALL_DIR/s/-${APIVERSION}//' \
89 -e '/-O3/d' \
90 @@ -153,7 +153,6 @@ src_configure() {
91 -DBUILD_SCANSYN_OPCODES=OFF # this is not allowed to be redistributed: https://github.com/csound/csound/issues/1148
92 -DBUILD_SELECT_OPCODE=ON
93 -DBUILD_SERIAL_OPCODES=ON
94 - -DBUILD_SHARED_LIBS=ON
95 -DBUILD_STACK_OPCODES=ON
96 -DBUILD_STATIC_LIBRARY=$(usex static-libs)
97 -DBUILD_STATIC_LIBRARY=$(usex test)
98 @@ -225,11 +224,11 @@ src_configure() {
99 -DUSE_LIB64=ON
100 )
101
102 - cmake-utils_src_configure
103 + cmake_src_configure
104 }
105
106 src_install() {
107 - cmake-utils_src_install
108 + cmake_src_install
109 dodoc -r Release_Notes/.
110
111 # generate env.d file
112
113 diff --git a/media-sound/csound/csound-9999.ebuild b/media-sound/csound/csound-9999.ebuild
114 index d6e3677445f..f29357886e4 100644
115 --- a/media-sound/csound/csound-9999.ebuild
116 +++ b/media-sound/csound/csound-9999.ebuild
117 @@ -8,7 +8,7 @@
118 EAPI=7
119
120 PYTHON_COMPAT=( python3_{6,7,8} )
121 -inherit cmake-utils python-single-r1 toolchain-funcs
122 +inherit cmake python-single-r1 toolchain-funcs
123
124 if [[ ${PV} == "9999" ]]; then
125 EGIT_REPO_URI="https://github.com/csound/csound.git"
126 @@ -113,7 +113,7 @@ pkg_setup() {
127 }
128
129 src_prepare() {
130 - cmake-utils_src_prepare
131 + cmake_src_prepare
132
133 sed -e '/set(PLUGIN_INSTALL_DIR/s/-${APIVERSION}//' \
134 -e '/-O3/d' \
135 @@ -154,7 +154,6 @@ src_configure() {
136 -DBUILD_SCANSYN_OPCODES=OFF # this is not allowed to be redistributed: https://github.com/csound/csound/issues/1148
137 -DBUILD_SELECT_OPCODE=ON
138 -DBUILD_SERIAL_OPCODES=ON
139 - -DBUILD_SHARED_LIBS=ON
140 -DBUILD_STACK_OPCODES=ON
141 -DBUILD_STATIC_LIBRARY=$(usex static-libs)
142 -DBUILD_STATIC_LIBRARY=$(usex test)
143 @@ -226,11 +225,11 @@ src_configure() {
144 -DUSE_LIB64=ON
145 )
146
147 - cmake-utils_src_configure
148 + cmake_src_configure
149 }
150
151 src_install() {
152 - cmake-utils_src_install
153 + cmake_src_install
154 dodoc -r Release_Notes/.
155
156 # generate env.d file
157
158 diff --git a/media-sound/hydrogen/hydrogen-9999.ebuild b/media-sound/hydrogen/hydrogen-9999.ebuild
159 index db964f61425..9245c1140a0 100644
160 --- a/media-sound/hydrogen/hydrogen-9999.ebuild
161 +++ b/media-sound/hydrogen/hydrogen-9999.ebuild
162 @@ -3,7 +3,7 @@
163
164 EAPI=7
165
166 -inherit git-r3 xdg cmake-utils
167 +inherit git-r3 xdg cmake
168
169 DESCRIPTION="Advanced drum machine"
170 HOMEPAGE="http://www.hydrogen-music.org/"
171 @@ -62,15 +62,15 @@ src_configure() {
172 -DWANT_RUBBERBAND=OFF
173 )
174
175 - cmake-utils_src_configure
176 + cmake_src_configure
177 }
178
179 src_compile() {
180 - cmake-utils_src_compile
181 - use doc && cmake-utils_src_compile doc
182 + cmake_src_compile
183 + use doc && cmake_src_compile doc
184 }
185
186 src_install() {
187 use doc && local HTML_DOCS=( "${BUILD_DIR}"/docs/html/. )
188 - cmake-utils_src_install
189 + cmake_src_install
190 }
191
192 diff --git a/media-sound/rosegarden/rosegarden-17.12.1.ebuild b/media-sound/rosegarden/rosegarden-17.12.1.ebuild
193 index 34f80417db5..dac7760081c 100644
194 --- a/media-sound/rosegarden/rosegarden-17.12.1.ebuild
195 +++ b/media-sound/rosegarden/rosegarden-17.12.1.ebuild
196 @@ -3,7 +3,7 @@
197
198 EAPI=7
199
200 -inherit cmake-utils xdg
201 +inherit cmake xdg
202
203 DESCRIPTION="MIDI and audio sequencer and notation editor"
204 HOMEPAGE="https://www.rosegardenmusic.com/"
205 @@ -43,12 +43,12 @@ DEPEND="${RDEPEND}
206 "
207
208 src_prepare() {
209 - cmake-utils_src_prepare
210 + cmake_src_prepare
211 }
212
213 src_configure() {
214 local mycmakeargs=(
215 "-DDISABLE_LIRC=$(usex lirc OFF ON)"
216 )
217 - cmake-utils_src_configure
218 + cmake_src_configure
219 }
220
221 diff --git a/media-sound/rosegarden/rosegarden-19.06.ebuild b/media-sound/rosegarden/rosegarden-19.06.ebuild
222 index eaedb77e195..a86fbbdda3e 100644
223 --- a/media-sound/rosegarden/rosegarden-19.06.ebuild
224 +++ b/media-sound/rosegarden/rosegarden-19.06.ebuild
225 @@ -3,7 +3,7 @@
226
227 EAPI=7
228
229 -inherit cmake-utils xdg virtualx
230 +inherit cmake xdg virtualx
231
232 DESCRIPTION="MIDI and audio sequencer and notation editor"
233 HOMEPAGE="https://www.rosegardenmusic.com/"
234 @@ -44,16 +44,16 @@ DEPEND="${RDEPEND}
235 "
236
237 src_prepare() {
238 - cmake-utils_src_prepare
239 + cmake_src_prepare
240 }
241
242 src_configure() {
243 local mycmakeargs=(
244 "-DDISABLE_LIRC=$(usex lirc OFF ON)"
245 )
246 - cmake-utils_src_configure
247 + cmake_src_configure
248 }
249
250 src_test() {
251 - virtx cmake-utils_src_test
252 + virtx cmake_src_test
253 }
254
255 diff --git a/media-sound/rosegarden/rosegarden-19.12.ebuild b/media-sound/rosegarden/rosegarden-19.12.ebuild
256 index 43ed83b26b8..7ed9801029f 100644
257 --- a/media-sound/rosegarden/rosegarden-19.12.ebuild
258 +++ b/media-sound/rosegarden/rosegarden-19.12.ebuild
259 @@ -3,7 +3,7 @@
260
261 EAPI=7
262
263 -inherit cmake-utils xdg virtualx
264 +inherit cmake xdg virtualx
265
266 DESCRIPTION="MIDI and audio sequencer and notation editor"
267 HOMEPAGE="https://www.rosegardenmusic.com/"
268 @@ -44,16 +44,16 @@ DEPEND="${RDEPEND}
269 "
270
271 src_prepare() {
272 - cmake-utils_src_prepare
273 + cmake_src_prepare
274 }
275
276 src_configure() {
277 local mycmakeargs=(
278 "-DDISABLE_LIRC=$(usex lirc OFF ON)"
279 )
280 - cmake-utils_src_configure
281 + cmake_src_configure
282 }
283
284 src_test() {
285 - virtx cmake-utils_src_test
286 + virtx cmake_src_test
287 }
288
289 diff --git a/media-sound/zynaddsubfx/zynaddsubfx-3.0.5.ebuild b/media-sound/zynaddsubfx/zynaddsubfx-3.0.5.ebuild
290 index 01b612a4bcd..72b00573167 100644
291 --- a/media-sound/zynaddsubfx/zynaddsubfx-3.0.5.ebuild
292 +++ b/media-sound/zynaddsubfx/zynaddsubfx-3.0.5.ebuild
293 @@ -3,7 +3,7 @@
294
295 EAPI=7
296
297 -inherit cmake-utils flag-o-matic
298 +inherit cmake flag-o-matic
299
300 DESCRIPTION="Software synthesizer capable of making a countless number of instruments"
301 HOMEPAGE="http://zynaddsubfx.sourceforge.net/"
302 @@ -43,7 +43,7 @@ PATCHES=( "${FILESDIR}"/${P}-docs.patch )
303 DOCS=( ChangeLog HISTORY.txt README.adoc )
304
305 src_prepare() {
306 - cmake-utils_src_prepare
307 + cmake_src_prepare
308
309 if ! use dssi; then
310 sed -i -e '/pkg_search_module.*DSSI/s/^/#DONT/' src/CMakeLists.txt || die
311 @@ -67,21 +67,21 @@ src_configure() {
312
313 local mycmakeargs=(
314 -DPluginLibDir=$(get_libdir)
315 - $(cmake-utils_use_find_package alsa Alsa)
316 - $(cmake-utils_use_find_package doc Doxygen)
317 - $(cmake-utils_use_find_package fltk FLTK)
318 + $(cmake_use_find_package alsa Alsa)
319 + $(cmake_use_find_package doc Doxygen)
320 + $(cmake_use_find_package fltk FLTK)
321 )
322 - cmake-utils_src_configure
323 + cmake_src_configure
324 }
325
326 src_compile() {
327 - cmake-utils_src_compile
328 - use doc && cmake-utils_src_compile doc
329 + cmake_src_compile
330 + use doc && cmake_src_compile doc
331 }
332
333 src_install() {
334 use doc && local HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
335 - cmake-utils_src_install
336 + cmake_src_install
337 insinto /usr/share/${PN}
338 doins -r instruments/*
339 }