1 |
commit: 8b7d9bed539b7db393758544f79d1813c2ba0b4a |
2 |
Author: Gregory M. Tuner <gmt <AT> be-evil <DOT> net> |
3 |
AuthorDate: Sat Nov 23 01:13:27 2013 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 30 13:29:50 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=8b7d9bed |
7 |
|
8 |
*/*: Attempt to resolve issues with "EAPI [01] is not supported" |
9 |
|
10 |
app-office/scribus/scribus-1.3.3.11.ebuild | 21 ++++++--------------- |
11 |
app-office/scribus/scribus-1.3.3.12-r1.ebuild | 15 ++++----------- |
12 |
app-office/scribus/scribus-1.3.3.13.ebuild | 13 +++++-------- |
13 |
app-office/scribus/scribus-1.3.4-r1.ebuild | 18 +++++------------- |
14 |
.../libopensync-plugin-kdepim-0.21.ebuild | 7 +++++-- |
15 |
.../libopensync-plugin-kdepim-0.22.ebuild | 7 +++++-- |
16 |
.../libopensync-plugin-kdepim-0.35.ebuild | 2 +- |
17 |
.../libopensync-plugin-kdepim-0.36.ebuild | 2 +- |
18 |
.../libopensync-plugin-kdepim-9999.ebuild | 2 +- |
19 |
kde-misc/kdocker/kdocker-1.3.ebuild | 10 ++++------ |
20 |
kde-misc/strigiapplet/strigiapplet-0.5.7.ebuild | 8 +++++--- |
21 |
.../gtk-engines-qt/gtk-engines-qt-0.8-r4.ebuild | 4 ++-- |
22 |
12 files changed, 44 insertions(+), 65 deletions(-) |
23 |
|
24 |
diff --git a/app-office/scribus/scribus-1.3.3.11.ebuild b/app-office/scribus/scribus-1.3.3.11.ebuild |
25 |
index f3bc937..462d3cc 100644 |
26 |
--- a/app-office/scribus/scribus-1.3.3.11.ebuild |
27 |
+++ b/app-office/scribus/scribus-1.3.3.11.ebuild |
28 |
@@ -2,7 +2,7 @@ |
29 |
# Distributed under the terms of the GNU General Public License v2 |
30 |
# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-1.3.3.11.ebuild,v 1.7 2008/07/27 19:54:02 carlo Exp $ |
31 |
|
32 |
-EAPI=1 |
33 |
+EAPI=5 |
34 |
|
35 |
inherit qt3 eutils |
36 |
|
37 |
@@ -21,28 +21,19 @@ DEPEND="dev-qt/qt-meta:3 |
38 |
>=media-libs/libart_lgpl-2.3.8 |
39 |
>=sys-devel/gcc-3.0.0 |
40 |
>=dev-libs/libxml2-2.6.0 |
41 |
- cairo? ( >=x11-libs/cairo-1.0 )" |
42 |
+ cairo? ( >=x11-libs/cairo-1.0[X] )" |
43 |
|
44 |
RDEPEND="${DEPEND} |
45 |
app-text/ghostscript-gpl" |
46 |
|
47 |
-pkg_setup() { |
48 |
- if use cairo && ! built_with_use 'x11-libs/cairo' 'X' ; then |
49 |
- eerror "You must build cairo with X support" |
50 |
- die "x11-libs/cairo built without X" |
51 |
- fi |
52 |
-} |
53 |
+DOCS=( AUTHORS ChangeLog README TODO ) |
54 |
|
55 |
-src_compile() { |
56 |
- econf `use_enable cairo` || die |
57 |
- emake || die |
58 |
+src_configure() { |
59 |
+ econf $(use_enable cairo) |
60 |
} |
61 |
|
62 |
src_install() { |
63 |
- einstall || die |
64 |
- |
65 |
- dodoc AUTHORS ChangeLog README TODO |
66 |
- |
67 |
+ default |
68 |
domenu scribus.desktop |
69 |
doicon scribus/icons/scribusicon.png |
70 |
} |
71 |
|
72 |
diff --git a/app-office/scribus/scribus-1.3.3.12-r1.ebuild b/app-office/scribus/scribus-1.3.3.12-r1.ebuild |
73 |
index bcfffa1..5b81693 100644 |
74 |
--- a/app-office/scribus/scribus-1.3.3.12-r1.ebuild |
75 |
+++ b/app-office/scribus/scribus-1.3.3.12-r1.ebuild |
76 |
@@ -2,7 +2,7 @@ |
77 |
# Distributed under the terms of the GNU General Public License v2 |
78 |
# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-1.3.3.12-r1.ebuild,v 1.5 2008/11/21 13:30:04 hanno Exp $ |
79 |
|
80 |
-EAPI=1 |
81 |
+EAPI=5 |
82 |
|
83 |
inherit qt3 eutils cmake-utils |
84 |
|
85 |
@@ -25,22 +25,15 @@ DEPEND="dev-qt/qt-meta:3 |
86 |
dev-python/imaging |
87 |
media-libs/fontconfig |
88 |
cups? ( net-print/cups ) |
89 |
- cairo? ( >=x11-libs/cairo-1.4.10 )" |
90 |
+ cairo? ( >=x11-libs/cairo-1.4.10[X,svg] )" |
91 |
|
92 |
RDEPEND="${DEPEND} |
93 |
app-text/ghostscript-gpl" |
94 |
|
95 |
-pkg_setup() { |
96 |
- if ! built_with_use 'x11-libs/cairo' 'X' 'svg'; then |
97 |
- eerror "You must build cairo with X and svg support" |
98 |
- die "x11-libs/cairo built without X and/or svg" |
99 |
- fi |
100 |
-} |
101 |
- |
102 |
-src_compile() { |
103 |
+src_configure() { |
104 |
local mycmakeargs="$(cmake-utils_use_want cairo CAIRO) \ |
105 |
$(cmake-utils_use_enable cups)" |
106 |
- cmake-utils_src_compile || die "compile failed" |
107 |
+ cmake-utils_src_configure |
108 |
} |
109 |
|
110 |
src_install() { |
111 |
|
112 |
diff --git a/app-office/scribus/scribus-1.3.3.13.ebuild b/app-office/scribus/scribus-1.3.3.13.ebuild |
113 |
index 096d071..49cb768 100644 |
114 |
--- a/app-office/scribus/scribus-1.3.3.13.ebuild |
115 |
+++ b/app-office/scribus/scribus-1.3.3.13.ebuild |
116 |
@@ -2,7 +2,7 @@ |
117 |
# Distributed under the terms of the GNU General Public License v2 |
118 |
# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-1.3.3.13.ebuild,v 1.1 2009/07/30 19:09:14 hanno Exp $ |
119 |
|
120 |
-EAPI=2 |
121 |
+EAPI=5 |
122 |
|
123 |
inherit qt3 eutils cmake-utils |
124 |
|
125 |
@@ -30,19 +30,16 @@ DEPEND="dev-qt/qt-meta:3 |
126 |
RDEPEND="${DEPEND} |
127 |
app-text/ghostscript-gpl" |
128 |
|
129 |
-src_prepare() { |
130 |
- epatch "${FILESDIR}/${P}-cheaders.diff" || die |
131 |
-} |
132 |
+PATCHES=( "${FILESDIR}/${P}-cheaders.diff" ) |
133 |
|
134 |
-src_compile() { |
135 |
+src_configure() { |
136 |
local mycmakeargs="$(cmake-utils_use_want cairo CAIRO) \ |
137 |
$(cmake-utils_use_enable cups)" |
138 |
- cmake-utils_src_compile || die "compile failed" |
139 |
+ cmake-utils_src_configure |
140 |
} |
141 |
|
142 |
src_install() { |
143 |
cmake-utils_src_install |
144 |
- |
145 |
domenu scribus.desktop |
146 |
- doicon scribus/icons/scribus.png || die "doicon failed" |
147 |
+ doicon scribus/icons/scribus.png |
148 |
} |
149 |
|
150 |
diff --git a/app-office/scribus/scribus-1.3.4-r1.ebuild b/app-office/scribus/scribus-1.3.4-r1.ebuild |
151 |
index 562445d..77d7e25 100644 |
152 |
--- a/app-office/scribus/scribus-1.3.4-r1.ebuild |
153 |
+++ b/app-office/scribus/scribus-1.3.4-r1.ebuild |
154 |
@@ -2,7 +2,7 @@ |
155 |
# Distributed under the terms of the GNU General Public License v2 |
156 |
# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-1.3.4-r1.ebuild,v 1.3 2008/07/27 19:54:02 carlo Exp $ |
157 |
|
158 |
-EAPI=1 |
159 |
+EAPI=5 |
160 |
|
161 |
inherit qt3 eutils |
162 |
|
163 |
@@ -21,27 +21,19 @@ DEPEND="dev-qt/qt-meta:3 |
164 |
>=media-libs/libart_lgpl-2.3.8 |
165 |
>=sys-devel/gcc-3.0.0 |
166 |
>=dev-libs/libxml2-2.6.0 |
167 |
- >=x11-libs/cairo-1.4.0" |
168 |
+ >=x11-libs/cairo-1.4.0[X,svg]" |
169 |
|
170 |
RDEPEND="${DEPEND} |
171 |
app-text/ghostscript-gpl" |
172 |
|
173 |
-pkg_setup() { |
174 |
- if ! built_with_use 'x11-libs/cairo' 'X' 'svg'; then |
175 |
- eerror "You must build cairo with X and svg support" |
176 |
- die "x11-libs/cairo built without X and/or svg" |
177 |
- fi |
178 |
-} |
179 |
+DOCS=( AUTHORS ChangeLog README TODO ) |
180 |
|
181 |
-src_compile() { |
182 |
+src_configure() { |
183 |
econf --enable-cairo || die |
184 |
- emake || die |
185 |
} |
186 |
|
187 |
src_install() { |
188 |
- einstall || die |
189 |
- |
190 |
- dodoc AUTHORS ChangeLog README TODO |
191 |
+ default |
192 |
|
193 |
domenu scribus.desktop |
194 |
doicon scribus/icons/scribusicon.png |
195 |
|
196 |
diff --git a/app-pda/libopensync-plugin-kdepim/libopensync-plugin-kdepim-0.21.ebuild b/app-pda/libopensync-plugin-kdepim/libopensync-plugin-kdepim-0.21.ebuild |
197 |
index 757be0b..c661b98 100644 |
198 |
--- a/app-pda/libopensync-plugin-kdepim/libopensync-plugin-kdepim-0.21.ebuild |
199 |
+++ b/app-pda/libopensync-plugin-kdepim/libopensync-plugin-kdepim-0.21.ebuild |
200 |
@@ -2,7 +2,7 @@ |
201 |
# Distributed under the terms of the GNU General Public License v2 |
202 |
# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-kdepim/libopensync-plugin-kdepim-0.21.ebuild,v 1.2 2007/02/14 20:24:38 peper Exp $ |
203 |
|
204 |
-EAPI=1 |
205 |
+EAPI=3 |
206 |
|
207 |
inherit qt3 |
208 |
|
209 |
@@ -23,8 +23,11 @@ RDEPEND="${DEPEND}" |
210 |
# interactive and broken |
211 |
RESTRICT="test" |
212 |
|
213 |
-src_compile() { |
214 |
+src_configure() { |
215 |
econf --without-arts |
216 |
+} |
217 |
+ |
218 |
+src_compile() { |
219 |
emake || die "emake failed" |
220 |
} |
221 |
|
222 |
|
223 |
diff --git a/app-pda/libopensync-plugin-kdepim/libopensync-plugin-kdepim-0.22.ebuild b/app-pda/libopensync-plugin-kdepim/libopensync-plugin-kdepim-0.22.ebuild |
224 |
index e214de5..3fe5f23 100644 |
225 |
--- a/app-pda/libopensync-plugin-kdepim/libopensync-plugin-kdepim-0.22.ebuild |
226 |
+++ b/app-pda/libopensync-plugin-kdepim/libopensync-plugin-kdepim-0.22.ebuild |
227 |
@@ -2,7 +2,7 @@ |
228 |
# Distributed under the terms of the GNU General Public License v2 |
229 |
# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-kdepim/libopensync-plugin-kdepim-0.22.ebuild,v 1.1 2007/03/28 20:20:29 peper Exp $ |
230 |
|
231 |
-EAPI=1 |
232 |
+EAPI=3 |
233 |
|
234 |
inherit qt3 |
235 |
|
236 |
@@ -23,8 +23,11 @@ RDEPEND="${DEPEND}" |
237 |
# interactive and broken |
238 |
RESTRICT="test" |
239 |
|
240 |
-src_compile() { |
241 |
+src_configure() { |
242 |
econf --without-arts |
243 |
+} |
244 |
+ |
245 |
+src_compile() { |
246 |
emake || die "emake failed" |
247 |
} |
248 |
|
249 |
|
250 |
diff --git a/app-pda/libopensync-plugin-kdepim/libopensync-plugin-kdepim-0.35.ebuild b/app-pda/libopensync-plugin-kdepim/libopensync-plugin-kdepim-0.35.ebuild |
251 |
index dc06652..7ce3a5e 100644 |
252 |
--- a/app-pda/libopensync-plugin-kdepim/libopensync-plugin-kdepim-0.35.ebuild |
253 |
+++ b/app-pda/libopensync-plugin-kdepim/libopensync-plugin-kdepim-0.35.ebuild |
254 |
@@ -2,7 +2,7 @@ |
255 |
# Distributed under the terms of the GNU General Public License v2 |
256 |
# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-kdepim/libopensync-plugin-kdepim-0.35.ebuild,v 1.1 2007/12/21 23:15:45 peper Exp $ |
257 |
|
258 |
-EAPI=1 |
259 |
+EAPI=3 |
260 |
|
261 |
inherit cmake-utils kde-functions |
262 |
|
263 |
|
264 |
diff --git a/app-pda/libopensync-plugin-kdepim/libopensync-plugin-kdepim-0.36.ebuild b/app-pda/libopensync-plugin-kdepim/libopensync-plugin-kdepim-0.36.ebuild |
265 |
index c244d92..0092086 100644 |
266 |
--- a/app-pda/libopensync-plugin-kdepim/libopensync-plugin-kdepim-0.36.ebuild |
267 |
+++ b/app-pda/libopensync-plugin-kdepim/libopensync-plugin-kdepim-0.36.ebuild |
268 |
@@ -2,7 +2,7 @@ |
269 |
# Distributed under the terms of the GNU General Public License v2 |
270 |
# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-kdepim/libopensync-plugin-kdepim-0.36.ebuild,v 1.2 2008/07/13 07:07:12 josejx Exp $ |
271 |
|
272 |
-EAPI=1 |
273 |
+EAPI=3 |
274 |
|
275 |
inherit cmake-utils kde-functions |
276 |
|
277 |
|
278 |
diff --git a/app-pda/libopensync-plugin-kdepim/libopensync-plugin-kdepim-9999.ebuild b/app-pda/libopensync-plugin-kdepim/libopensync-plugin-kdepim-9999.ebuild |
279 |
index 7ccda2f..caeb446 100644 |
280 |
--- a/app-pda/libopensync-plugin-kdepim/libopensync-plugin-kdepim-9999.ebuild |
281 |
+++ b/app-pda/libopensync-plugin-kdepim/libopensync-plugin-kdepim-9999.ebuild |
282 |
@@ -2,7 +2,7 @@ |
283 |
# Distributed under the terms of the GNU General Public License v2 |
284 |
# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-kdepim/libopensync-plugin-kdepim-9999.ebuild,v 1.1 2007/11/26 20:19:47 peper Exp $ |
285 |
|
286 |
-EAPI=1 |
287 |
+EAPI=3 |
288 |
|
289 |
inherit cmake-utils subversion kde-functions |
290 |
|
291 |
|
292 |
diff --git a/kde-misc/kdocker/kdocker-1.3.ebuild b/kde-misc/kdocker/kdocker-1.3.ebuild |
293 |
index 94949cd..12f24b0 100644 |
294 |
--- a/kde-misc/kdocker/kdocker-1.3.ebuild |
295 |
+++ b/kde-misc/kdocker/kdocker-1.3.ebuild |
296 |
@@ -2,7 +2,7 @@ |
297 |
# Distributed under the terms of the GNU General Public License v2 |
298 |
# $Header: /var/cvsroot/gentoo-x86/kde-misc/kdocker/kdocker-1.3.ebuild,v 1.3 2008/07/27 20:52:18 carlo Exp $ |
299 |
|
300 |
-EAPI=1 |
301 |
+EAPI=4 |
302 |
|
303 |
inherit eutils qt3 |
304 |
|
305 |
@@ -25,10 +25,7 @@ RDEPEND="${DEPEND}" |
306 |
|
307 |
S="${WORKDIR}/${PN}" |
308 |
|
309 |
-src_unpack() { |
310 |
- unpack ${A} |
311 |
- |
312 |
- cd "${S}" |
313 |
+src_prepare() { |
314 |
epatch "${FILESDIR}"/${PN}-desktop_file.patch |
315 |
epatch "${FILESDIR}"/${PN}-installdir.patch |
316 |
} |
317 |
@@ -41,7 +38,8 @@ src_compile() { |
318 |
QMAKE_RPATH= \ |
319 |
"CONFIG += no_fixpath release thread" \ |
320 |
|| die "couldn't create fresh Makefiles" |
321 |
- emake || die "make failed" |
322 |
+ |
323 |
+ emake |
324 |
|
325 |
# langpacks |
326 |
cd "${S}"/i18n |
327 |
|
328 |
diff --git a/kde-misc/strigiapplet/strigiapplet-0.5.7.ebuild b/kde-misc/strigiapplet/strigiapplet-0.5.7.ebuild |
329 |
index b6b9a9b..255a69d 100644 |
330 |
--- a/kde-misc/strigiapplet/strigiapplet-0.5.7.ebuild |
331 |
+++ b/kde-misc/strigiapplet/strigiapplet-0.5.7.ebuild |
332 |
@@ -2,6 +2,8 @@ |
333 |
# Distributed under the terms of the GNU General Public License v2 |
334 |
# $Header: /var/cvsroot/gentoo-x86/kde-misc/strigiapplet/strigiapplet-0.5.7.ebuild,v 1.4 2009/03/30 13:22:08 loki_val Exp $ |
335 |
|
336 |
+EAPI=3 |
337 |
+ |
338 |
inherit kde multilib cmake-utils |
339 |
|
340 |
DESCRIPTION="KDE kicker applet to use strigi." |
341 |
@@ -20,7 +22,9 @@ RDEPEND="${DEPEND} |
342 |
|
343 |
need-kde 3.5 |
344 |
|
345 |
-src_compile() { |
346 |
+src_prepare() { |
347 |
+ cmake-utils_src_prepare |
348 |
+ |
349 |
# Fix multi-lib issues |
350 |
sed -i -e "/SET (LIB_DESTINATION/s:\"lib\":\"$(get_libdir)\":" \ |
351 |
"${S}"/CMakeLists.txt || die "sed 1 for multilib failed" |
352 |
@@ -46,6 +50,4 @@ src_compile() { |
353 |
"${S}"/CMakeLists.txt || die "sed to include find_package(Qt3) failed." |
354 |
sed -i -e 's:qt-mt:${QT_LIBRARIES}:' \ |
355 |
"${S}"/src/kickerapplet/CMakeLists.txt || die "sed to link libqt-mt.so failed." |
356 |
- |
357 |
- cmake-utils_src_compile |
358 |
} |
359 |
|
360 |
diff --git a/x11-themes/gtk-engines-qt/gtk-engines-qt-0.8-r4.ebuild b/x11-themes/gtk-engines-qt/gtk-engines-qt-0.8-r4.ebuild |
361 |
index ccd410f..5000ea8 100644 |
362 |
--- a/x11-themes/gtk-engines-qt/gtk-engines-qt-0.8-r4.ebuild |
363 |
+++ b/x11-themes/gtk-engines-qt/gtk-engines-qt-0.8-r4.ebuild |
364 |
@@ -40,12 +40,12 @@ PATCHES=( |
365 |
"${FILESDIR}/gtk-engines-qt-0.8-optional-bonobo.patch" |
366 |
) |
367 |
|
368 |
-src_compile() { |
369 |
+src_configure() { |
370 |
# enable or disable bonobo support based on gnome useflag (bug #206568) |
371 |
mycmakeargs="${mycmakeargs} |
372 |
$(cmake-utils_use_enable gnome BONOBO)" |
373 |
CMAKE_IN_SOURCE_BUILD=1 |
374 |
- cmake-utils_src_compile |
375 |
+ cmake-utils_src_configure |
376 |
} |
377 |
|
378 |
src_install() { |