Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/cmocka/, media-libs/taglib/, net-libs/libssh/, x11-themes/oxygen-gtk/, ...
Date: Sun, 29 Dec 2019 13:04:13
Message-Id: 1577624623.4204aed71ec2d1b2413df056e74191a61c393e53.asturm@gentoo
1 commit: 4204aed71ec2d1b2413df056e74191a61c393e53
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 21 12:57:48 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 29 13:03:43 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4204aed7
7
8 */*: Switch kde proj packages using cmake-multilib.eclass to cmake
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 dev-util/cmocka/cmocka-1.1.5.ebuild | 11 ++++++-----
13 media-gfx/exiv2/exiv2-0.27.2.ebuild | 7 ++++---
14 media-libs/taglib/taglib-1.11.1_p20190920-r1.ebuild | 5 +++--
15 net-libs/libssh/libssh-0.9.0.ebuild | 11 ++++++-----
16 net-libs/libssh/libssh-0.9.3.ebuild | 11 ++++++-----
17 net-libs/libssh/libssh-9999.ebuild | 11 ++++++-----
18 x11-themes/oxygen-gtk/oxygen-gtk-1.4.1-r1.ebuild | 3 ++-
19 x11-themes/oxygen-gtk/oxygen-gtk-1.4.6-r1.ebuild | 3 ++-
20 8 files changed, 35 insertions(+), 27 deletions(-)
21
22 diff --git a/dev-util/cmocka/cmocka-1.1.5.ebuild b/dev-util/cmocka/cmocka-1.1.5.ebuild
23 index eecc4f26cc8..1d03a717691 100644
24 --- a/dev-util/cmocka/cmocka-1.1.5.ebuild
25 +++ b/dev-util/cmocka/cmocka-1.1.5.ebuild
26 @@ -3,6 +3,7 @@
27
28 EAPI=7
29
30 +CMAKE_ECLASS=cmake
31 inherit cmake-multilib
32
33 DESCRIPTION="Unit testing framework for C"
34 @@ -24,16 +25,16 @@ multilib_src_configure() {
35 -DWITH_EXAMPLES=$(usex examples)
36 -DWITH_STATIC_LIB=$(usex static-libs)
37 -DUNIT_TESTING=$(usex test)
38 - $(multilib_is_native_abi && cmake-utils_use_find_package doc Doxygen \
39 + $(multilib_is_native_abi && cmake_use_find_package doc Doxygen \
40 || echo -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON)
41 )
42
43 - cmake-utils_src_configure
44 + cmake_src_configure
45 }
46
47 multilib_src_compile() {
48 - cmake-utils_src_compile
49 - multilib_is_native_abi && use doc && cmake-utils_src_compile docs
50 + cmake_src_compile
51 + multilib_is_native_abi && use doc && cmake_src_compile docs
52 }
53
54 multilib_src_install() {
55 @@ -41,5 +42,5 @@ multilib_src_install() {
56 local HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
57 fi
58
59 - cmake-utils_src_install
60 + cmake_src_install
61 }
62
63 diff --git a/media-gfx/exiv2/exiv2-0.27.2.ebuild b/media-gfx/exiv2/exiv2-0.27.2.ebuild
64 index 3d6060c5535..b1ac0f0a6b3 100644
65 --- a/media-gfx/exiv2/exiv2-0.27.2.ebuild
66 +++ b/media-gfx/exiv2/exiv2-0.27.2.ebuild
67 @@ -11,6 +11,7 @@ else
68 KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
69 fi
70
71 +CMAKE_ECLASS=cmake
72 PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
73 inherit cmake-multilib python-any-r1
74
75 @@ -59,7 +60,7 @@ src_prepare() {
76 iconv -f LATIN1 -t UTF-8 doc/cmd.txt > doc/cmd.txt.tmp || die
77 mv -f doc/cmd.txt.tmp doc/cmd.txt || die
78
79 - cmake-utils_src_prepare
80 + cmake_src_prepare
81
82 sed -e "/^include.*compilerFlags/s/^/#DONT /" -i CMakeLists.txt || die
83 }
84 @@ -79,11 +80,11 @@ multilib_src_configure() {
85 -DCMAKE_INSTALL_DOCDIR="${EPREFIX}"/usr/share/doc/${PF}/html
86 )
87
88 - cmake-utils_src_configure
89 + cmake_src_configure
90 }
91
92 multilib_src_compile() {
93 - cmake-utils_src_compile
94 + cmake_src_compile
95
96 if multilib_is_native_abi; then
97 use doc && eninja doc
98
99 diff --git a/media-libs/taglib/taglib-1.11.1_p20190920-r1.ebuild b/media-libs/taglib/taglib-1.11.1_p20190920-r1.ebuild
100 index 5cac4484ce0..f6f6fbf93eb 100644
101 --- a/media-libs/taglib/taglib-1.11.1_p20190920-r1.ebuild
102 +++ b/media-libs/taglib/taglib-1.11.1_p20190920-r1.ebuild
103 @@ -3,6 +3,7 @@
104
105 EAPI=7
106
107 +CMAKE_ECLASS=cmake
108 COMMIT=54508df30bc888c4d2359576ceb0cc8f2fa8dbdf
109 inherit cmake-multilib
110
111 @@ -35,7 +36,7 @@ MULTILIB_CHOST_TOOLS=(
112 S="${WORKDIR}/${PN}-${COMMIT}"
113
114 src_prepare() {
115 - cmake-utils_src_prepare
116 + cmake_src_prepare
117
118 sed -e "s/BUILD_TESTS AND NOT BUILD_SHARED_LIBS/BUILD_TESTS/" \
119 -i CMakeLists.txt \
120 @@ -48,5 +49,5 @@ multilib_src_configure() {
121 -DBUILD_TESTS=$(usex test)
122 )
123
124 - cmake-utils_src_configure
125 + cmake_src_configure
126 }
127
128 diff --git a/net-libs/libssh/libssh-0.9.0.ebuild b/net-libs/libssh/libssh-0.9.0.ebuild
129 index b13f672c484..759da6a2fc0 100644
130 --- a/net-libs/libssh/libssh-0.9.0.ebuild
131 +++ b/net-libs/libssh/libssh-0.9.0.ebuild
132 @@ -3,6 +3,7 @@
133
134 EAPI=7
135
136 +CMAKE_ECLASS=cmake
137 inherit cmake-multilib
138
139 DESCRIPTION="Access a working SSH implementation by means of a library"
140 @@ -49,7 +50,7 @@ PATCHES=(
141 )
142
143 src_prepare() {
144 - cmake-utils_src_prepare
145 + cmake_src_prepare
146
147 # just install the examples, do not compile them
148 cmake_comment_add_subdirectory examples
149 @@ -88,16 +89,16 @@ multilib_src_configure() {
150
151 multilib_is_native_abi || mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON )
152
153 - cmake-utils_src_configure
154 + cmake_src_configure
155 }
156
157 multilib_src_compile() {
158 - cmake-utils_src_compile
159 - multilib_is_native_abi && use doc && cmake-utils_src_compile docs
160 + cmake_src_compile
161 + multilib_is_native_abi && use doc && cmake_src_compile docs
162 }
163
164 multilib_src_install() {
165 - cmake-utils_src_install
166 + cmake_src_install
167 multilib_is_native_abi && use doc && HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
168
169 # compatibility symlink until all consumers have been updated
170
171 diff --git a/net-libs/libssh/libssh-0.9.3.ebuild b/net-libs/libssh/libssh-0.9.3.ebuild
172 index 3ead343c58f..c015fb647b0 100644
173 --- a/net-libs/libssh/libssh-0.9.3.ebuild
174 +++ b/net-libs/libssh/libssh-0.9.3.ebuild
175 @@ -3,6 +3,7 @@
176
177 EAPI=7
178
179 +CMAKE_ECLASS=cmake
180 inherit cmake-multilib
181
182 DESCRIPTION="Access a working SSH implementation by means of a library"
183 @@ -49,7 +50,7 @@ PATCHES=( "${FILESDIR}/${PN}-0.8.0-tests.patch" )
184 RESTRICT+=" !test? ( test )"
185
186 src_prepare() {
187 - cmake-utils_src_prepare
188 + cmake_src_prepare
189
190 # just install the examples, do not compile them
191 cmake_comment_add_subdirectory examples
192 @@ -88,16 +89,16 @@ multilib_src_configure() {
193
194 multilib_is_native_abi || mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON )
195
196 - cmake-utils_src_configure
197 + cmake_src_configure
198 }
199
200 multilib_src_compile() {
201 - cmake-utils_src_compile
202 - multilib_is_native_abi && use doc && cmake-utils_src_compile docs
203 + cmake_src_compile
204 + multilib_is_native_abi && use doc && cmake_src_compile docs
205 }
206
207 multilib_src_install() {
208 - cmake-utils_src_install
209 + cmake_src_install
210 multilib_is_native_abi && use doc && HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
211
212 use static-libs && dolib.a src/libssh.a
213
214 diff --git a/net-libs/libssh/libssh-9999.ebuild b/net-libs/libssh/libssh-9999.ebuild
215 index e86e51662ed..8ddb3caa00d 100644
216 --- a/net-libs/libssh/libssh-9999.ebuild
217 +++ b/net-libs/libssh/libssh-9999.ebuild
218 @@ -3,6 +3,7 @@
219
220 EAPI=7
221
222 +CMAKE_ECLASS=cmake
223 inherit cmake-multilib
224
225 DESCRIPTION="Access a working SSH implementation by means of a library"
226 @@ -49,7 +50,7 @@ PATCHES=( "${FILESDIR}/${PN}-0.8.0-tests.patch" )
227 RESTRICT+=" !test? ( test )"
228
229 src_prepare() {
230 - cmake-utils_src_prepare
231 + cmake_src_prepare
232
233 # just install the examples, do not compile them
234 cmake_comment_add_subdirectory examples
235 @@ -88,16 +89,16 @@ multilib_src_configure() {
236
237 multilib_is_native_abi || mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON )
238
239 - cmake-utils_src_configure
240 + cmake_src_configure
241 }
242
243 multilib_src_compile() {
244 - cmake-utils_src_compile
245 - multilib_is_native_abi && use doc && cmake-utils_src_compile docs
246 + cmake_src_compile
247 + multilib_is_native_abi && use doc && cmake_src_compile docs
248 }
249
250 multilib_src_install() {
251 - cmake-utils_src_install
252 + cmake_src_install
253 multilib_is_native_abi && use doc && HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
254
255 use static-libs && dolib.a src/libssh.a
256
257 diff --git a/x11-themes/oxygen-gtk/oxygen-gtk-1.4.1-r1.ebuild b/x11-themes/oxygen-gtk/oxygen-gtk-1.4.1-r1.ebuild
258 index 803e8e61400..8f1e41d55b7 100644
259 --- a/x11-themes/oxygen-gtk/oxygen-gtk-1.4.1-r1.ebuild
260 +++ b/x11-themes/oxygen-gtk/oxygen-gtk-1.4.1-r1.ebuild
261 @@ -3,6 +3,7 @@
262
263 EAPI=7
264
265 +CMAKE_ECLASS=cmake
266 MY_PN=${PN}3
267 MY_P=${MY_PN}-${PV}
268 inherit cmake-multilib
269 @@ -44,7 +45,7 @@ multilib_src_configure() {
270 -DENABLE_DEMO=OFF
271 )
272 fi
273 - cmake-utils_src_configure
274 + cmake_src_configure
275 }
276
277 src_install() {
278
279 diff --git a/x11-themes/oxygen-gtk/oxygen-gtk-1.4.6-r1.ebuild b/x11-themes/oxygen-gtk/oxygen-gtk-1.4.6-r1.ebuild
280 index 9b9e4ced8f7..deac2e20f0e 100644
281 --- a/x11-themes/oxygen-gtk/oxygen-gtk-1.4.6-r1.ebuild
282 +++ b/x11-themes/oxygen-gtk/oxygen-gtk-1.4.6-r1.ebuild
283 @@ -3,6 +3,7 @@
284
285 EAPI=7
286
287 +CMAKE_ECLASS=cmake
288 MY_PN=${PN}2
289 MY_P=${MY_PN}-${PV}
290 inherit cmake-multilib
291 @@ -47,7 +48,7 @@ multilib_src_configure() {
292 -DENABLE_DEMO=OFF
293 )
294 fi
295 - cmake-utils_src_configure
296 + cmake_src_configure
297 }
298
299 src_install() {