1 |
commit: 196d9ae4186d67957684f7e439220380d0c03303 |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Feb 6 20:47:27 2020 +0000 |
4 |
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> |
5 |
CommitDate: Thu Feb 6 21:22:35 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=196d9ae4 |
7 |
|
8 |
Desura is dead. |
9 |
|
10 |
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> |
11 |
|
12 |
games-util/desurium-meta/desurium-meta-0.ebuild | 40 ------ |
13 |
games-util/desurium-meta/desurium-meta-1.ebuild | 41 ------ |
14 |
games-util/desurium-meta/metadata.xml | 17 --- |
15 |
games-util/desurium/desurium-0.8.0_rc10-r1.ebuild | 155 -------------------- |
16 |
games-util/desurium/desurium-0.8.0_rc10-r2.ebuild | 159 --------------------- |
17 |
games-util/desurium/desurium-0.8.0_rc9-r1.ebuild | 157 -------------------- |
18 |
games-util/desurium/desurium-0.8.0_rc9.ebuild | 153 -------------------- |
19 |
games-util/desurium/desurium-9999.ebuild | 155 -------------------- |
20 |
.../desurium/files/desurium-v8-3.19.18.patch | 95 ------------ |
21 |
games-util/desurium/metadata.xml | 17 --- |
22 |
media-libs/desurium-cef/desurium-cef-4.ebuild | 105 -------------- |
23 |
media-libs/desurium-cef/desurium-cef-5-r1.ebuild | 110 -------------- |
24 |
media-libs/desurium-cef/desurium-cef-5.ebuild | 106 -------------- |
25 |
media-libs/desurium-cef/desurium-cef-9999.ebuild | 107 -------------- |
26 |
.../files/desurium-cef-5-nss-3.15.patch | 54 ------- |
27 |
media-libs/desurium-cef/metadata.xml | 10 -- |
28 |
16 files changed, 1481 deletions(-) |
29 |
|
30 |
diff --git a/games-util/desurium-meta/desurium-meta-0.ebuild b/games-util/desurium-meta/desurium-meta-0.ebuild |
31 |
deleted file mode 100644 |
32 |
index 75d356a..0000000 |
33 |
--- a/games-util/desurium-meta/desurium-meta-0.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,40 +0,0 @@ |
36 |
-# Copyright 1999-2014 Gentoo Foundation |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
-# $Header: $ |
39 |
- |
40 |
-EAPI=5 |
41 |
- |
42 |
-DESCRIPTION="Desurium game client and dependencies (meta)" |
43 |
-HOMEPAGE="http://desura.com/" |
44 |
- |
45 |
-LICENSE="metapackage" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="~amd64 ~x86" |
48 |
-IUSE="+32bit +games-deps" |
49 |
- |
50 |
-RDEPEND=" |
51 |
- games-deps? ( |
52 |
- dev-lang/mono[-minimal] |
53 |
- gnome-base/libglade |
54 |
- media-libs/libogg |
55 |
- media-libs/libpng:1.2 |
56 |
- media-libs/libsdl[X,joystick,opengl,sound,video] |
57 |
- media-libs/libtheora |
58 |
- media-libs/libvorbis |
59 |
- media-libs/openal |
60 |
- media-libs/sdl-image[gif,jpeg,png,tiff] |
61 |
- media-libs/sdl-ttf[X] |
62 |
- virtual/ffmpeg[X,mp3,sdl,theora,truetype] |
63 |
- >=virtual/jre-1.6 |
64 |
- amd64? ( 32bit? ( |
65 |
- app-emulation/emul-linux-x86-gtklibs |
66 |
- app-emulation/emul-linux-x86-gtkmmlibs |
67 |
- app-emulation/emul-linux-x86-medialibs |
68 |
- app-emulation/emul-linux-x86-opengl |
69 |
- app-emulation/emul-linux-x86-sdl |
70 |
- app-emulation/emul-linux-x86-soundlibs |
71 |
- app-emulation/emul-linux-x86-xlibs[opengl] |
72 |
- ) ) |
73 |
- ) |
74 |
- games-util/desurium[32bit?] |
75 |
- media-libs/desurium-cef" |
76 |
|
77 |
diff --git a/games-util/desurium-meta/desurium-meta-1.ebuild b/games-util/desurium-meta/desurium-meta-1.ebuild |
78 |
deleted file mode 100644 |
79 |
index 5d109e0..0000000 |
80 |
--- a/games-util/desurium-meta/desurium-meta-1.ebuild |
81 |
+++ /dev/null |
82 |
@@ -1,41 +0,0 @@ |
83 |
-# Copyright 1999-2014 Gentoo Foundation |
84 |
-# Distributed under the terms of the GNU General Public License v2 |
85 |
-# $Header: $ |
86 |
- |
87 |
-EAPI=5 |
88 |
- |
89 |
-DESCRIPTION="Desurium game client and dependencies (meta)" |
90 |
-HOMEPAGE="http://desura.com/" |
91 |
- |
92 |
-LICENSE="metapackage" |
93 |
-SLOT="0" |
94 |
-KEYWORDS="~amd64 ~x86" |
95 |
-IUSE="+32bit +games-deps" |
96 |
- |
97 |
-RDEPEND=" |
98 |
- games-deps? ( |
99 |
- dev-lang/mono[-minimal] |
100 |
- gnome-base/libglade |
101 |
- media-libs/libogg |
102 |
- media-libs/libpng:1.2 |
103 |
- media-libs/libsdl[X,joystick,opengl,sound,video] |
104 |
- media-libs/libtheora |
105 |
- media-libs/libvorbis |
106 |
- media-libs/openal |
107 |
- media-libs/sdl-gfx |
108 |
- media-libs/sdl-image[gif,jpeg,png,tiff] |
109 |
- media-libs/sdl-ttf[X] |
110 |
- virtual/ffmpeg[X,mp3,sdl,theora,truetype] |
111 |
- >=virtual/jre-1.6 |
112 |
- amd64? ( 32bit? ( |
113 |
- app-emulation/emul-linux-x86-gtklibs |
114 |
- app-emulation/emul-linux-x86-gtkmmlibs |
115 |
- app-emulation/emul-linux-x86-medialibs |
116 |
- app-emulation/emul-linux-x86-opengl |
117 |
- app-emulation/emul-linux-x86-sdl |
118 |
- app-emulation/emul-linux-x86-soundlibs |
119 |
- app-emulation/emul-linux-x86-xlibs[opengl] |
120 |
- ) ) |
121 |
- ) |
122 |
- games-util/desurium[32bit?] |
123 |
- media-libs/desurium-cef" |
124 |
|
125 |
diff --git a/games-util/desurium-meta/metadata.xml b/games-util/desurium-meta/metadata.xml |
126 |
deleted file mode 100644 |
127 |
index 41dac1d..0000000 |
128 |
--- a/games-util/desurium-meta/metadata.xml |
129 |
+++ /dev/null |
130 |
@@ -1,17 +0,0 @@ |
131 |
-<?xml version="1.0" encoding="UTF-8"?> |
132 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
133 |
-<pkgmetadata> |
134 |
- <herd>games</herd> |
135 |
- <maintainer> |
136 |
- <email>git@×××××××××××.de</email> |
137 |
- <name>Karol Herbst</name> |
138 |
- </maintainer> |
139 |
- <longdescription lang="en"> |
140 |
- Desura is a gaming client that allows users to one click download and install games and game modification. |
141 |
- For more information, visit http://www.moddb.com/groups/desura/forum/thread/open-sourcing-desura |
142 |
- </longdescription> |
143 |
- <use> |
144 |
- <flag name="32bit">add support for 32bit games in desurium</flag> |
145 |
- <flag name="games-deps">RUNTIME USE FLAG install known dependencies of games in desura</flag> |
146 |
- </use> |
147 |
-</pkgmetadata> |
148 |
|
149 |
diff --git a/games-util/desurium/desurium-0.8.0_rc10-r1.ebuild b/games-util/desurium/desurium-0.8.0_rc10-r1.ebuild |
150 |
deleted file mode 100644 |
151 |
index cf7d11f..0000000 |
152 |
--- a/games-util/desurium/desurium-0.8.0_rc10-r1.ebuild |
153 |
+++ /dev/null |
154 |
@@ -1,155 +0,0 @@ |
155 |
-# Copyright 1999-2012 Gentoo Foundation |
156 |
-# Distributed under the terms of the GNU General Public License v2 |
157 |
-# $Header: $ |
158 |
- |
159 |
-EAPI=5 |
160 |
- |
161 |
-unset GIT_ECLASS |
162 |
-unset WX_ECLASS |
163 |
- |
164 |
-GITHUB_MAINTAINER="lodle" |
165 |
-GITHUB_PROJECT="Desurium" |
166 |
- |
167 |
-# tools versions |
168 |
-BREAKPAD_ARC="breakpad-850.tar.gz" |
169 |
-CEF_ARC="cef-291.tar.gz" |
170 |
-WX_ARC="wxWidgets-2.9.3.tar.bz2" |
171 |
-WX_GTK_VER="2.9" |
172 |
- |
173 |
-if [[ ${PV} = 9999* ]]; then |
174 |
- EGIT_REPO_URI="git://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}.git" |
175 |
- GIT_ECLASS="git-2" |
176 |
- SRC_URI="" |
177 |
- EGIT_NOUNPACK="true" |
178 |
-else |
179 |
- DESURIUM_ARC="${P}.tar.gz" |
180 |
- SRC_URI="http://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}/tarball/${PV} -> ${DESURIUM_ARC}" |
181 |
-fi |
182 |
-SRC_URI="${SRC_URI} |
183 |
- mirror://sourceforge/desurium/${BREAKPAD_ARC} |
184 |
- mirror://sourceforge/desurium/${CEF_ARC} |
185 |
- bundled-wxgtk? ( |
186 |
- ftp://ftp.wxwidgets.org/pub/2.9.3/${WX_ARC} |
187 |
- )" |
188 |
- |
189 |
-inherit cmake-utils eutils ${GIT_ECLASS} gnome2-utils wxwidgets games toolchain-funcs |
190 |
- |
191 |
-DESCRIPTION="Free software version of Desura game client" |
192 |
-HOMEPAGE="https://github.com/lodle/Desurium" |
193 |
-LICENSE="GPL-3" |
194 |
-SLOT="0" |
195 |
-IUSE="+32bit +bundled-wxgtk debug test tools" |
196 |
- |
197 |
-if [[ ${PV} != 9999* ]]; then |
198 |
- KEYWORDS="~amd64 ~x86" |
199 |
-fi |
200 |
- |
201 |
-# wxGTK-2.9.4.1 does not work! |
202 |
-COMMON_DEPEND="app-arch/bzip2 |
203 |
- dev-db/sqlite |
204 |
- >=dev-libs/boost-1.47:= |
205 |
- dev-libs/glib:2 |
206 |
- dev-libs/openssl:0 |
207 |
- |
208 |
- || ( <dev-libs/tinyxml-2.6.2-r2[-stl] |
209 |
- >=dev-libs/tinyxml-2.6.2-r2 |
210 |
- ) |
211 |
- |
212 |
- dev-lang/v8:= |
213 |
- || ( |
214 |
- net-misc/curl[adns] |
215 |
- net-misc/curl[ares] |
216 |
- net-misc/curl[threads] |
217 |
- ) |
218 |
- >=sys-devel/gcc-4.6 |
219 |
- x11-libs/gtk+:2 |
220 |
- x11-libs/libnotify |
221 |
- x11-libs/libXt |
222 |
- !bundled-wxgtk? ( |
223 |
- =x11-libs/wxGTK-2.9.3.1[X] |
224 |
- ) |
225 |
- |
226 |
- amd64? ( 32bit? ( |
227 |
- sys-devel/gcc[multilib] |
228 |
- ) )" |
229 |
-RDEPEND=">=media-libs/desurium-cef-4 |
230 |
- x11-misc/xdg-user-dirs |
231 |
- x11-misc/xdg-utils |
232 |
- ${COMMON_DEPEND}" |
233 |
-DEPEND="${COMMON_DEPEND} |
234 |
- virtual/pkgconfig" |
235 |
- |
236 |
-pkg_pretend() { |
237 |
- if [[ ${MERGE_TYPE} != binary ]]; then |
238 |
- if [[ $(tc-getCC) =~ gcc ]]; then |
239 |
- if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 6 || $(gcc-major-version) -lt 4 ]] ; then |
240 |
- eerror "You need at least sys-devel/gcc-4.6.0" |
241 |
- die "You need at least sys-devel/gcc-4.6.0" |
242 |
- fi |
243 |
- fi |
244 |
- fi |
245 |
-} |
246 |
- |
247 |
-src_unpack() { |
248 |
- if [[ ${PV} = 9999* ]]; then |
249 |
- git-2_src_unpack |
250 |
- else |
251 |
- unpack ${DESURIUM_ARC} |
252 |
- S="${WORKDIR}/$(ls ${WORKDIR})" |
253 |
- fi |
254 |
-} |
255 |
- |
256 |
-src_configure() { |
257 |
- # -DWITH_ARES=FALSE will use system curl, because we force curl[ares] to have ares support |
258 |
- local mycmakeargs=( |
259 |
- -DWITH_ARES=FALSE |
260 |
- -DFORCE_SYS_DEPS=TRUE |
261 |
- -DBUILD_CEF=FALSE |
262 |
- $(cmake-utils_use test BUILD_TESTS) |
263 |
- -BUILD_ONLY_CEF=FALSE |
264 |
- $(cmake-utils_use debug DEBUG) |
265 |
- $(cmake-utils_use 32bit 32BIT_SUPPORT) |
266 |
- $(cmake-utils_use tools BUILD_TOOLS) |
267 |
- -DWITH_FLASH=FALSE |
268 |
- -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" |
269 |
- -DBREAKPAD_URL="file://${DISTDIR}/${BREAKPAD_ARC}" |
270 |
- -DCEF_URL="file://${DISTDIR}/${CEF_ARC}" |
271 |
- -DBINDIR="${GAMES_BINDIR}" |
272 |
- -DDATADIR="${GAMES_DATADIR}" |
273 |
- -DRUNTIME_LIBDIR="$(games_get_libdir)" |
274 |
- -DINSTALL_DESKTOP_FILE=FALSE |
275 |
- -DDESKTOP_EXE=desura |
276 |
- -DDESKTOP_ICON=desurium |
277 |
- $(cmake-utils_use bundled-wxgtk FORCE_BUNDLED_WXGTK) |
278 |
- $(use bundled-wxgtk && echo -DWXWIDGET_URL="file://${DISTDIR}/${WX_ARC}") |
279 |
- ) |
280 |
- cmake-utils_src_configure |
281 |
-} |
282 |
- |
283 |
-src_compile() { |
284 |
- # even autotools does not respect AR properly sometimes |
285 |
- cmake-utils_src_compile AR=$(tc-getAR) |
286 |
-} |
287 |
- |
288 |
-src_install() { |
289 |
- cmake-utils_src_install |
290 |
- |
291 |
- newicon -s scalable "${S}/src/branding_${PN}/sources/desubot.svg" "${PN}.svg" |
292 |
- domenu "${BUILD_DIR}/desura.desktop" |
293 |
- |
294 |
- prepgamesdirs |
295 |
-} |
296 |
- |
297 |
-pkg_preinst() { |
298 |
- games_pkg_preinst |
299 |
- gnome2_icon_savelist |
300 |
-} |
301 |
- |
302 |
-pkg_postinst() { |
303 |
- games_pkg_postinst |
304 |
- gnome2_icon_cache_update |
305 |
-} |
306 |
- |
307 |
-pkg_postrm() { |
308 |
- gnome2_icon_cache_update |
309 |
-} |
310 |
|
311 |
diff --git a/games-util/desurium/desurium-0.8.0_rc10-r2.ebuild b/games-util/desurium/desurium-0.8.0_rc10-r2.ebuild |
312 |
deleted file mode 100644 |
313 |
index d68e745..0000000 |
314 |
--- a/games-util/desurium/desurium-0.8.0_rc10-r2.ebuild |
315 |
+++ /dev/null |
316 |
@@ -1,159 +0,0 @@ |
317 |
-# Copyright 1999-2012 Gentoo Foundation |
318 |
-# Distributed under the terms of the GNU General Public License v2 |
319 |
-# $Header: $ |
320 |
- |
321 |
-EAPI=5 |
322 |
- |
323 |
-unset GIT_ECLASS |
324 |
-unset WX_ECLASS |
325 |
- |
326 |
-GITHUB_MAINTAINER="lodle" |
327 |
-GITHUB_PROJECT="Desurium" |
328 |
- |
329 |
-# tools versions |
330 |
-BREAKPAD_ARC="breakpad-850.tar.gz" |
331 |
-CEF_ARC="cef-291.tar.gz" |
332 |
-WX_ARC="wxWidgets-2.9.3.tar.bz2" |
333 |
-WX_GTK_VER="2.9" |
334 |
- |
335 |
-if [[ ${PV} = 9999* ]]; then |
336 |
- EGIT_REPO_URI="git://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}.git" |
337 |
- GIT_ECLASS="git-2" |
338 |
- SRC_URI="" |
339 |
- EGIT_NOUNPACK="true" |
340 |
-else |
341 |
- DESURIUM_ARC="${P}.tar.gz" |
342 |
- SRC_URI="http://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}/tarball/${PV} -> ${DESURIUM_ARC}" |
343 |
-fi |
344 |
-SRC_URI="${SRC_URI} |
345 |
- mirror://sourceforge/desurium/${BREAKPAD_ARC} |
346 |
- mirror://sourceforge/desurium/${CEF_ARC} |
347 |
- bundled-wxgtk? ( |
348 |
- ftp://ftp.wxwidgets.org/pub/2.9.3/${WX_ARC} |
349 |
- )" |
350 |
- |
351 |
-inherit cmake-utils eutils ${GIT_ECLASS} gnome2-utils wxwidgets games toolchain-funcs |
352 |
- |
353 |
-DESCRIPTION="Free software version of Desura game client" |
354 |
-HOMEPAGE="https://github.com/lodle/Desurium" |
355 |
-LICENSE="GPL-3" |
356 |
-SLOT="0" |
357 |
-IUSE="+32bit +bundled-wxgtk debug test tools" |
358 |
- |
359 |
-if [[ ${PV} != 9999* ]]; then |
360 |
- KEYWORDS="~amd64 ~x86" |
361 |
-fi |
362 |
- |
363 |
-# wxGTK-2.9.4.1 does not work! |
364 |
-COMMON_DEPEND="app-arch/bzip2 |
365 |
- dev-db/sqlite |
366 |
- >=dev-libs/boost-1.47:= |
367 |
- dev-libs/glib:2 |
368 |
- dev-libs/openssl:0 |
369 |
- |
370 |
- || ( <dev-libs/tinyxml-2.6.2-r2[-stl] |
371 |
- >=dev-libs/tinyxml-2.6.2-r2 |
372 |
- ) |
373 |
- |
374 |
- dev-lang/v8:= |
375 |
- || ( |
376 |
- net-misc/curl[adns] |
377 |
- net-misc/curl[ares] |
378 |
- net-misc/curl[threads] |
379 |
- ) |
380 |
- >=sys-devel/gcc-4.6 |
381 |
- x11-libs/gtk+:2 |
382 |
- x11-libs/libnotify |
383 |
- x11-libs/libXt |
384 |
- !bundled-wxgtk? ( |
385 |
- =x11-libs/wxGTK-2.9.3.1[X] |
386 |
- ) |
387 |
- |
388 |
- amd64? ( 32bit? ( |
389 |
- sys-devel/gcc[multilib] |
390 |
- ) )" |
391 |
-RDEPEND=">=media-libs/desurium-cef-4 |
392 |
- x11-misc/xdg-user-dirs |
393 |
- x11-misc/xdg-utils |
394 |
- ${COMMON_DEPEND}" |
395 |
-DEPEND="${COMMON_DEPEND} |
396 |
- virtual/pkgconfig" |
397 |
- |
398 |
-pkg_pretend() { |
399 |
- if [[ ${MERGE_TYPE} != binary ]]; then |
400 |
- if [[ $(tc-getCC) =~ gcc ]]; then |
401 |
- if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 6 || $(gcc-major-version) -lt 4 ]] ; then |
402 |
- eerror "You need at least sys-devel/gcc-4.6.0" |
403 |
- die "You need at least sys-devel/gcc-4.6.0" |
404 |
- fi |
405 |
- fi |
406 |
- fi |
407 |
-} |
408 |
- |
409 |
-src_unpack() { |
410 |
- if [[ ${PV} = 9999* ]]; then |
411 |
- git-2_src_unpack |
412 |
- else |
413 |
- unpack ${DESURIUM_ARC} |
414 |
- S="${WORKDIR}/$(ls ${WORKDIR})" |
415 |
- fi |
416 |
-} |
417 |
- |
418 |
-src_prepare() { |
419 |
- epatch "${FILESDIR}/${PN}-v8-3.19.18.patch" |
420 |
-} |
421 |
- |
422 |
-src_configure() { |
423 |
- # -DWITH_ARES=FALSE will use system curl, because we force curl[ares] to have ares support |
424 |
- local mycmakeargs=( |
425 |
- -DWITH_ARES=FALSE |
426 |
- -DFORCE_SYS_DEPS=TRUE |
427 |
- -DBUILD_CEF=FALSE |
428 |
- $(cmake-utils_use test BUILD_TESTS) |
429 |
- -BUILD_ONLY_CEF=FALSE |
430 |
- $(cmake-utils_use debug DEBUG) |
431 |
- $(cmake-utils_use 32bit 32BIT_SUPPORT) |
432 |
- $(cmake-utils_use tools BUILD_TOOLS) |
433 |
- -DWITH_FLASH=FALSE |
434 |
- -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" |
435 |
- -DBREAKPAD_URL="file://${DISTDIR}/${BREAKPAD_ARC}" |
436 |
- -DCEF_URL="file://${DISTDIR}/${CEF_ARC}" |
437 |
- -DBINDIR="${GAMES_BINDIR}" |
438 |
- -DDATADIR="${GAMES_DATADIR}" |
439 |
- -DRUNTIME_LIBDIR="$(games_get_libdir)" |
440 |
- -DINSTALL_DESKTOP_FILE=FALSE |
441 |
- -DDESKTOP_EXE=desura |
442 |
- -DDESKTOP_ICON=desurium |
443 |
- $(cmake-utils_use bundled-wxgtk FORCE_BUNDLED_WXGTK) |
444 |
- $(use bundled-wxgtk && echo -DWXWIDGET_URL="file://${DISTDIR}/${WX_ARC}") |
445 |
- ) |
446 |
- cmake-utils_src_configure |
447 |
-} |
448 |
- |
449 |
-src_compile() { |
450 |
- # even autotools does not respect AR properly sometimes |
451 |
- cmake-utils_src_compile AR=$(tc-getAR) |
452 |
-} |
453 |
- |
454 |
-src_install() { |
455 |
- cmake-utils_src_install |
456 |
- |
457 |
- newicon -s scalable "${S}/src/branding_${PN}/sources/desubot.svg" "${PN}.svg" |
458 |
- domenu "${BUILD_DIR}/desura.desktop" |
459 |
- |
460 |
- prepgamesdirs |
461 |
-} |
462 |
- |
463 |
-pkg_preinst() { |
464 |
- games_pkg_preinst |
465 |
- gnome2_icon_savelist |
466 |
-} |
467 |
- |
468 |
-pkg_postinst() { |
469 |
- games_pkg_postinst |
470 |
- gnome2_icon_cache_update |
471 |
-} |
472 |
- |
473 |
-pkg_postrm() { |
474 |
- gnome2_icon_cache_update |
475 |
-} |
476 |
|
477 |
diff --git a/games-util/desurium/desurium-0.8.0_rc9-r1.ebuild b/games-util/desurium/desurium-0.8.0_rc9-r1.ebuild |
478 |
deleted file mode 100644 |
479 |
index 125ddb7..0000000 |
480 |
--- a/games-util/desurium/desurium-0.8.0_rc9-r1.ebuild |
481 |
+++ /dev/null |
482 |
@@ -1,157 +0,0 @@ |
483 |
-# Copyright 1999-2012 Gentoo Foundation |
484 |
-# Distributed under the terms of the GNU General Public License v2 |
485 |
-# $Header: $ |
486 |
- |
487 |
-EAPI=5 |
488 |
- |
489 |
-unset GIT_ECLASS |
490 |
-unset WX_ECLASS |
491 |
- |
492 |
-GITHUB_MAINTAINER="lodle" |
493 |
-GITHUB_PROJECT="Desurium" |
494 |
- |
495 |
-# tools versions |
496 |
-BREAKPAD_ARC="breakpad-850.tar.gz" |
497 |
-CEF_ARC="cef-291.tar.gz" |
498 |
-WX_ARC="wxWidgets-2.9.3.tar.bz2" |
499 |
-WX_GTK_VER="2.9" |
500 |
- |
501 |
-if [[ ${PV} = 9999* ]]; then |
502 |
- EGIT_REPO_URI="git://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}.git" |
503 |
- GIT_ECLASS="git-2" |
504 |
- SRC_URI="" |
505 |
- EGIT_NOUNPACK="true" |
506 |
-else |
507 |
- DESURIUM_ARC="${P}.tar.gz" |
508 |
- SRC_URI="http://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}/tarball/${PV} -> ${DESURIUM_ARC}" |
509 |
-fi |
510 |
-SRC_URI="${SRC_URI} |
511 |
- mirror://sourceforge/desurium/${BREAKPAD_ARC} |
512 |
- mirror://sourceforge/desurium/${CEF_ARC} |
513 |
- bundled-wxgtk? ( |
514 |
- ftp://ftp.wxwidgets.org/pub/2.9.3/${WX_ARC} |
515 |
- )" |
516 |
- |
517 |
-inherit cmake-utils eutils ${GIT_ECLASS} gnome2-utils wxwidgets games toolchain-funcs |
518 |
- |
519 |
-DESCRIPTION="Free software version of Desura game client" |
520 |
-HOMEPAGE="https://github.com/lodle/Desurium" |
521 |
-LICENSE="GPL-3" |
522 |
-SLOT="0" |
523 |
-IUSE="+32bit +bundled-wxgtk debug test tools" |
524 |
- |
525 |
-if [[ ${PV} != 9999* ]]; then |
526 |
- KEYWORDS="~amd64 ~x86" |
527 |
-fi |
528 |
- |
529 |
-# wxGTK-2.9.4.1 does not work! |
530 |
-COMMON_DEPEND="app-arch/bzip2 |
531 |
- dev-db/sqlite |
532 |
- >=dev-libs/boost-1.47:= |
533 |
- dev-libs/glib:2 |
534 |
- dev-libs/openssl:0 |
535 |
- |
536 |
- || ( <dev-libs/tinyxml-2.6.2-r2[-stl] |
537 |
- >=dev-libs/tinyxml-2.6.2-r2 |
538 |
- ) |
539 |
- |
540 |
- dev-lang/v8:= |
541 |
- || ( |
542 |
- net-misc/curl[adns] |
543 |
- net-misc/curl[ares] |
544 |
- net-misc/curl[threads] |
545 |
- ) |
546 |
- >=sys-devel/gcc-4.6 |
547 |
- x11-libs/gtk+:2 |
548 |
- x11-libs/libnotify |
549 |
- x11-libs/libXt |
550 |
- !bundled-wxgtk? ( |
551 |
- =x11-libs/wxGTK-2.9.3.1[X] |
552 |
- ) |
553 |
- |
554 |
- amd64? ( 32bit? ( |
555 |
- sys-devel/gcc[multilib] |
556 |
- ) )" |
557 |
-RDEPEND=">=media-libs/desurium-cef-4 |
558 |
- x11-misc/xdg-user-dirs |
559 |
- x11-misc/xdg-utils |
560 |
- ${COMMON_DEPEND}" |
561 |
-DEPEND="${COMMON_DEPEND} |
562 |
- virtual/pkgconfig" |
563 |
- |
564 |
-pkg_pretend() { |
565 |
- if [[ ${MERGE_TYPE} != binary ]]; then |
566 |
- if [[ $(tc-getCC) =~ gcc ]]; then |
567 |
- if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 6 || $(gcc-major-version) -lt 4 ]] ; then |
568 |
- eerror "You need at least sys-devel/gcc-4.6.0" |
569 |
- die "You need at least sys-devel/gcc-4.6.0" |
570 |
- fi |
571 |
- fi |
572 |
- fi |
573 |
-} |
574 |
- |
575 |
-src_unpack() { |
576 |
- if [[ ${PV} = 9999* ]]; then |
577 |
- git-2_src_unpack |
578 |
- else |
579 |
- unpack ${DESURIUM_ARC} |
580 |
- S="${WORKDIR}/$(ls ${WORKDIR})" |
581 |
- fi |
582 |
-} |
583 |
- |
584 |
-src_prepare() { |
585 |
- epatch "${FILESDIR}/${PN}-v8-3.19.18.patch" |
586 |
-} |
587 |
- |
588 |
-src_configure() { |
589 |
- # -DWITH_ARES=FALSE will use system curl, because we force curl[ares] to have ares support |
590 |
- local mycmakeargs=( |
591 |
- -DWITH_ARES=FALSE |
592 |
- -DFORCE_SYS_DEPS=TRUE |
593 |
- -DBUILD_CEF=FALSE |
594 |
- $(cmake-utils_use test BUILD_TESTS) |
595 |
- -BUILD_ONLY_CEF=FALSE |
596 |
- $(cmake-utils_use debug DEBUG) |
597 |
- $(cmake-utils_use 32bit 32BIT_SUPPORT) |
598 |
- $(cmake-utils_use tools BUILD_TOOLS) |
599 |
- -DWITH_FLASH=FALSE |
600 |
- -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" |
601 |
- -DBREAKPAD_URL="file://${DISTDIR}/${BREAKPAD_ARC}" |
602 |
- -DCEF_URL="file://${DISTDIR}/${CEF_ARC}" |
603 |
- -DBINDIR="${GAMES_BINDIR}" |
604 |
- -DDATADIR="${GAMES_DATADIR}" |
605 |
- -DRUNTIME_LIBDIR="$(games_get_libdir)" |
606 |
- -DDESKTOPDIR="/usr/share/applications" |
607 |
- $(cmake-utils_use bundled-wxgtk FORCE_BUNDLED_WXGTK) |
608 |
- $(use bundled-wxgtk && echo -DWXWIDGET_URL="file://${DISTDIR}/${WX_ARC}") |
609 |
- ) |
610 |
- cmake-utils_src_configure |
611 |
-} |
612 |
- |
613 |
-src_compile() { |
614 |
- # even autotools does not respect AR properly sometimes |
615 |
- cmake-utils_src_compile AR=$(tc-getAR) |
616 |
-} |
617 |
- |
618 |
-src_install() { |
619 |
- cmake-utils_src_install |
620 |
- |
621 |
- newicon -s scalable "${S}/src/branding_${PN}/sources/desubot.svg" "${PN}.svg" |
622 |
- make_desktop_entry "${GAMES_BINDIR}/desura" "Desurium" "${PN}" |
623 |
- |
624 |
- prepgamesdirs |
625 |
-} |
626 |
- |
627 |
-pkg_preinst() { |
628 |
- games_pkg_preinst |
629 |
- gnome2_icon_savelist |
630 |
-} |
631 |
- |
632 |
-pkg_postinst() { |
633 |
- games_pkg_postinst |
634 |
- gnome2_icon_cache_update |
635 |
-} |
636 |
- |
637 |
-pkg_postrm() { |
638 |
- gnome2_icon_cache_update |
639 |
-} |
640 |
|
641 |
diff --git a/games-util/desurium/desurium-0.8.0_rc9.ebuild b/games-util/desurium/desurium-0.8.0_rc9.ebuild |
642 |
deleted file mode 100644 |
643 |
index cfc5317..0000000 |
644 |
--- a/games-util/desurium/desurium-0.8.0_rc9.ebuild |
645 |
+++ /dev/null |
646 |
@@ -1,153 +0,0 @@ |
647 |
-# Copyright 1999-2012 Gentoo Foundation |
648 |
-# Distributed under the terms of the GNU General Public License v2 |
649 |
-# $Header: $ |
650 |
- |
651 |
-EAPI=5 |
652 |
- |
653 |
-unset GIT_ECLASS |
654 |
-unset WX_ECLASS |
655 |
- |
656 |
-GITHUB_MAINTAINER="lodle" |
657 |
-GITHUB_PROJECT="Desurium" |
658 |
- |
659 |
-# tools versions |
660 |
-BREAKPAD_ARC="breakpad-850.tar.gz" |
661 |
-CEF_ARC="cef-291.tar.gz" |
662 |
-WX_ARC="wxWidgets-2.9.3.tar.bz2" |
663 |
-WX_GTK_VER="2.9" |
664 |
- |
665 |
-if [[ ${PV} = 9999* ]]; then |
666 |
- EGIT_REPO_URI="git://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}.git" |
667 |
- GIT_ECLASS="git-2" |
668 |
- SRC_URI="" |
669 |
- EGIT_NOUNPACK="true" |
670 |
-else |
671 |
- DESURIUM_ARC="${P}.tar.gz" |
672 |
- SRC_URI="http://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}/tarball/${PV} -> ${DESURIUM_ARC}" |
673 |
-fi |
674 |
-SRC_URI="${SRC_URI} |
675 |
- mirror://sourceforge/desurium/${BREAKPAD_ARC} |
676 |
- mirror://sourceforge/desurium/${CEF_ARC} |
677 |
- bundled-wxgtk? ( |
678 |
- ftp://ftp.wxwidgets.org/pub/2.9.3/${WX_ARC} |
679 |
- )" |
680 |
- |
681 |
-inherit cmake-utils eutils ${GIT_ECLASS} gnome2-utils wxwidgets games toolchain-funcs |
682 |
- |
683 |
-DESCRIPTION="Free software version of Desura game client" |
684 |
-HOMEPAGE="https://github.com/lodle/Desurium" |
685 |
-LICENSE="GPL-3" |
686 |
-SLOT="0" |
687 |
-IUSE="+32bit +bundled-wxgtk debug test tools" |
688 |
- |
689 |
-if [[ ${PV} != 9999* ]]; then |
690 |
- KEYWORDS="~amd64 ~x86" |
691 |
-fi |
692 |
- |
693 |
-# wxGTK-2.9.4.1 does not work! |
694 |
-COMMON_DEPEND="app-arch/bzip2 |
695 |
- dev-db/sqlite |
696 |
- >=dev-libs/boost-1.47:= |
697 |
- dev-libs/glib:2 |
698 |
- dev-libs/openssl:0 |
699 |
- |
700 |
- || ( <dev-libs/tinyxml-2.6.2-r2[-stl] |
701 |
- >=dev-libs/tinyxml-2.6.2-r2 |
702 |
- ) |
703 |
- |
704 |
- dev-lang/v8:= |
705 |
- || ( |
706 |
- net-misc/curl[adns] |
707 |
- net-misc/curl[ares] |
708 |
- net-misc/curl[threads] |
709 |
- ) |
710 |
- >=sys-devel/gcc-4.6 |
711 |
- x11-libs/gtk+:2 |
712 |
- x11-libs/libnotify |
713 |
- x11-libs/libXt |
714 |
- !bundled-wxgtk? ( |
715 |
- =x11-libs/wxGTK-2.9.3.1[X] |
716 |
- ) |
717 |
- |
718 |
- amd64? ( 32bit? ( |
719 |
- sys-devel/gcc[multilib] |
720 |
- ) )" |
721 |
-RDEPEND=">=media-libs/desurium-cef-4 |
722 |
- x11-misc/xdg-user-dirs |
723 |
- x11-misc/xdg-utils |
724 |
- ${COMMON_DEPEND}" |
725 |
-DEPEND="${COMMON_DEPEND} |
726 |
- virtual/pkgconfig" |
727 |
- |
728 |
-pkg_pretend() { |
729 |
- if [[ ${MERGE_TYPE} != binary ]]; then |
730 |
- if [[ $(tc-getCC) =~ gcc ]]; then |
731 |
- if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 6 || $(gcc-major-version) -lt 4 ]] ; then |
732 |
- eerror "You need at least sys-devel/gcc-4.6.0" |
733 |
- die "You need at least sys-devel/gcc-4.6.0" |
734 |
- fi |
735 |
- fi |
736 |
- fi |
737 |
-} |
738 |
- |
739 |
-src_unpack() { |
740 |
- if [[ ${PV} = 9999* ]]; then |
741 |
- git-2_src_unpack |
742 |
- else |
743 |
- unpack ${DESURIUM_ARC} |
744 |
- S="${WORKDIR}/$(ls ${WORKDIR})" |
745 |
- fi |
746 |
-} |
747 |
- |
748 |
-src_configure() { |
749 |
- # -DWITH_ARES=FALSE will use system curl, because we force curl[ares] to have ares support |
750 |
- local mycmakeargs=( |
751 |
- -DWITH_ARES=FALSE |
752 |
- -DFORCE_SYS_DEPS=TRUE |
753 |
- -DBUILD_CEF=FALSE |
754 |
- $(cmake-utils_use test BUILD_TESTS) |
755 |
- -BUILD_ONLY_CEF=FALSE |
756 |
- $(cmake-utils_use debug DEBUG) |
757 |
- $(cmake-utils_use 32bit 32BIT_SUPPORT) |
758 |
- $(cmake-utils_use tools BUILD_TOOLS) |
759 |
- -DWITH_FLASH=FALSE |
760 |
- -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" |
761 |
- -DBREAKPAD_URL="file://${DISTDIR}/${BREAKPAD_ARC}" |
762 |
- -DCEF_URL="file://${DISTDIR}/${CEF_ARC}" |
763 |
- -DBINDIR="${GAMES_BINDIR}" |
764 |
- -DDATADIR="${GAMES_DATADIR}" |
765 |
- -DRUNTIME_LIBDIR="$(games_get_libdir)" |
766 |
- -DDESKTOPDIR="/usr/share/applications" |
767 |
- $(cmake-utils_use bundled-wxgtk FORCE_BUNDLED_WXGTK) |
768 |
- $(use bundled-wxgtk && echo -DWXWIDGET_URL="file://${DISTDIR}/${WX_ARC}") |
769 |
- ) |
770 |
- cmake-utils_src_configure |
771 |
-} |
772 |
- |
773 |
-src_compile() { |
774 |
- # even autotools does not respect AR properly sometimes |
775 |
- cmake-utils_src_compile AR=$(tc-getAR) |
776 |
-} |
777 |
- |
778 |
-src_install() { |
779 |
- cmake-utils_src_install |
780 |
- |
781 |
- newicon -s scalable "${S}/src/branding_${PN}/sources/desubot.svg" "${PN}.svg" |
782 |
- make_desktop_entry "${GAMES_BINDIR}/desura" "Desurium" "${PN}" |
783 |
- |
784 |
- prepgamesdirs |
785 |
-} |
786 |
- |
787 |
-pkg_preinst() { |
788 |
- games_pkg_preinst |
789 |
- gnome2_icon_savelist |
790 |
-} |
791 |
- |
792 |
-pkg_postinst() { |
793 |
- games_pkg_postinst |
794 |
- gnome2_icon_cache_update |
795 |
-} |
796 |
- |
797 |
-pkg_postrm() { |
798 |
- gnome2_icon_cache_update |
799 |
-} |
800 |
|
801 |
diff --git a/games-util/desurium/desurium-9999.ebuild b/games-util/desurium/desurium-9999.ebuild |
802 |
deleted file mode 100644 |
803 |
index 79545ca..0000000 |
804 |
--- a/games-util/desurium/desurium-9999.ebuild |
805 |
+++ /dev/null |
806 |
@@ -1,155 +0,0 @@ |
807 |
-# Copyright 1999-2012 Gentoo Foundation |
808 |
-# Distributed under the terms of the GNU General Public License v2 |
809 |
-# $Header: $ |
810 |
- |
811 |
-EAPI=5 |
812 |
- |
813 |
-unset GIT_ECLASS |
814 |
-unset WX_ECLASS |
815 |
- |
816 |
-GITHUB_MAINTAINER="desura" |
817 |
-GITHUB_PROJECT="Desurium" |
818 |
- |
819 |
-# tools versions |
820 |
-BREAKPAD_ARC="breakpad-850.tar.gz" |
821 |
-CEF_ARC="cef-291.tar.gz" |
822 |
-WX_ARC="wxWidgets-2.9.3.tar.bz2" |
823 |
-WX_GTK_VER="2.9" |
824 |
- |
825 |
-if [[ ${PV} = 9999* ]]; then |
826 |
- EGIT_REPO_URI="git://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}.git" |
827 |
- GIT_ECLASS="git-2" |
828 |
- SRC_URI="" |
829 |
- EGIT_NOUNPACK="true" |
830 |
-else |
831 |
- DESURIUM_ARC="${P}.tar.gz" |
832 |
- SRC_URI="http://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}/tarball/${PV} -> ${DESURIUM_ARC}" |
833 |
-fi |
834 |
-SRC_URI="${SRC_URI} |
835 |
- mirror://sourceforge/desurium/${BREAKPAD_ARC} |
836 |
- mirror://sourceforge/desurium/${CEF_ARC} |
837 |
- bundled-wxgtk? ( |
838 |
- ftp://ftp.wxwidgets.org/pub/2.9.3/${WX_ARC} |
839 |
- )" |
840 |
- |
841 |
-inherit cmake-utils eutils ${GIT_ECLASS} gnome2-utils wxwidgets games toolchain-funcs |
842 |
- |
843 |
-DESCRIPTION="Free software version of Desura game client" |
844 |
-HOMEPAGE="https://github.com/lodle/Desurium" |
845 |
-LICENSE="GPL-3" |
846 |
-SLOT="0" |
847 |
-IUSE="+32bit +bundled-wxgtk debug gtest test tools" |
848 |
- |
849 |
-if [[ ${PV} != 9999* ]]; then |
850 |
- KEYWORDS="~amd64 ~x86" |
851 |
-fi |
852 |
- |
853 |
-# wxGTK-2.9.4.1 does not work! |
854 |
-COMMON_DEPEND="app-arch/bzip2 |
855 |
- gtest? ( |
856 |
- dev-cpp/gtest |
857 |
- ) |
858 |
- dev-db/sqlite |
859 |
- >=dev-libs/boost-1.47:= |
860 |
- dev-libs/glib:2 |
861 |
- dev-libs/openssl:0 |
862 |
- dev-libs/tinyxml2 |
863 |
- dev-lang/v8:= |
864 |
- || ( |
865 |
- net-misc/curl[adns] |
866 |
- net-misc/curl[ares] |
867 |
- net-misc/curl[threads] |
868 |
- ) |
869 |
- >=sys-devel/gcc-4.6 |
870 |
- x11-libs/gtk+:2 |
871 |
- x11-libs/libnotify |
872 |
- x11-libs/libXt |
873 |
- !bundled-wxgtk? ( |
874 |
- =x11-libs/wxGTK-2.9.3.1[X] |
875 |
- ) |
876 |
- |
877 |
- amd64? ( 32bit? ( |
878 |
- sys-devel/gcc[multilib] |
879 |
- ) )" |
880 |
-RDEPEND=">=media-libs/desurium-cef-4 |
881 |
- x11-misc/xdg-user-dirs |
882 |
- x11-misc/xdg-utils |
883 |
- ${COMMON_DEPEND}" |
884 |
-DEPEND="${COMMON_DEPEND} |
885 |
- virtual/pkgconfig" |
886 |
- |
887 |
-pkg_pretend() { |
888 |
- if [[ ${MERGE_TYPE} != binary ]]; then |
889 |
- if [[ $(tc-getCC) =~ gcc ]]; then |
890 |
- if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 6 || $(gcc-major-version) -lt 4 ]] ; then |
891 |
- eerror "You need at least sys-devel/gcc-4.6.0" |
892 |
- die "You need at least sys-devel/gcc-4.6.0" |
893 |
- fi |
894 |
- fi |
895 |
- fi |
896 |
-} |
897 |
- |
898 |
-src_unpack() { |
899 |
- if [[ ${PV} = 9999* ]]; then |
900 |
- git-2_src_unpack |
901 |
- else |
902 |
- unpack ${DESURIUM_ARC} |
903 |
- S="${WORKDIR}/$(ls ${WORKDIR})" |
904 |
- fi |
905 |
-} |
906 |
- |
907 |
-src_configure() { |
908 |
- # -DWITH_ARES=FALSE will use system curl, because we force curl[ares] to have ares support |
909 |
- local mycmakeargs=( |
910 |
- -DWITH_ARES=FALSE |
911 |
- -DFORCE_SYS_DEPS=TRUE |
912 |
- -DBUILD_CEF=FALSE |
913 |
- $(cmake-utils_use test BUILD_TESTS) |
914 |
- $(cmake-utils_use gtest WITH_GTEST) |
915 |
- -BUILD_ONLY_CEF=FALSE |
916 |
- $(cmake-utils_use debug DEBUG) |
917 |
- $(cmake-utils_use 32bit 32BIT_SUPPORT) |
918 |
- $(cmake-utils_use tools BUILD_TOOLS) |
919 |
- -DWITH_FLASH=FALSE |
920 |
- -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" |
921 |
- -DBREAKPAD_URL="file://${DISTDIR}/${BREAKPAD_ARC}" |
922 |
- -DCEF_URL="file://${DISTDIR}/${CEF_ARC}" |
923 |
- -DBINDIR="${GAMES_BINDIR}" |
924 |
- -DDATADIR="${GAMES_DATADIR}" |
925 |
- -DRUNTIME_LIBDIR="$(games_get_libdir)" |
926 |
- -DINSTALL_DESKTOP_FILE=FALSE |
927 |
- -DDESKTOP_EXE=desura |
928 |
- -DDESKTOP_ICON=desurium |
929 |
- $(cmake-utils_use bundled-wxgtk FORCE_BUNDLED_WXGTK) |
930 |
- $(use bundled-wxgtk && echo -DWXWIDGET_URL="file://${DISTDIR}/${WX_ARC}") |
931 |
- ) |
932 |
- cmake-utils_src_configure |
933 |
-} |
934 |
- |
935 |
-src_compile() { |
936 |
- # even autotools does not respect AR properly sometimes |
937 |
- cmake-utils_src_compile AR=$(tc-getAR) |
938 |
-} |
939 |
- |
940 |
-src_install() { |
941 |
- cmake-utils_src_install |
942 |
- |
943 |
- newicon -s scalable "${S}/src/branding_${PN}/sources/desubot.svg" "${PN}.svg" |
944 |
- domenu "${BUILD_DIR}/desura.desktop" |
945 |
- |
946 |
- prepgamesdirs |
947 |
-} |
948 |
- |
949 |
-pkg_preinst() { |
950 |
- games_pkg_preinst |
951 |
- gnome2_icon_savelist |
952 |
-} |
953 |
- |
954 |
-pkg_postinst() { |
955 |
- games_pkg_postinst |
956 |
- gnome2_icon_cache_update |
957 |
-} |
958 |
- |
959 |
-pkg_postrm() { |
960 |
- gnome2_icon_cache_update |
961 |
-} |
962 |
|
963 |
diff --git a/games-util/desurium/files/desurium-v8-3.19.18.patch b/games-util/desurium/files/desurium-v8-3.19.18.patch |
964 |
deleted file mode 100644 |
965 |
index ea9b1de..0000000 |
966 |
--- a/games-util/desurium/files/desurium-v8-3.19.18.patch |
967 |
+++ /dev/null |
968 |
@@ -1,95 +0,0 @@ |
969 |
-From c23c285ff185e5c97276cb323fdf1daa935eccad Mon Sep 17 00:00:00 2001 |
970 |
-From: Karol Herbst <git@×××××××××××.de> |
971 |
-Date: Wed, 3 Jul 2013 19:26:09 +0200 |
972 |
-Subject: [PATCH] static/scriptengine: use Handle instead of Persistence |
973 |
- |
974 |
-fixes #569 |
975 |
- |
976 |
-v2: make it compatible with older versions of v8 |
977 |
---- |
978 |
- src/static/scriptengine/code/ScriptCoreInternal.cpp | 8 ++++++-- |
979 |
- src/static/scriptengine/code/ScriptCoreInternal.h | 2 +- |
980 |
- src/static/scriptengine/code/jsExtensions.cpp | 6 +++--- |
981 |
- 3 files changed, 10 insertions(+), 6 deletions(-) |
982 |
- |
983 |
-diff --git a/src/static/scriptengine/code/ScriptCoreInternal.cpp b/src/static/scriptengine/code/ScriptCoreInternal.cpp |
984 |
-index 08d6d94..45565c3 100644 |
985 |
---- a/src/static/scriptengine/code/ScriptCoreInternal.cpp |
986 |
-+++ b/src/static/scriptengine/code/ScriptCoreInternal.cpp |
987 |
-@@ -16,6 +16,10 @@ |
988 |
- along with this program. If not, see <http://www.gnu.org/licenses/> |
989 |
- */ |
990 |
- |
991 |
-+// we need this for compatibility |
992 |
-+#ifndef V8_USE_UNSAFE_HANDLES |
993 |
-+#define V8_USE_UNSAFE_HANDLES 1 |
994 |
-+#endif |
995 |
- |
996 |
- #include "Common.h" |
997 |
- #include "ScriptCoreInternal.h" |
998 |
-@@ -70,7 +74,7 @@ void ScriptCoreInternal::init() |
999 |
- global->Set(v8::String::New("Warning"), v8::FunctionTemplate::New(JSWarning)); |
1000 |
- global->Set(v8::String::New("Debug"), v8::FunctionTemplate::New(JSDebug)); |
1001 |
- |
1002 |
-- v8::Persistent<v8::Context> context = v8::Context::New(RegisterJSBindings(), global); |
1003 |
-+ v8::Handle<v8::Context> context = v8::Context::New(RegisterJSBindings(), global); |
1004 |
- m_v8Context = context; |
1005 |
- } |
1006 |
- |
1007 |
-@@ -79,7 +83,7 @@ void ScriptCoreInternal::del() |
1008 |
- if (s_Disabled) |
1009 |
- return; |
1010 |
- |
1011 |
-- m_v8Context.Dispose(); |
1012 |
-+ m_v8Context.Clear(); |
1013 |
- } |
1014 |
- |
1015 |
- void ScriptCoreInternal::runString(const char* string) |
1016 |
-diff --git a/src/static/scriptengine/code/ScriptCoreInternal.h b/src/static/scriptengine/code/ScriptCoreInternal.h |
1017 |
-index a7bc5ce..5a44b70 100644 |
1018 |
---- a/src/static/scriptengine/code/ScriptCoreInternal.h |
1019 |
-+++ b/src/static/scriptengine/code/ScriptCoreInternal.h |
1020 |
-@@ -45,7 +45,7 @@ class ScriptCoreInternal |
1021 |
- |
1022 |
- static void OnFatalError(const char* location, const char* message); |
1023 |
- |
1024 |
-- v8::Persistent<v8::Context> m_v8Context; |
1025 |
-+ v8::Handle<v8::Context> m_v8Context; |
1026 |
- }; |
1027 |
- |
1028 |
- |
1029 |
-diff --git a/src/static/scriptengine/code/jsExtensions.cpp b/src/static/scriptengine/code/jsExtensions.cpp |
1030 |
-index a3179e4..2b5e243 100644 |
1031 |
---- a/src/static/scriptengine/code/jsExtensions.cpp |
1032 |
-+++ b/src/static/scriptengine/code/jsExtensions.cpp |
1033 |
-@@ -26,8 +26,8 @@ class JSObject : public ChromiumDLL::JavaScriptObjectI |
1034 |
- { |
1035 |
- public: |
1036 |
- JSObject(v8::Handle<v8::Value> obj, bool isException = false) |
1037 |
-+ : m_v8Object(obj) |
1038 |
- { |
1039 |
-- m_v8Object = v8::Persistent<v8::Value>::New(obj); |
1040 |
- m_iRefCount = 1; |
1041 |
- m_bIsException = isException; |
1042 |
- } |
1043 |
-@@ -224,7 +224,7 @@ class JSObject : public ChromiumDLL::JavaScriptObjectI |
1044 |
- return (T*)getUserObject(); |
1045 |
- } |
1046 |
- |
1047 |
-- v8::Persistent<v8::Value> getNative() |
1048 |
-+ v8::Handle<v8::Value> getNative() |
1049 |
- { |
1050 |
- return m_v8Object; |
1051 |
- } |
1052 |
-@@ -232,7 +232,7 @@ class JSObject : public ChromiumDLL::JavaScriptObjectI |
1053 |
- private: |
1054 |
- bool m_bIsException; |
1055 |
- uint32 m_iRefCount; |
1056 |
-- v8::Persistent<v8::Value> m_v8Object; |
1057 |
-+ v8::Handle<v8::Value> m_v8Object; |
1058 |
- }; |
1059 |
- |
1060 |
- |
1061 |
--- |
1062 |
-1.8.1.6 |
1063 |
- |
1064 |
|
1065 |
diff --git a/games-util/desurium/metadata.xml b/games-util/desurium/metadata.xml |
1066 |
deleted file mode 100644 |
1067 |
index 5385ea5..0000000 |
1068 |
--- a/games-util/desurium/metadata.xml |
1069 |
+++ /dev/null |
1070 |
@@ -1,17 +0,0 @@ |
1071 |
-<pkgmetadata> |
1072 |
- <herd>games</herd> |
1073 |
- <maintainer> |
1074 |
- <email>git@×××××××××××.de</email> |
1075 |
- <name>Karol Herbst</name> |
1076 |
- </maintainer> |
1077 |
- <longdescription lang="en"> |
1078 |
- Desura is a gaming client that allows users to one click download and install games and game modification. |
1079 |
- For more information, visit http://www.moddb.com/groups/desura/forum/thread/open-sourcing-desura |
1080 |
- </longdescription> |
1081 |
- <use> |
1082 |
- <flag name="32bit">add support for 32bit games in desurium</flag> |
1083 |
- <flag name="bundled-wxgtk">build own wxGTK+-2.9.3 (recommended)</flag> |
1084 |
- <flag name="gtest">enable runtime checks through gtest</flag> |
1085 |
- <flag name="tools">install useful tools e.g. uploader</flag> |
1086 |
- </use> |
1087 |
-</pkgmetadata> |
1088 |
|
1089 |
diff --git a/media-libs/desurium-cef/desurium-cef-4.ebuild b/media-libs/desurium-cef/desurium-cef-4.ebuild |
1090 |
deleted file mode 100644 |
1091 |
index e0668b6..0000000 |
1092 |
--- a/media-libs/desurium-cef/desurium-cef-4.ebuild |
1093 |
+++ /dev/null |
1094 |
@@ -1,105 +0,0 @@ |
1095 |
-# Copyright 1999-2012 Gentoo Foundation |
1096 |
-# Distributed under the terms of the GNU General Public License v2 |
1097 |
-# $Header: $ |
1098 |
- |
1099 |
-EAPI=5 |
1100 |
- |
1101 |
-PYTHON_COMPAT=( python2_6 python2_7 ) |
1102 |
- |
1103 |
-unset GIT_ECLASS |
1104 |
- |
1105 |
-GITHUB_MAINTAINER="lodle" |
1106 |
-GITHUB_PROJECT="Desurium" |
1107 |
-DESURIUM_VERSION="0.8.0_rc7" |
1108 |
- |
1109 |
-# tools versions |
1110 |
-CEF_ARC="cef-291.tar.gz" |
1111 |
-CHROMIUM_ARC="chromium-15.0.876.0.tar.bz2" |
1112 |
-DEPOT_TOOLS_ARC="depot_tools-145556-2.tar.gz" |
1113 |
- |
1114 |
-if [[ ${PV} = 9999* ]]; then |
1115 |
- EGIT_REPO_URI="git://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}.git" |
1116 |
- GIT_ECLASS="git-2" |
1117 |
- SRC_URI="" |
1118 |
- EGIT_NOUNPACK="true" |
1119 |
-else |
1120 |
- DESURIUM_ARC="desurium-${DESURIUM_VERSION}.tar.gz" |
1121 |
- SRC_URI="http://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}/tarball/${DESURIUM_VERSION} -> ${DESURIUM_ARC}" |
1122 |
-fi |
1123 |
-SRC_URI="${SRC_URI} |
1124 |
- mirror://sourceforge/desurium/${CEF_ARC} |
1125 |
- http://commondatastorage.googleapis.com/chromium-browser-official/${CHROMIUM_ARC} |
1126 |
- mirror://sourceforge/desurium/${DEPOT_TOOLS_ARC}" |
1127 |
- |
1128 |
-inherit check-reqs cmake-utils eutils ${GIT_ECLASS} python-any-r1 games |
1129 |
- |
1130 |
-CHECKREQS_DISK_BUILD="3G" |
1131 |
- |
1132 |
-DESCRIPTION="highly patched CEF by desurium." |
1133 |
-HOMEPAGE="https://github.com/lodle/Desurium" |
1134 |
-LICENSE="BSD" |
1135 |
-SLOT="0" |
1136 |
-IUSE="" |
1137 |
- |
1138 |
-if [[ ${PV} != 9999* ]]; then |
1139 |
- KEYWORDS="~amd64 ~x86" |
1140 |
-fi |
1141 |
- |
1142 |
-# wxGTK-2.9.4.1 does not work! |
1143 |
-COMMON_DEPEND=" |
1144 |
- app-arch/bzip2 |
1145 |
- dev-libs/dbus-glib |
1146 |
- dev-libs/libevent |
1147 |
- dev-libs/libxml2 |
1148 |
- dev-libs/nss |
1149 |
- media-libs/alsa-lib |
1150 |
- media-libs/flac |
1151 |
- media-libs/libpng:0 |
1152 |
- media-libs/libwebp |
1153 |
- media-libs/speex |
1154 |
- sys-apps/dbus |
1155 |
- sys-libs/zlib |
1156 |
- virtual/jpeg" |
1157 |
-RDEPEND="${COMMON_DEPEND}" |
1158 |
-DEPEND=" |
1159 |
- dev-lang/yasm |
1160 |
- dev-util/gperf |
1161 |
- ${COMMON_DEPEND} |
1162 |
- ${PYTHON_DEPS}" |
1163 |
- |
1164 |
-pkg_setup() { |
1165 |
- python-any-r1_pkg_setup |
1166 |
- games_pkg_setup |
1167 |
-} |
1168 |
- |
1169 |
-src_unpack() { |
1170 |
- if [[ ${PV} = 9999* ]]; then |
1171 |
- git-2_src_unpack |
1172 |
- else |
1173 |
- unpack ${DESURIUM_ARC} |
1174 |
- S="${WORKDIR}/$(ls ${WORKDIR})" |
1175 |
- fi |
1176 |
-} |
1177 |
- |
1178 |
-src_configure() { |
1179 |
- # -DWITH_ARES=FALSE will use system curl, because we force curl[ares] to have ares support |
1180 |
- local mycmakeargs=( |
1181 |
- -DFORCE_SYS_DEPS=TRUE |
1182 |
- -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" |
1183 |
- -DCEF_URL="file://${DISTDIR}/${CEF_ARC}" |
1184 |
- -DCHROMIUM_URL="file://${DISTDIR}/${CHROMIUM_ARC}" |
1185 |
- -DDEPOT_TOOLS_URL="file://${DISTDIR}/${DEPOT_TOOLS_ARC}" |
1186 |
- -DBUILD_ONLY_CEF=TRUE |
1187 |
- -DRUNTIME_LIBDIR="$(games_get_libdir)" |
1188 |
- ) |
1189 |
- cmake-utils_src_configure |
1190 |
-} |
1191 |
- |
1192 |
-src_compile() { |
1193 |
- cmake-utils_src_compile |
1194 |
-} |
1195 |
- |
1196 |
-src_install() { |
1197 |
- cmake-utils_src_install |
1198 |
- prepgamesdirs |
1199 |
-} |
1200 |
|
1201 |
diff --git a/media-libs/desurium-cef/desurium-cef-5-r1.ebuild b/media-libs/desurium-cef/desurium-cef-5-r1.ebuild |
1202 |
deleted file mode 100644 |
1203 |
index 8c94165..0000000 |
1204 |
--- a/media-libs/desurium-cef/desurium-cef-5-r1.ebuild |
1205 |
+++ /dev/null |
1206 |
@@ -1,110 +0,0 @@ |
1207 |
-# Copyright 1999-2012 Gentoo Foundation |
1208 |
-# Distributed under the terms of the GNU General Public License v2 |
1209 |
-# $Header: $ |
1210 |
- |
1211 |
-EAPI=5 |
1212 |
- |
1213 |
-PYTHON_COMPAT=( python2_6 python2_7 ) |
1214 |
- |
1215 |
-unset GIT_ECLASS |
1216 |
- |
1217 |
-GITHUB_MAINTAINER="lodle" |
1218 |
-GITHUB_PROJECT="Desurium" |
1219 |
-DESURIUM_VERSION="0.8.0_rc9" |
1220 |
- |
1221 |
-# tools versions |
1222 |
-CEF_ARC="cef-291.tar.gz" |
1223 |
-CHROMIUM_ARC="chromium-15.0.876.0.tar.bz2" |
1224 |
-DEPOT_TOOLS_ARC="depot_tools-145556-2.tar.gz" |
1225 |
- |
1226 |
-if [[ ${PV} = 9999* ]]; then |
1227 |
- EGIT_REPO_URI="git://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}.git" |
1228 |
- GIT_ECLASS="git-2" |
1229 |
- SRC_URI="" |
1230 |
- EGIT_NOUNPACK="true" |
1231 |
-else |
1232 |
- DESURIUM_ARC="desurium-${DESURIUM_VERSION}.tar.gz" |
1233 |
- SRC_URI="http://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}/tarball/${DESURIUM_VERSION} -> ${DESURIUM_ARC}" |
1234 |
-fi |
1235 |
-SRC_URI="${SRC_URI} |
1236 |
- mirror://sourceforge/desurium/${CEF_ARC} |
1237 |
- http://commondatastorage.googleapis.com/chromium-browser-official/${CHROMIUM_ARC} |
1238 |
- mirror://sourceforge/desurium/${DEPOT_TOOLS_ARC}" |
1239 |
- |
1240 |
-inherit check-reqs cmake-utils eutils ${GIT_ECLASS} python-any-r1 games |
1241 |
- |
1242 |
-CHECKREQS_DISK_BUILD="3G" |
1243 |
- |
1244 |
-DESCRIPTION="highly patched CEF by desurium." |
1245 |
-HOMEPAGE="https://github.com/lodle/Desurium" |
1246 |
-LICENSE="BSD" |
1247 |
-SLOT="0" |
1248 |
-RESTRICT="bindist" |
1249 |
- |
1250 |
-if [[ ${PV} != 9999* ]]; then |
1251 |
- KEYWORDS="~amd64 ~x86" |
1252 |
-fi |
1253 |
- |
1254 |
-# wxGTK-2.9.4.1 does not work! |
1255 |
-COMMON_DEPEND=" |
1256 |
- app-arch/bzip2 |
1257 |
- dev-libs/dbus-glib |
1258 |
- dev-libs/libevent |
1259 |
- dev-libs/libxml2 |
1260 |
- dev-libs/nss |
1261 |
- media-libs/alsa-lib |
1262 |
- media-libs/flac |
1263 |
- media-libs/libpng:0 |
1264 |
- media-libs/libwebp |
1265 |
- media-libs/speex |
1266 |
- sys-apps/dbus |
1267 |
- sys-libs/zlib |
1268 |
- virtual/jpeg" |
1269 |
-RDEPEND="${COMMON_DEPEND}" |
1270 |
-DEPEND=" |
1271 |
- dev-lang/yasm |
1272 |
- dev-util/gperf |
1273 |
- ${COMMON_DEPEND} |
1274 |
- ${PYTHON_DEPS}" |
1275 |
- |
1276 |
-pkg_setup() { |
1277 |
- python-any-r1_pkg_setup |
1278 |
- games_pkg_setup |
1279 |
-} |
1280 |
- |
1281 |
-src_unpack() { |
1282 |
- if [[ ${PV} = 9999* ]]; then |
1283 |
- git-2_src_unpack |
1284 |
- else |
1285 |
- unpack ${DESURIUM_ARC} |
1286 |
- S="${WORKDIR}/$(ls ${WORKDIR})" |
1287 |
- fi |
1288 |
-} |
1289 |
- |
1290 |
-src_prepare() { |
1291 |
- epatch "${FILESDIR}/${P}-nss-3.15.patch" |
1292 |
-} |
1293 |
- |
1294 |
-src_configure() { |
1295 |
- # -DWITH_ARES=FALSE will use system curl, because we force curl[ares] to have ares support |
1296 |
- local mycmakeargs=( |
1297 |
- -DFORCE_SYS_DEPS=TRUE |
1298 |
- -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" |
1299 |
- -DCEF_URL="file://${DISTDIR}/${CEF_ARC}" |
1300 |
- -DCHROMIUM_URL="file://${DISTDIR}/${CHROMIUM_ARC}" |
1301 |
- -DDEPOT_TOOLS_URL="file://${DISTDIR}/${DEPOT_TOOLS_ARC}" |
1302 |
- -DBUILD_ONLY_CEF=TRUE |
1303 |
- -DRUNTIME_LIBDIR="$(games_get_libdir)" |
1304 |
- -DH264_SUPPORT=TRUE |
1305 |
- ) |
1306 |
- cmake-utils_src_configure |
1307 |
-} |
1308 |
- |
1309 |
-src_compile() { |
1310 |
- cmake-utils_src_compile |
1311 |
-} |
1312 |
- |
1313 |
-src_install() { |
1314 |
- cmake-utils_src_install |
1315 |
- prepgamesdirs |
1316 |
-} |
1317 |
|
1318 |
diff --git a/media-libs/desurium-cef/desurium-cef-5.ebuild b/media-libs/desurium-cef/desurium-cef-5.ebuild |
1319 |
deleted file mode 100644 |
1320 |
index bd9754c..0000000 |
1321 |
--- a/media-libs/desurium-cef/desurium-cef-5.ebuild |
1322 |
+++ /dev/null |
1323 |
@@ -1,106 +0,0 @@ |
1324 |
-# Copyright 1999-2012 Gentoo Foundation |
1325 |
-# Distributed under the terms of the GNU General Public License v2 |
1326 |
-# $Header: $ |
1327 |
- |
1328 |
-EAPI=5 |
1329 |
- |
1330 |
-PYTHON_COMPAT=( python2_6 python2_7 ) |
1331 |
- |
1332 |
-unset GIT_ECLASS |
1333 |
- |
1334 |
-GITHUB_MAINTAINER="lodle" |
1335 |
-GITHUB_PROJECT="Desurium" |
1336 |
-DESURIUM_VERSION="0.8.0_rc9" |
1337 |
- |
1338 |
-# tools versions |
1339 |
-CEF_ARC="cef-291.tar.gz" |
1340 |
-CHROMIUM_ARC="chromium-15.0.876.0.tar.bz2" |
1341 |
-DEPOT_TOOLS_ARC="depot_tools-145556-2.tar.gz" |
1342 |
- |
1343 |
-if [[ ${PV} = 9999* ]]; then |
1344 |
- EGIT_REPO_URI="git://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}.git" |
1345 |
- GIT_ECLASS="git-2" |
1346 |
- SRC_URI="" |
1347 |
- EGIT_NOUNPACK="true" |
1348 |
-else |
1349 |
- DESURIUM_ARC="desurium-${DESURIUM_VERSION}.tar.gz" |
1350 |
- SRC_URI="http://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}/tarball/${DESURIUM_VERSION} -> ${DESURIUM_ARC}" |
1351 |
-fi |
1352 |
-SRC_URI="${SRC_URI} |
1353 |
- mirror://sourceforge/desurium/${CEF_ARC} |
1354 |
- http://commondatastorage.googleapis.com/chromium-browser-official/${CHROMIUM_ARC} |
1355 |
- mirror://sourceforge/desurium/${DEPOT_TOOLS_ARC}" |
1356 |
- |
1357 |
-inherit check-reqs cmake-utils eutils ${GIT_ECLASS} python-any-r1 games |
1358 |
- |
1359 |
-CHECKREQS_DISK_BUILD="3G" |
1360 |
- |
1361 |
-DESCRIPTION="highly patched CEF by desurium." |
1362 |
-HOMEPAGE="https://github.com/lodle/Desurium" |
1363 |
-LICENSE="BSD" |
1364 |
-SLOT="0" |
1365 |
-RESTRICT="bindist" |
1366 |
- |
1367 |
-if [[ ${PV} != 9999* ]]; then |
1368 |
- KEYWORDS="~amd64 ~x86" |
1369 |
-fi |
1370 |
- |
1371 |
-# wxGTK-2.9.4.1 does not work! |
1372 |
-COMMON_DEPEND=" |
1373 |
- app-arch/bzip2 |
1374 |
- dev-libs/dbus-glib |
1375 |
- dev-libs/libevent |
1376 |
- dev-libs/libxml2 |
1377 |
- dev-libs/nss |
1378 |
- media-libs/alsa-lib |
1379 |
- media-libs/flac |
1380 |
- media-libs/libpng:0 |
1381 |
- media-libs/libwebp |
1382 |
- media-libs/speex |
1383 |
- sys-apps/dbus |
1384 |
- sys-libs/zlib |
1385 |
- virtual/jpeg" |
1386 |
-RDEPEND="${COMMON_DEPEND}" |
1387 |
-DEPEND=" |
1388 |
- dev-lang/yasm |
1389 |
- dev-util/gperf |
1390 |
- ${COMMON_DEPEND} |
1391 |
- ${PYTHON_DEPS}" |
1392 |
- |
1393 |
-pkg_setup() { |
1394 |
- python-any-r1_pkg_setup |
1395 |
- games_pkg_setup |
1396 |
-} |
1397 |
- |
1398 |
-src_unpack() { |
1399 |
- if [[ ${PV} = 9999* ]]; then |
1400 |
- git-2_src_unpack |
1401 |
- else |
1402 |
- unpack ${DESURIUM_ARC} |
1403 |
- S="${WORKDIR}/$(ls ${WORKDIR})" |
1404 |
- fi |
1405 |
-} |
1406 |
- |
1407 |
-src_configure() { |
1408 |
- # -DWITH_ARES=FALSE will use system curl, because we force curl[ares] to have ares support |
1409 |
- local mycmakeargs=( |
1410 |
- -DFORCE_SYS_DEPS=TRUE |
1411 |
- -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" |
1412 |
- -DCEF_URL="file://${DISTDIR}/${CEF_ARC}" |
1413 |
- -DCHROMIUM_URL="file://${DISTDIR}/${CHROMIUM_ARC}" |
1414 |
- -DDEPOT_TOOLS_URL="file://${DISTDIR}/${DEPOT_TOOLS_ARC}" |
1415 |
- -DBUILD_ONLY_CEF=TRUE |
1416 |
- -DRUNTIME_LIBDIR="$(games_get_libdir)" |
1417 |
- -DH264_SUPPORT=TRUE |
1418 |
- ) |
1419 |
- cmake-utils_src_configure |
1420 |
-} |
1421 |
- |
1422 |
-src_compile() { |
1423 |
- cmake-utils_src_compile |
1424 |
-} |
1425 |
- |
1426 |
-src_install() { |
1427 |
- cmake-utils_src_install |
1428 |
- prepgamesdirs |
1429 |
-} |
1430 |
|
1431 |
diff --git a/media-libs/desurium-cef/desurium-cef-9999.ebuild b/media-libs/desurium-cef/desurium-cef-9999.ebuild |
1432 |
deleted file mode 100644 |
1433 |
index d332624..0000000 |
1434 |
--- a/media-libs/desurium-cef/desurium-cef-9999.ebuild |
1435 |
+++ /dev/null |
1436 |
@@ -1,107 +0,0 @@ |
1437 |
-# Copyright 1999-2012 Gentoo Foundation |
1438 |
-# Distributed under the terms of the GNU General Public License v2 |
1439 |
-# $Header: $ |
1440 |
- |
1441 |
-EAPI=5 |
1442 |
- |
1443 |
-PYTHON_COMPAT=( python2_6 python2_7 ) |
1444 |
- |
1445 |
-unset GIT_ECLASS |
1446 |
- |
1447 |
-GITHUB_MAINTAINER="lodle" |
1448 |
-GITHUB_PROJECT="Desurium" |
1449 |
-DESURIUM_VERSION="0.8.0_rc9" |
1450 |
- |
1451 |
-# tools versions |
1452 |
-CEF_ARC="cef-291.tar.gz" |
1453 |
-CHROMIUM_ARC="chromium-15.0.876.0.tar.bz2" |
1454 |
-DEPOT_TOOLS_ARC="depot_tools-145556-2.tar.gz" |
1455 |
- |
1456 |
-if [[ ${PV} = 9999* ]]; then |
1457 |
- EGIT_REPO_URI="git://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}.git" |
1458 |
- GIT_ECLASS="git-2" |
1459 |
- SRC_URI="" |
1460 |
- EGIT_NOUNPACK="true" |
1461 |
-else |
1462 |
- DESURIUM_ARC="desurium-${DESURIUM_VERSION}.tar.gz" |
1463 |
- SRC_URI="http://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}/tarball/${DESURIUM_VERSION} -> ${DESURIUM_ARC}" |
1464 |
-fi |
1465 |
-SRC_URI="${SRC_URI} |
1466 |
- mirror://sourceforge/desurium/${CEF_ARC} |
1467 |
- http://commondatastorage.googleapis.com/chromium-browser-official/${CHROMIUM_ARC} |
1468 |
- mirror://sourceforge/desurium/${DEPOT_TOOLS_ARC}" |
1469 |
- |
1470 |
-inherit check-reqs cmake-utils eutils ${GIT_ECLASS} toolchain-funcs python-any-r1 games |
1471 |
- |
1472 |
-CHECKREQS_DISK_BUILD="3G" |
1473 |
- |
1474 |
-DESCRIPTION="highly patched CEF by desurium." |
1475 |
-HOMEPAGE="https://github.com/lodle/Desurium" |
1476 |
-LICENSE="BSD" |
1477 |
-SLOT="0" |
1478 |
-RESTRICT="bindist" |
1479 |
- |
1480 |
-if [[ ${PV} != 9999* ]]; then |
1481 |
- KEYWORDS="~amd64 ~x86" |
1482 |
-fi |
1483 |
- |
1484 |
-# wxGTK-2.9.4.1 does not work! |
1485 |
-COMMON_DEPEND=" |
1486 |
- app-arch/bzip2 |
1487 |
- dev-libs/dbus-glib |
1488 |
- dev-libs/libevent |
1489 |
- dev-libs/libxml2 |
1490 |
- dev-libs/nss |
1491 |
- media-libs/alsa-lib |
1492 |
- media-libs/flac |
1493 |
- media-libs/libpng:0 |
1494 |
- media-libs/libwebp |
1495 |
- media-libs/speex |
1496 |
- sys-apps/dbus |
1497 |
- sys-libs/zlib |
1498 |
- virtual/jpeg" |
1499 |
-RDEPEND="${COMMON_DEPEND}" |
1500 |
-DEPEND=" |
1501 |
- dev-lang/yasm |
1502 |
- dev-util/gperf |
1503 |
- ${COMMON_DEPEND} |
1504 |
- ${PYTHON_DEPS}" |
1505 |
- |
1506 |
-pkg_setup() { |
1507 |
- python-any-r1_pkg_setup |
1508 |
- games_pkg_setup |
1509 |
-} |
1510 |
- |
1511 |
-src_unpack() { |
1512 |
- if [[ ${PV} = 9999* ]]; then |
1513 |
- git-2_src_unpack |
1514 |
- else |
1515 |
- unpack ${DESURIUM_ARC} |
1516 |
- S="${WORKDIR}/$(ls ${WORKDIR})" |
1517 |
- fi |
1518 |
-} |
1519 |
- |
1520 |
-src_configure() { |
1521 |
- # -DWITH_ARES=FALSE will use system curl, because we force curl[ares] to have ares support |
1522 |
- local mycmakeargs=( |
1523 |
- -DFORCE_SYS_DEPS=TRUE |
1524 |
- -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" |
1525 |
- -DCEF_URL="file://${DISTDIR}/${CEF_ARC}" |
1526 |
- -DCHROMIUM_URL="file://${DISTDIR}/${CHROMIUM_ARC}" |
1527 |
- -DDEPOT_TOOLS_URL="file://${DISTDIR}/${DEPOT_TOOLS_ARC}" |
1528 |
- -DBUILD_ONLY_CEF=TRUE |
1529 |
- -DRUNTIME_LIBDIR="$(games_get_libdir)" |
1530 |
- -DH264_SUPPORT=TRUE |
1531 |
- ) |
1532 |
- cmake-utils_src_configure |
1533 |
-} |
1534 |
- |
1535 |
-src_compile() { |
1536 |
- # even autotools does not respect AR properly sometimes |
1537 |
- cmake-utils_src_compile AR=$(tc-getAR) |
1538 |
-} |
1539 |
- |
1540 |
-src_install() { |
1541 |
- cmake-utils_src_install |
1542 |
- prepgamesdirs |
1543 |
-} |
1544 |
|
1545 |
diff --git a/media-libs/desurium-cef/files/desurium-cef-5-nss-3.15.patch b/media-libs/desurium-cef/files/desurium-cef-5-nss-3.15.patch |
1546 |
deleted file mode 100644 |
1547 |
index 03dd06d..0000000 |
1548 |
--- a/media-libs/desurium-cef/files/desurium-cef-5-nss-3.15.patch |
1549 |
+++ /dev/null |
1550 |
@@ -1,54 +0,0 @@ |
1551 |
-From 30e8bea05e5a36c061918d409f436a27b5bc7d94 Mon Sep 17 00:00:00 2001 |
1552 |
-From: Jookia <166291@×××××.com> |
1553 |
-Date: Sat, 10 Aug 2013 18:33:36 +1000 |
1554 |
-Subject: [PATCH] Fixed NSS 3.15 errors. |
1555 |
- |
1556 |
---- |
1557 |
- cmake/modules/BuildCEF.cmake | 8 ++++++++ |
1558 |
- cmake/patches/chromium-nss-3.15.patch | 15 +++++++++++++++ |
1559 |
- 2 files changed, 23 insertions(+) |
1560 |
- create mode 100644 cmake/patches/chromium-nss-3.15.patch |
1561 |
- |
1562 |
-diff --git a/cmake/modules/BuildCEF.cmake b/cmake/modules/BuildCEF.cmake |
1563 |
-index b69c92c..7860816 100644 |
1564 |
---- a/cmake/modules/BuildCEF.cmake |
1565 |
-+++ b/cmake/modules/BuildCEF.cmake |
1566 |
-@@ -126,6 +126,14 @@ if(BUILD_CEF OR BUILD_ONLY_CEF) |
1567 |
- |
1568 |
- ExternalProject_Add_Step( |
1569 |
- cef |
1570 |
-+ nss-3-15-patch |
1571 |
-+ COMMAND ${CMAKE_SCRIPT_PATH}/patch.sh ${CMAKE_SOURCE_DIR}/cmake/patches/chromium-nss-3.15.patch |
1572 |
-+ DEPENDERS patch |
1573 |
-+ WORKING_DIRECTORY ${CHROMIUM_SOURCE_DIR}/src |
1574 |
-+ ) |
1575 |
-+ |
1576 |
-+ ExternalProject_Add_Step( |
1577 |
-+ cef |
1578 |
- config_cef |
1579 |
- COMMAND ${CMAKE_SCRIPT_PATH}/depot_tools_wrapper.sh ${DEPOT_TOOLS_BIN_DIR} ./cef_create_projects.sh |
1580 |
- DEPENDEES download |
1581 |
-diff --git a/cmake/patches/chromium-nss-3.15.patch b/cmake/patches/chromium-nss-3.15.patch |
1582 |
-new file mode 100644 |
1583 |
-index 0000000..5c091f1 |
1584 |
---- /dev/null |
1585 |
-+++ b/cmake/patches/chromium-nss-3.15.patch |
1586 |
-@@ -0,0 +1,15 @@ |
1587 |
-+--- net/base/x509_certificate_nss.cc 2013-08-10 18:15:03.643999871 +1000 |
1588 |
-++++ net/base/x509_certificate_nss.cc 2013-08-10 18:28:45.269823335 +1000 |
1589 |
-+@@ -275,7 +275,11 @@ |
1590 |
-+ |
1591 |
-+ void ParsePrincipal(CERTName* name, |
1592 |
-+ CertPrincipal* principal) { |
1593 |
-+- typedef char* (*CERTGetNameFunc)(CERTName* name); |
1594 |
-++ #if NSS_VMINOR >= 15 |
1595 |
-++ typedef char* (*CERTGetNameFunc)(CERTName const* name); |
1596 |
-++ #else |
1597 |
-++ typedef char* (*CERTGetNameFunc)(CERTName* name); |
1598 |
-++ #endif |
1599 |
-+ |
1600 |
-+ // TODO(jcampan): add business_category and serial_number. |
1601 |
-+ // TODO(wtc): NSS has the CERT_GetOrgName, CERT_GetOrgUnitName, and |
1602 |
--- |
1603 |
-1.8.4 |
1604 |
- |
1605 |
|
1606 |
diff --git a/media-libs/desurium-cef/metadata.xml b/media-libs/desurium-cef/metadata.xml |
1607 |
deleted file mode 100644 |
1608 |
index 7418ec9..0000000 |
1609 |
--- a/media-libs/desurium-cef/metadata.xml |
1610 |
+++ /dev/null |
1611 |
@@ -1,10 +0,0 @@ |
1612 |
-<pkgmetadata> |
1613 |
- <herd>games</herd> |
1614 |
- <maintainer> |
1615 |
- <email>git@×××××××××××.de</email> |
1616 |
- <name>Karol Herbst</name> |
1617 |
- </maintainer> |
1618 |
- <longdescription lang="en"> |
1619 |
- Chromium Embedded Framework implementation for the Desurium client. |
1620 |
- </longdescription> |
1621 |
-</pkgmetadata> |