1 |
commit: e5320a6c4376dcd232c3e1c39566fe3c96c0caf3 |
2 |
Author: Marcel Unbehaun <marcel <AT> frostworx <DOT> de> |
3 |
AuthorDate: Fri Oct 28 20:25:05 2011 +0000 |
4 |
Commit: Marcel Unbehaun <frostworks <AT> gmx <DOT> de> |
5 |
CommitDate: Fri Oct 28 20:25:05 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=e5320a6c |
7 |
|
8 |
[games-emulation/pcsx2-meta] initial modular pcsx2-9999 - time was up - patches welcome! |
9 |
|
10 |
--- |
11 |
games-emulation/pcsx2-meta/pcsx2-meta-9999.ebuild | 33 +++++ |
12 |
games-emulation/pcsx2/pcsx2-9999.ebuild | 123 ++++++++++++++++++++ |
13 |
.../ps2emu-cdvdiso/ps2emu-cdvdiso-9999.ebuild | 77 ++++++++++++ |
14 |
.../ps2emu-cdvdlinuz/ps2emu-cdvdlinuz-9999.ebuild | 70 +++++++++++ |
15 |
.../ps2emu-cdvdnull/ps2emu-cdvdnull-9999.ebuild | 68 +++++++++++ |
16 |
.../ps2emu-dev9null/ps2emu-dev9null-9999.ebuild | 70 +++++++++++ |
17 |
.../ps2emu-fwnull/ps2emu-fwnull-9999.ebuild | 70 +++++++++++ |
18 |
.../ps2emu-gsdx/ps2emu-gsdx-9999.ebuild | 81 +++++++++++++ |
19 |
.../ps2emu-gsnull/ps2emu-gsnull-9999.ebuild | 70 +++++++++++ |
20 |
.../ps2emu-onepad/ps2emu-onepad-9999.ebuild | 72 ++++++++++++ |
21 |
.../ps2emu-padnull/ps2emu-padnull-9999.ebuild | 70 +++++++++++ |
22 |
.../ps2emu-spu2-x/ps2emu-spu2-x-9999.ebuild | 112 ++++++++++++++++++ |
23 |
.../ps2emu-spu2null/ps2emu-spu2null-9999.ebuild | 70 +++++++++++ |
24 |
.../ps2emu-usbnull/ps2emu-usbnull-9999.ebuild | 70 +++++++++++ |
25 |
.../ps2emu-zerogs/ps2emu-zerogs-9999.ebuild | 94 +++++++++++++++ |
26 |
.../ps2emu-zerospu/ps2emu-zerospu-9999.ebuild | 77 ++++++++++++ |
27 |
.../ps2emu-zzogl/ps2emu-zzogl-9999.ebuild | 107 +++++++++++++++++ |
28 |
17 files changed, 1334 insertions(+), 0 deletions(-) |
29 |
|
30 |
diff --git a/games-emulation/pcsx2-meta/pcsx2-meta-9999.ebuild b/games-emulation/pcsx2-meta/pcsx2-meta-9999.ebuild |
31 |
new file mode 100644 |
32 |
index 0000000..6ca31f5 |
33 |
--- /dev/null |
34 |
+++ b/games-emulation/pcsx2-meta/pcsx2-meta-9999.ebuild |
35 |
@@ -0,0 +1,33 @@ |
36 |
+# Copyright 1999-2011 Gentoo Foundation |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+# $Header: $ |
39 |
+ |
40 |
+EAPI="2" |
41 |
+ |
42 |
+inherit eutils |
43 |
+ |
44 |
+DESCRIPTION="meta package for pcsx2 and plugins" |
45 |
+HOMEPAGE="http://www.pcsx2.net" |
46 |
+SRC_URI="" |
47 |
+ |
48 |
+LICENSE="GPL-3" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="" |
51 |
+ |
52 |
+RDEPEND=" games-emulation/pcsx2 |
53 |
+ games-emulation/ps2emu-cdvdiso |
54 |
+ games-emulation/ps2emu-cdvdlinuz |
55 |
+ games-emulation/ps2emu-cdvdnull |
56 |
+ games-emulation/ps2emu-dev9null |
57 |
+ games-emulation/ps2emu-fwnull |
58 |
+ games-emulation/ps2emu-gsdx |
59 |
+ games-emulation/ps2emu-gsnull |
60 |
+ games-emulation/ps2emu-onepad |
61 |
+ games-emulation/ps2emu-padnull |
62 |
+ games-emulation/ps2emu-spu2null |
63 |
+ games-emulation/ps2emu-spu2-x |
64 |
+ games-emulation/ps2emu-usbnull |
65 |
+ games-emulation/ps2emu-zerogs |
66 |
+ games-emulation/ps2emu-zerospu |
67 |
+ games-emulation/ps2emu-zzogl |
68 |
+ " |
69 |
|
70 |
diff --git a/games-emulation/pcsx2/pcsx2-9999.ebuild b/games-emulation/pcsx2/pcsx2-9999.ebuild |
71 |
new file mode 100644 |
72 |
index 0000000..f635a46 |
73 |
--- /dev/null |
74 |
+++ b/games-emulation/pcsx2/pcsx2-9999.ebuild |
75 |
@@ -0,0 +1,123 @@ |
76 |
+# Copyright 1999-2011 Gentoo Foundation |
77 |
+# Distributed under the terms of the GNU General Public License v2 |
78 |
+# $Header: $ |
79 |
+ |
80 |
+EAPI=3 |
81 |
+ |
82 |
+WX_GTK_VER="2.8" |
83 |
+ |
84 |
+# no need for amd64 as we will use precompiled wxGTK. |
85 |
+if use x86; then |
86 |
+ inherit wxwidgets |
87 |
+fi |
88 |
+ |
89 |
+inherit games cmake-utils subversion |
90 |
+ |
91 |
+DESCRIPTION="A PlayStation 2 emulator" |
92 |
+HOMEPAGE="http://www.pcsx2.net" |
93 |
+ESVN_REPO_URI="http://pcsx2.googlecode.com/svn/trunk" |
94 |
+ESVN_PROJECT="pcsx2" |
95 |
+ |
96 |
+LICENSE="GPL-3" |
97 |
+SLOT="0" |
98 |
+KEYWORDS="" |
99 |
+IUSE="debug" |
100 |
+if use amd64; then |
101 |
+ ABI="x86" |
102 |
+fi |
103 |
+if use debug; then |
104 |
+ CMAKE_BUILD_TYPE="Debug" |
105 |
+else |
106 |
+ CMAKE_BUILD_TYPE="Release" |
107 |
+fi |
108 |
+ |
109 |
+DEPEND="dev-cpp/sparsehash |
110 |
+ x86? ( |
111 |
+ app-arch/bzip2 |
112 |
+ sys-libs/zlib |
113 |
+ media-libs/alsa-lib |
114 |
+ media-libs/glew |
115 |
+ media-libs/libsdl |
116 |
+ media-libs/portaudio |
117 |
+ media-gfx/nvidia-cg-toolkit |
118 |
+ virtual/jpeg |
119 |
+ virtual/opengl |
120 |
+ x11-libs/gtk+:2 |
121 |
+ x11-libs/libICE |
122 |
+ x11-libs/libX11 |
123 |
+ x11-libs/libXext |
124 |
+ x11-libs/wxGTK[X] |
125 |
+ ) |
126 |
+ amd64? ( media-gfx/nvidia-cg-toolkit[multilib] |
127 |
+ app-emulation/emul-linux-x86-baselibs |
128 |
+ app-emulation/emul-linux-x86-opengl |
129 |
+ app-emulation/emul-linux-x86-xlibs |
130 |
+ app-emulation/emul-linux-x86-gtklibs |
131 |
+ app-emulation/emul-linux-x86-sdl |
132 |
+ app-emulation/emul-linux-x86-soundlibs |
133 |
+ app-emulation/emul-linux-x86-wxGTK |
134 |
+ )" |
135 |
+RDEPEND="${DEPEND}" |
136 |
+ |
137 |
+src_prepare() { |
138 |
+ sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
139 |
+ sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
140 |
+ sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
141 |
+ sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
142 |
+ sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
143 |
+ sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
144 |
+ sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
145 |
+ sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
146 |
+ sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
147 |
+ sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
148 |
+ sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
149 |
+ sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
150 |
+ sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
151 |
+ sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
152 |
+ sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
153 |
+ sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
154 |
+} |
155 |
+ |
156 |
+src_configure() { |
157 |
+ wxgtk_config="" |
158 |
+ cg_config="" |
159 |
+ if use amd64; then |
160 |
+ # tell cmake to use 32 bit library |
161 |
+ wxgtk_config="-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-32" |
162 |
+ cg_config="-DCG_LIBRARY=/opt/nvidia-cg-toolkit/lib32/libCg.so |
163 |
+ -DCG_GL_LIBRARY=/opt/nvidia-cg-toolkit/lib32/libCgGL.so" |
164 |
+ fi |
165 |
+ |
166 |
+ mycmakeargs=" |
167 |
+ -DPACKAGE_MODE=1 |
168 |
+ -DPLUGIN_DIR=$(games_get_libdir)/${PN} |
169 |
+ -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/${PN} |
170 |
+ -DCMAKE_INSTALL_PREFIX=/usr |
171 |
+ -DCMAKE_LIBRARY_PATH=$(games_get_libdir)/${PN} |
172 |
+ ${wxgtk_config} |
173 |
+ ${cg_config} |
174 |
+ " |
175 |
+ cmake-utils_src_configure |
176 |
+} |
177 |
+ |
178 |
+src_install() { |
179 |
+ cmake-utils_src_install DESTDIR=${D} |
180 |
+ |
181 |
+ # move binary files to correct directory |
182 |
+ mkdir -p ${D}/usr/games/bin |
183 |
+ mv ${D}/usr/bin/* ${D}/usr/games/bin || die |
184 |
+ |
185 |
+ prepgamesdirs |
186 |
+} |
187 |
+ |
188 |
+pkg_postinst() { |
189 |
+ if use amd64; then |
190 |
+ einfo "We currently use 64bit dev-cpp/sparsehash for compiling pcsx2" |
191 |
+ einfo "since sparsehash installation contains only header files." |
192 |
+ einfo "If you encounter any problems with that, try" |
193 |
+ einfo "" |
194 |
+ einfo " ABI=\"x86\" emerge sparsehash" |
195 |
+ einfo "" |
196 |
+ einfo "and remerge pcsx2 before reporting bugs." |
197 |
+ fi |
198 |
+} |
199 |
|
200 |
diff --git a/games-emulation/ps2emu-cdvdiso/ps2emu-cdvdiso-9999.ebuild b/games-emulation/ps2emu-cdvdiso/ps2emu-cdvdiso-9999.ebuild |
201 |
new file mode 100644 |
202 |
index 0000000..530e506 |
203 |
--- /dev/null |
204 |
+++ b/games-emulation/ps2emu-cdvdiso/ps2emu-cdvdiso-9999.ebuild |
205 |
@@ -0,0 +1,77 @@ |
206 |
+# Copyright 1999-2011 Gentoo Foundation |
207 |
+# Distributed under the terms of the GNU General Public License v2 |
208 |
+# $Header: $ |
209 |
+ |
210 |
+EAPI=3 |
211 |
+ |
212 |
+WX_GTK_VER="2.8" |
213 |
+ |
214 |
+inherit games cmake-utils subversion |
215 |
+ |
216 |
+DESCRIPTION="cdvdiso plugin for pcsx2" |
217 |
+HOMEPAGE="http://www.pcsx2.net" |
218 |
+ESVN_REPO_URI="http://pcsx2.googlecode.com/svn/trunk" |
219 |
+ESVN_PROJECT="pcsx2" |
220 |
+ |
221 |
+LICENSE="GPL-3" |
222 |
+SLOT="0" |
223 |
+KEYWORDS="" |
224 |
+IUSE="debug" |
225 |
+if use amd64; then |
226 |
+ ABI="x86" |
227 |
+fi |
228 |
+if use debug; then |
229 |
+ CMAKE_BUILD_TYPE="Debug" |
230 |
+else |
231 |
+ CMAKE_BUILD_TYPE="Release" |
232 |
+fi |
233 |
+ |
234 |
+DEPEND=" |
235 |
+ x86? ( |
236 |
+ app-arch/bzip2 |
237 |
+ x11-libs/gtk+:2 |
238 |
+ ) |
239 |
+ amd64? ( app-emulation/emul-linux-x86-baselibs |
240 |
+ app-emulation/emul-linux-x86-gtklibs |
241 |
+ )" |
242 |
+RDEPEND="${DEPEND}" |
243 |
+ |
244 |
+src_prepare() { |
245 |
+ sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt |
246 |
+ sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt |
247 |
+ sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt |
248 |
+ sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt |
249 |
+ sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt |
250 |
+ sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt |
251 |
+ sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
252 |
+ sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
253 |
+ sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
254 |
+ sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
255 |
+ sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
256 |
+ sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
257 |
+ sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
258 |
+ sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
259 |
+ sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
260 |
+ sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
261 |
+ sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
262 |
+ sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
263 |
+ sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
264 |
+ sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
265 |
+ sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
266 |
+ sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
267 |
+} |
268 |
+ |
269 |
+src_configure() { |
270 |
+ mycmakeargs=" |
271 |
+ -DPACKAGE_MODE=1 |
272 |
+ -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 |
273 |
+ -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 |
274 |
+ -DCMAKE_INSTALL_PREFIX=/usr |
275 |
+ " |
276 |
+ cmake-utils_src_configure |
277 |
+} |
278 |
+ |
279 |
+src_install() { |
280 |
+ cmake-utils_src_install DESTDIR=${D} |
281 |
+ prepgamesdirs |
282 |
+} |
283 |
|
284 |
diff --git a/games-emulation/ps2emu-cdvdlinuz/ps2emu-cdvdlinuz-9999.ebuild b/games-emulation/ps2emu-cdvdlinuz/ps2emu-cdvdlinuz-9999.ebuild |
285 |
new file mode 100644 |
286 |
index 0000000..1928fac |
287 |
--- /dev/null |
288 |
+++ b/games-emulation/ps2emu-cdvdlinuz/ps2emu-cdvdlinuz-9999.ebuild |
289 |
@@ -0,0 +1,70 @@ |
290 |
+# Copyright 1999-2011 Gentoo Foundation |
291 |
+# Distributed under the terms of the GNU General Public License v2 |
292 |
+# $Header: $ |
293 |
+ |
294 |
+EAPI=3 |
295 |
+ |
296 |
+WX_GTK_VER="2.8" |
297 |
+ |
298 |
+inherit games cmake-utils subversion |
299 |
+ |
300 |
+DESCRIPTION="cdvdlinux plugin for pcsx2" |
301 |
+HOMEPAGE="http://www.pcsx2.net" |
302 |
+ESVN_REPO_URI="http://pcsx2.googlecode.com/svn/trunk" |
303 |
+ESVN_PROJECT="pcsx2" |
304 |
+ |
305 |
+LICENSE="GPL-3" |
306 |
+SLOT="0" |
307 |
+KEYWORDS="" |
308 |
+IUSE="debug" |
309 |
+if use amd64; then |
310 |
+ ABI="x86" |
311 |
+fi |
312 |
+if use debug; then |
313 |
+ CMAKE_BUILD_TYPE="Debug" |
314 |
+else |
315 |
+ CMAKE_BUILD_TYPE="Release" |
316 |
+fi |
317 |
+ |
318 |
+DEPEND="" |
319 |
+RDEPEND="${DEPEND}" |
320 |
+ |
321 |
+src_prepare() { |
322 |
+ sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt |
323 |
+ sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt |
324 |
+ sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt |
325 |
+ sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt |
326 |
+ sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt |
327 |
+ sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt |
328 |
+ sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
329 |
+ sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
330 |
+ sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
331 |
+ sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
332 |
+ sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
333 |
+ sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
334 |
+ sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
335 |
+ sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
336 |
+ sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
337 |
+ sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
338 |
+ sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
339 |
+ sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
340 |
+ sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
341 |
+ sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
342 |
+ sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
343 |
+ sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
344 |
+} |
345 |
+ |
346 |
+src_configure() { |
347 |
+ mycmakeargs=" |
348 |
+ -DPACKAGE_MODE=1 |
349 |
+ -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 |
350 |
+ -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 |
351 |
+ -DCMAKE_INSTALL_PREFIX=/usr |
352 |
+ " |
353 |
+ cmake-utils_src_configure |
354 |
+} |
355 |
+ |
356 |
+src_install() { |
357 |
+ cmake-utils_src_install DESTDIR=${D} |
358 |
+ prepgamesdirs |
359 |
+} |
360 |
|
361 |
diff --git a/games-emulation/ps2emu-cdvdnull/ps2emu-cdvdnull-9999.ebuild b/games-emulation/ps2emu-cdvdnull/ps2emu-cdvdnull-9999.ebuild |
362 |
new file mode 100644 |
363 |
index 0000000..0498e5f |
364 |
--- /dev/null |
365 |
+++ b/games-emulation/ps2emu-cdvdnull/ps2emu-cdvdnull-9999.ebuild |
366 |
@@ -0,0 +1,68 @@ |
367 |
+# Copyright 1999-2011 Gentoo Foundation |
368 |
+# Distributed under the terms of the GNU General Public License v2 |
369 |
+# $Header: $ |
370 |
+ |
371 |
+EAPI=3 |
372 |
+ |
373 |
+inherit games cmake-utils subversion |
374 |
+ |
375 |
+DESCRIPTION="cddvd null plugin for pcsx2" |
376 |
+HOMEPAGE="http://www.pcsx2.net" |
377 |
+ESVN_REPO_URI="http://pcsx2.googlecode.com/svn/trunk" |
378 |
+ESVN_PROJECT="pcsx2" |
379 |
+ |
380 |
+LICENSE="GPL-3" |
381 |
+SLOT="0" |
382 |
+KEYWORDS="" |
383 |
+IUSE="debug" |
384 |
+if use amd64; then |
385 |
+ ABI="x86" |
386 |
+fi |
387 |
+if use debug; then |
388 |
+ CMAKE_BUILD_TYPE="Debug" |
389 |
+else |
390 |
+ CMAKE_BUILD_TYPE="Release" |
391 |
+fi |
392 |
+ |
393 |
+DEPEND="" |
394 |
+RDEPEND="${DEPEND}" |
395 |
+ |
396 |
+src_prepare() { |
397 |
+ sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt |
398 |
+ sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt |
399 |
+ sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt |
400 |
+ sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt |
401 |
+ sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt |
402 |
+ sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt |
403 |
+ sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
404 |
+ sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
405 |
+ sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
406 |
+ sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
407 |
+ sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
408 |
+ sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
409 |
+ sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
410 |
+ sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
411 |
+ sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
412 |
+ sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
413 |
+ sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
414 |
+ sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
415 |
+ sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
416 |
+ sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
417 |
+ sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
418 |
+ sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
419 |
+} |
420 |
+ |
421 |
+src_configure() { |
422 |
+ mycmakeargs=" |
423 |
+ -DPACKAGE_MODE=1 |
424 |
+ -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 |
425 |
+ -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 |
426 |
+ -DCMAKE_INSTALL_PREFIX=/usr |
427 |
+ " |
428 |
+ cmake-utils_src_configure |
429 |
+} |
430 |
+ |
431 |
+src_install() { |
432 |
+ cmake-utils_src_install DESTDIR=${D} |
433 |
+ prepgamesdirs |
434 |
+} |
435 |
|
436 |
diff --git a/games-emulation/ps2emu-dev9null/ps2emu-dev9null-9999.ebuild b/games-emulation/ps2emu-dev9null/ps2emu-dev9null-9999.ebuild |
437 |
new file mode 100644 |
438 |
index 0000000..a244162 |
439 |
--- /dev/null |
440 |
+++ b/games-emulation/ps2emu-dev9null/ps2emu-dev9null-9999.ebuild |
441 |
@@ -0,0 +1,70 @@ |
442 |
+# Copyright 1999-2011 Gentoo Foundation |
443 |
+# Distributed under the terms of the GNU General Public License v2 |
444 |
+# $Header: $ |
445 |
+ |
446 |
+EAPI=3 |
447 |
+ |
448 |
+WX_GTK_VER="2.8" |
449 |
+ |
450 |
+inherit games cmake-utils subversion |
451 |
+ |
452 |
+DESCRIPTION="dev9null plugin for pcsx2" |
453 |
+HOMEPAGE="http://www.pcsx2.net" |
454 |
+ESVN_REPO_URI="http://pcsx2.googlecode.com/svn/trunk" |
455 |
+ESVN_PROJECT="pcsx2" |
456 |
+ |
457 |
+LICENSE="GPL-3" |
458 |
+SLOT="0" |
459 |
+KEYWORDS="" |
460 |
+IUSE="debug" |
461 |
+if use amd64; then |
462 |
+ ABI="x86" |
463 |
+fi |
464 |
+if use debug; then |
465 |
+ CMAKE_BUILD_TYPE="Debug" |
466 |
+else |
467 |
+ CMAKE_BUILD_TYPE="Release" |
468 |
+fi |
469 |
+ |
470 |
+DEPEND="" |
471 |
+RDEPEND="${DEPEND}" |
472 |
+ |
473 |
+src_prepare() { |
474 |
+ sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt |
475 |
+ sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt |
476 |
+ sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt |
477 |
+ sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt |
478 |
+ sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt |
479 |
+ sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt |
480 |
+ sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
481 |
+ sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
482 |
+ sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
483 |
+ sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
484 |
+ sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
485 |
+ sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
486 |
+ sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
487 |
+ sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
488 |
+ sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
489 |
+ sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
490 |
+ sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
491 |
+ sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
492 |
+ sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
493 |
+ sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
494 |
+ sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
495 |
+ sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
496 |
+} |
497 |
+ |
498 |
+src_configure() { |
499 |
+ mycmakeargs=" |
500 |
+ -DPACKAGE_MODE=1 |
501 |
+ -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 |
502 |
+ -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 |
503 |
+ -DCMAKE_INSTALL_PREFIX=/usr |
504 |
+ " |
505 |
+ cmake-utils_src_configure |
506 |
+} |
507 |
+ |
508 |
+src_install() { |
509 |
+ cmake-utils_src_install DESTDIR=${D} |
510 |
+ prepgamesdirs |
511 |
+} |
512 |
|
513 |
diff --git a/games-emulation/ps2emu-fwnull/ps2emu-fwnull-9999.ebuild b/games-emulation/ps2emu-fwnull/ps2emu-fwnull-9999.ebuild |
514 |
new file mode 100644 |
515 |
index 0000000..9c77472 |
516 |
--- /dev/null |
517 |
+++ b/games-emulation/ps2emu-fwnull/ps2emu-fwnull-9999.ebuild |
518 |
@@ -0,0 +1,70 @@ |
519 |
+# Copyright 1999-2011 Gentoo Foundation |
520 |
+# Distributed under the terms of the GNU General Public License v2 |
521 |
+# $Header: $ |
522 |
+ |
523 |
+EAPI=3 |
524 |
+ |
525 |
+WX_GTK_VER="2.8" |
526 |
+ |
527 |
+inherit games cmake-utils subversion |
528 |
+ |
529 |
+DESCRIPTION="fwnull plugin for pcsx2" |
530 |
+HOMEPAGE="http://www.pcsx2.net" |
531 |
+ESVN_REPO_URI="http://pcsx2.googlecode.com/svn/trunk" |
532 |
+ESVN_PROJECT="pcsx2" |
533 |
+ |
534 |
+LICENSE="GPL-3" |
535 |
+SLOT="0" |
536 |
+KEYWORDS="" |
537 |
+IUSE="debug" |
538 |
+if use amd64; then |
539 |
+ ABI="x86" |
540 |
+fi |
541 |
+if use debug; then |
542 |
+ CMAKE_BUILD_TYPE="Debug" |
543 |
+else |
544 |
+ CMAKE_BUILD_TYPE="Release" |
545 |
+fi |
546 |
+ |
547 |
+DEPEND="" |
548 |
+RDEPEND="${DEPEND}" |
549 |
+ |
550 |
+src_prepare() { |
551 |
+ sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt |
552 |
+ sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt |
553 |
+ sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt |
554 |
+ sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt |
555 |
+ sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt |
556 |
+ sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt |
557 |
+ sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
558 |
+ sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
559 |
+ sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
560 |
+ sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
561 |
+ sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
562 |
+ sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
563 |
+ sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
564 |
+ sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
565 |
+ sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
566 |
+ sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
567 |
+ sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
568 |
+ sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
569 |
+ sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
570 |
+ sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
571 |
+ sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
572 |
+ sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
573 |
+} |
574 |
+ |
575 |
+src_configure() { |
576 |
+ mycmakeargs=" |
577 |
+ -DPACKAGE_MODE=1 |
578 |
+ -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 |
579 |
+ -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 |
580 |
+ -DCMAKE_INSTALL_PREFIX=/usr |
581 |
+ " |
582 |
+ cmake-utils_src_configure |
583 |
+} |
584 |
+ |
585 |
+src_install() { |
586 |
+ cmake-utils_src_install DESTDIR=${D} |
587 |
+ prepgamesdirs |
588 |
+} |
589 |
|
590 |
diff --git a/games-emulation/ps2emu-gsdx/ps2emu-gsdx-9999.ebuild b/games-emulation/ps2emu-gsdx/ps2emu-gsdx-9999.ebuild |
591 |
new file mode 100644 |
592 |
index 0000000..87c808f |
593 |
--- /dev/null |
594 |
+++ b/games-emulation/ps2emu-gsdx/ps2emu-gsdx-9999.ebuild |
595 |
@@ -0,0 +1,81 @@ |
596 |
+# Copyright 1999-2011 Gentoo Foundation |
597 |
+# Distributed under the terms of the GNU General Public License v2 |
598 |
+# $Header: $ |
599 |
+ |
600 |
+EAPI=3 |
601 |
+ |
602 |
+WX_GTK_VER="2.8" |
603 |
+ |
604 |
+inherit games cmake-utils subversion |
605 |
+ |
606 |
+DESCRIPTION="gsdx plugin for pcsx2" |
607 |
+HOMEPAGE="http://www.pcsx2.net" |
608 |
+ESVN_REPO_URI="http://pcsx2.googlecode.com/svn/trunk" |
609 |
+ESVN_PROJECT="pcsx2" |
610 |
+ |
611 |
+LICENSE="GPL-3" |
612 |
+SLOT="0" |
613 |
+KEYWORDS="" |
614 |
+IUSE="debug" |
615 |
+if use amd64; then |
616 |
+ ABI="x86" |
617 |
+fi |
618 |
+if use debug; then |
619 |
+ CMAKE_BUILD_TYPE="Debug" |
620 |
+else |
621 |
+ CMAKE_BUILD_TYPE="Release" |
622 |
+fi |
623 |
+ |
624 |
+DEPEND=" |
625 |
+ x86? ( |
626 |
+ virtual/opengl |
627 |
+ x11-libs/libX11 |
628 |
+ x11-libs/libXext |
629 |
+ |
630 |
+ ) |
631 |
+ amd64? ( app-emulation/emul-linux-x86-opengl |
632 |
+ app-emulation/emul-linux-x86-xlibs |
633 |
+ |
634 |
+ )" |
635 |
+RDEPEND="${DEPEND}" |
636 |
+ |
637 |
+src_prepare() { |
638 |
+ sed -i -e "s:add_subdirectory(SoundTouch)::g" -i 3rdparty/CMakeLists.txt |
639 |
+ sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt |
640 |
+ sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt |
641 |
+ sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt |
642 |
+ sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt |
643 |
+ sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt |
644 |
+ sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
645 |
+ sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
646 |
+ sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
647 |
+ sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
648 |
+ sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
649 |
+ sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
650 |
+ sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
651 |
+ sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
652 |
+ sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
653 |
+ sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
654 |
+ sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
655 |
+ sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
656 |
+ sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
657 |
+ sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
658 |
+ sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
659 |
+ sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
660 |
+} |
661 |
+ |
662 |
+src_configure() { |
663 |
+ mycmakeargs=" |
664 |
+ -DPACKAGE_MODE=1 |
665 |
+ -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 |
666 |
+ -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 |
667 |
+ -DCMAKE_INSTALL_PREFIX=/usr |
668 |
+ -DFORCE_INTERNAL_SDL=1 |
669 |
+ " |
670 |
+ cmake-utils_src_configure |
671 |
+} |
672 |
+ |
673 |
+src_install() { |
674 |
+ cmake-utils_src_install DESTDIR=${D} |
675 |
+ prepgamesdirs |
676 |
+} |
677 |
|
678 |
diff --git a/games-emulation/ps2emu-gsnull/ps2emu-gsnull-9999.ebuild b/games-emulation/ps2emu-gsnull/ps2emu-gsnull-9999.ebuild |
679 |
new file mode 100644 |
680 |
index 0000000..5862ffc |
681 |
--- /dev/null |
682 |
+++ b/games-emulation/ps2emu-gsnull/ps2emu-gsnull-9999.ebuild |
683 |
@@ -0,0 +1,70 @@ |
684 |
+# Copyright 1999-2011 Gentoo Foundation |
685 |
+# Distributed under the terms of the GNU General Public License v2 |
686 |
+# $Header: $ |
687 |
+ |
688 |
+EAPI=3 |
689 |
+ |
690 |
+WX_GTK_VER="2.8" |
691 |
+ |
692 |
+inherit games cmake-utils subversion |
693 |
+ |
694 |
+DESCRIPTION="gsnull plugin for pcsx2" |
695 |
+HOMEPAGE="http://www.pcsx2.net" |
696 |
+ESVN_REPO_URI="http://pcsx2.googlecode.com/svn/trunk" |
697 |
+ESVN_PROJECT="pcsx2" |
698 |
+ |
699 |
+LICENSE="GPL-3" |
700 |
+SLOT="0" |
701 |
+KEYWORDS="" |
702 |
+IUSE="debug" |
703 |
+if use amd64; then |
704 |
+ ABI="x86" |
705 |
+fi |
706 |
+if use debug; then |
707 |
+ CMAKE_BUILD_TYPE="Debug" |
708 |
+else |
709 |
+ CMAKE_BUILD_TYPE="Release" |
710 |
+fi |
711 |
+ |
712 |
+DEPEND="" |
713 |
+RDEPEND="${DEPEND}" |
714 |
+ |
715 |
+src_prepare() { |
716 |
+ sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt |
717 |
+ sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt |
718 |
+ sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt |
719 |
+ sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt |
720 |
+ sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt |
721 |
+ sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt |
722 |
+ sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
723 |
+ sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
724 |
+ sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
725 |
+ sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
726 |
+ sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
727 |
+ sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
728 |
+ sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
729 |
+ sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
730 |
+ sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
731 |
+ sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
732 |
+ sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
733 |
+ sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
734 |
+ sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
735 |
+ sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
736 |
+ sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
737 |
+ sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
738 |
+} |
739 |
+ |
740 |
+src_configure() { |
741 |
+ mycmakeargs=" |
742 |
+ -DPACKAGE_MODE=1 |
743 |
+ -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 |
744 |
+ -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 |
745 |
+ -DCMAKE_INSTALL_PREFIX=/usr |
746 |
+ " |
747 |
+ cmake-utils_src_configure |
748 |
+} |
749 |
+ |
750 |
+src_install() { |
751 |
+ cmake-utils_src_install DESTDIR=${D} |
752 |
+ prepgamesdirs |
753 |
+} |
754 |
|
755 |
diff --git a/games-emulation/ps2emu-onepad/ps2emu-onepad-9999.ebuild b/games-emulation/ps2emu-onepad/ps2emu-onepad-9999.ebuild |
756 |
new file mode 100644 |
757 |
index 0000000..ca0812e |
758 |
--- /dev/null |
759 |
+++ b/games-emulation/ps2emu-onepad/ps2emu-onepad-9999.ebuild |
760 |
@@ -0,0 +1,72 @@ |
761 |
+# Copyright 1999-2011 Gentoo Foundation |
762 |
+# Distributed under the terms of the GNU General Public License v2 |
763 |
+# $Header: $ |
764 |
+ |
765 |
+EAPI=3 |
766 |
+ |
767 |
+WX_GTK_VER="2.8" |
768 |
+ |
769 |
+inherit games cmake-utils subversion |
770 |
+ |
771 |
+DESCRIPTION="onepad plugin for pcsx2" |
772 |
+HOMEPAGE="http://www.pcsx2.net" |
773 |
+ESVN_REPO_URI="http://pcsx2.googlecode.com/svn/trunk" |
774 |
+ESVN_PROJECT="pcsx2" |
775 |
+ |
776 |
+LICENSE="GPL-3" |
777 |
+SLOT="0" |
778 |
+KEYWORDS="" |
779 |
+IUSE="debug" |
780 |
+if use amd64; then |
781 |
+ ABI="x86" |
782 |
+fi |
783 |
+if use debug; then |
784 |
+ CMAKE_BUILD_TYPE="Debug" |
785 |
+else |
786 |
+ CMAKE_BUILD_TYPE="Release" |
787 |
+fi |
788 |
+ |
789 |
+DEPEND=" |
790 |
+ x86? ( media-libs/libsdl ) |
791 |
+ amd64? ( app-emulation/emul-linux-x86-sdl )" |
792 |
+RDEPEND="${DEPEND}" |
793 |
+ |
794 |
+src_prepare() { |
795 |
+ sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt |
796 |
+ sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt |
797 |
+ sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt |
798 |
+ sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt |
799 |
+ sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt |
800 |
+ sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt |
801 |
+ sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
802 |
+ sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
803 |
+ sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
804 |
+ sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
805 |
+ sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
806 |
+ sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
807 |
+ sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
808 |
+ sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
809 |
+ sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
810 |
+ sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
811 |
+ sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
812 |
+ sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
813 |
+ sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
814 |
+ sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
815 |
+ sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
816 |
+ sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
817 |
+} |
818 |
+ |
819 |
+src_configure() { |
820 |
+ mycmakeargs=" |
821 |
+ -DPACKAGE_MODE=1 |
822 |
+ -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 |
823 |
+ -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 |
824 |
+ -DCMAKE_INSTALL_PREFIX=/usr |
825 |
+ " |
826 |
+ cmake-utils_src_configure |
827 |
+} |
828 |
+ |
829 |
+src_install() { |
830 |
+ cmake-utils_src_install DESTDIR=${D} |
831 |
+ prepgamesdirs |
832 |
+} |
833 |
|
834 |
diff --git a/games-emulation/ps2emu-padnull/ps2emu-padnull-9999.ebuild b/games-emulation/ps2emu-padnull/ps2emu-padnull-9999.ebuild |
835 |
new file mode 100644 |
836 |
index 0000000..ca77bae |
837 |
--- /dev/null |
838 |
+++ b/games-emulation/ps2emu-padnull/ps2emu-padnull-9999.ebuild |
839 |
@@ -0,0 +1,70 @@ |
840 |
+# Copyright 1999-2011 Gentoo Foundation |
841 |
+# Distributed under the terms of the GNU General Public License v2 |
842 |
+# $Header: $ |
843 |
+ |
844 |
+EAPI=3 |
845 |
+ |
846 |
+WX_GTK_VER="2.8" |
847 |
+ |
848 |
+inherit games cmake-utils subversion |
849 |
+ |
850 |
+DESCRIPTION="gsnull plugin for pcsx2" |
851 |
+HOMEPAGE="http://www.pcsx2.net" |
852 |
+ESVN_REPO_URI="http://pcsx2.googlecode.com/svn/trunk" |
853 |
+ESVN_PROJECT="pcsx2" |
854 |
+ |
855 |
+LICENSE="GPL-3" |
856 |
+SLOT="0" |
857 |
+KEYWORDS="" |
858 |
+IUSE="debug" |
859 |
+if use amd64; then |
860 |
+ ABI="x86" |
861 |
+fi |
862 |
+if use debug; then |
863 |
+ CMAKE_BUILD_TYPE="Debug" |
864 |
+else |
865 |
+ CMAKE_BUILD_TYPE="Release" |
866 |
+fi |
867 |
+ |
868 |
+DEPEND="" |
869 |
+RDEPEND="${DEPEND}" |
870 |
+ |
871 |
+src_prepare() { |
872 |
+ sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt |
873 |
+ sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt |
874 |
+ sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt |
875 |
+ sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt |
876 |
+ sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt |
877 |
+ sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt |
878 |
+ sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
879 |
+ sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
880 |
+ sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
881 |
+ sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
882 |
+ sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
883 |
+ sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
884 |
+ sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
885 |
+ sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
886 |
+ sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
887 |
+ sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
888 |
+ sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
889 |
+ sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
890 |
+ sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
891 |
+ sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
892 |
+ sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
893 |
+ sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
894 |
+} |
895 |
+ |
896 |
+src_configure() { |
897 |
+ mycmakeargs=" |
898 |
+ -DPACKAGE_MODE=1 |
899 |
+ -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 |
900 |
+ -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 |
901 |
+ -DCMAKE_INSTALL_PREFIX=/usr |
902 |
+ " |
903 |
+ cmake-utils_src_configure |
904 |
+} |
905 |
+ |
906 |
+src_install() { |
907 |
+ cmake-utils_src_install DESTDIR=${D} |
908 |
+ prepgamesdirs |
909 |
+} |
910 |
|
911 |
diff --git a/games-emulation/ps2emu-spu2-x/ps2emu-spu2-x-9999.ebuild b/games-emulation/ps2emu-spu2-x/ps2emu-spu2-x-9999.ebuild |
912 |
new file mode 100644 |
913 |
index 0000000..16ec3ac |
914 |
--- /dev/null |
915 |
+++ b/games-emulation/ps2emu-spu2-x/ps2emu-spu2-x-9999.ebuild |
916 |
@@ -0,0 +1,112 @@ |
917 |
+# Copyright 1999-2011 Gentoo Foundation |
918 |
+# Distributed under the terms of the GNU General Public License v2 |
919 |
+# $Header: $ |
920 |
+ |
921 |
+EAPI=3 |
922 |
+ |
923 |
+WX_GTK_VER="2.8" |
924 |
+ |
925 |
+# no need for amd64 as we will use precompiled wxGTK. |
926 |
+if use x86; then |
927 |
+ inherit wxwidgets |
928 |
+fi |
929 |
+ |
930 |
+inherit games cmake-utils subversion |
931 |
+ |
932 |
+DESCRIPTION="SPU2-x plugin for pcsx2" |
933 |
+HOMEPAGE="http://www.pcsx2.net" |
934 |
+ESVN_REPO_URI="http://pcsx2.googlecode.com/svn/trunk" |
935 |
+ESVN_PROJECT="pcsx2" |
936 |
+ |
937 |
+LICENSE="GPL-3" |
938 |
+SLOT="0" |
939 |
+KEYWORDS="" |
940 |
+IUSE="debug" |
941 |
+if use amd64; then |
942 |
+ ABI="x86" |
943 |
+fi |
944 |
+if use debug; then |
945 |
+ CMAKE_BUILD_TYPE="Debug" |
946 |
+else |
947 |
+ CMAKE_BUILD_TYPE="Release" |
948 |
+fi |
949 |
+ |
950 |
+DEPEND="dev-cpp/sparsehash |
951 |
+ x86? ( |
952 |
+ app-arch/bzip2 |
953 |
+ sys-libs/zlib |
954 |
+ media-libs/alsa-lib |
955 |
+ media-libs/glew |
956 |
+ media-libs/libsdl |
957 |
+ media-libs/portaudio |
958 |
+ media-libs/libsoundtouch |
959 |
+ media-gfx/nvidia-cg-toolkit |
960 |
+ virtual/jpeg |
961 |
+ virtual/opengl |
962 |
+ x11-libs/gtk+:2 |
963 |
+ x11-libs/libICE |
964 |
+ x11-libs/libX11 |
965 |
+ x11-libs/libXext |
966 |
+ x11-libs/wxGTK[X] |
967 |
+ ) |
968 |
+ amd64? ( media-gfx/nvidia-cg-toolkit[multilib] |
969 |
+ app-emulation/emul-linux-x86-baselibs |
970 |
+ app-emulation/emul-linux-x86-opengl |
971 |
+ app-emulation/emul-linux-x86-xlibs |
972 |
+ app-emulation/emul-linux-x86-gtklibs |
973 |
+ app-emulation/emul-linux-x86-sdl |
974 |
+ app-emulation/emul-linux-x86-soundlibs |
975 |
+ app-emulation/emul-linux-x86-wxGTK |
976 |
+ )" |
977 |
+RDEPEND="${DEPEND}" |
978 |
+ |
979 |
+src_prepare() { |
980 |
+ sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt |
981 |
+ sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt |
982 |
+ sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt |
983 |
+ sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt |
984 |
+ sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt |
985 |
+ sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
986 |
+ sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
987 |
+ sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
988 |
+ sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
989 |
+ sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
990 |
+ sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
991 |
+ sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
992 |
+ sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
993 |
+ sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
994 |
+ sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
995 |
+ sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
996 |
+ sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
997 |
+ sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
998 |
+ sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
999 |
+ sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1000 |
+ sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1001 |
+} |
1002 |
+ |
1003 |
+src_configure() { |
1004 |
+ wxgtk_config="" |
1005 |
+ cg_config="" |
1006 |
+ if use amd64; then |
1007 |
+ # tell cmake to use 32 bit library |
1008 |
+ wxgtk_config="-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-32" |
1009 |
+ cg_config="-DCG_LIBRARY=/opt/nvidia-cg-toolkit/lib32/libCg.so |
1010 |
+ -DCG_GL_LIBRARY=/opt/nvidia-cg-toolkit/lib32/libCgGL.so" |
1011 |
+ fi |
1012 |
+ |
1013 |
+ mycmakeargs=" |
1014 |
+ -DPACKAGE_MODE=1 |
1015 |
+ -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 |
1016 |
+ -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 |
1017 |
+ -DCMAKE_INSTALL_PREFIX=/usr |
1018 |
+ -DFORCE_INTERNAL_SOUNDTOUCH=FALSE |
1019 |
+ ${wxgtk_config} |
1020 |
+ ${cg_config} |
1021 |
+ " |
1022 |
+ cmake-utils_src_configure |
1023 |
+} |
1024 |
+ |
1025 |
+src_install() { |
1026 |
+ cmake-utils_src_install DESTDIR=${D} |
1027 |
+ prepgamesdirs |
1028 |
+} |
1029 |
|
1030 |
diff --git a/games-emulation/ps2emu-spu2null/ps2emu-spu2null-9999.ebuild b/games-emulation/ps2emu-spu2null/ps2emu-spu2null-9999.ebuild |
1031 |
new file mode 100644 |
1032 |
index 0000000..b0164ea |
1033 |
--- /dev/null |
1034 |
+++ b/games-emulation/ps2emu-spu2null/ps2emu-spu2null-9999.ebuild |
1035 |
@@ -0,0 +1,70 @@ |
1036 |
+# Copyright 1999-2011 Gentoo Foundation |
1037 |
+# Distributed under the terms of the GNU General Public License v2 |
1038 |
+# $Header: $ |
1039 |
+ |
1040 |
+EAPI=3 |
1041 |
+ |
1042 |
+WX_GTK_VER="2.8" |
1043 |
+ |
1044 |
+inherit games cmake-utils subversion |
1045 |
+ |
1046 |
+DESCRIPTION="SPU2null plugin for pcsx2" |
1047 |
+HOMEPAGE="http://www.pcsx2.net" |
1048 |
+ESVN_REPO_URI="http://pcsx2.googlecode.com/svn/trunk" |
1049 |
+ESVN_PROJECT="pcsx2" |
1050 |
+ |
1051 |
+LICENSE="GPL-3" |
1052 |
+SLOT="0" |
1053 |
+KEYWORDS="" |
1054 |
+IUSE="debug" |
1055 |
+if use amd64; then |
1056 |
+ ABI="x86" |
1057 |
+fi |
1058 |
+if use debug; then |
1059 |
+ CMAKE_BUILD_TYPE="Debug" |
1060 |
+else |
1061 |
+ CMAKE_BUILD_TYPE="Release" |
1062 |
+fi |
1063 |
+ |
1064 |
+DEPEND="" |
1065 |
+RDEPEND="${DEPEND}" |
1066 |
+ |
1067 |
+src_prepare() { |
1068 |
+ sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt |
1069 |
+ sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt |
1070 |
+ sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt |
1071 |
+ sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt |
1072 |
+ sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt |
1073 |
+ sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt |
1074 |
+ sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1075 |
+ sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1076 |
+ sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1077 |
+ sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1078 |
+ sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1079 |
+ sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1080 |
+ sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1081 |
+ sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1082 |
+ sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1083 |
+ sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1084 |
+ sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1085 |
+ sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1086 |
+ sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1087 |
+ sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1088 |
+ sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1089 |
+ sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1090 |
+} |
1091 |
+ |
1092 |
+src_configure() { |
1093 |
+ mycmakeargs=" |
1094 |
+ -DPACKAGE_MODE=1 |
1095 |
+ -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 |
1096 |
+ -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 |
1097 |
+ -DCMAKE_INSTALL_PREFIX=/usr |
1098 |
+ " |
1099 |
+ cmake-utils_src_configure |
1100 |
+} |
1101 |
+ |
1102 |
+src_install() { |
1103 |
+ cmake-utils_src_install DESTDIR=${D} |
1104 |
+ prepgamesdirs |
1105 |
+} |
1106 |
|
1107 |
diff --git a/games-emulation/ps2emu-usbnull/ps2emu-usbnull-9999.ebuild b/games-emulation/ps2emu-usbnull/ps2emu-usbnull-9999.ebuild |
1108 |
new file mode 100644 |
1109 |
index 0000000..433f8ab |
1110 |
--- /dev/null |
1111 |
+++ b/games-emulation/ps2emu-usbnull/ps2emu-usbnull-9999.ebuild |
1112 |
@@ -0,0 +1,70 @@ |
1113 |
+# Copyright 1999-2011 Gentoo Foundation |
1114 |
+# Distributed under the terms of the GNU General Public License v2 |
1115 |
+# $Header: $ |
1116 |
+ |
1117 |
+EAPI=3 |
1118 |
+ |
1119 |
+WX_GTK_VER="2.8" |
1120 |
+ |
1121 |
+inherit games cmake-utils subversion |
1122 |
+ |
1123 |
+DESCRIPTION="usbnull plugin for pcsx2" |
1124 |
+HOMEPAGE="http://www.pcsx2.net" |
1125 |
+ESVN_REPO_URI="http://pcsx2.googlecode.com/svn/trunk" |
1126 |
+ESVN_PROJECT="pcsx2" |
1127 |
+ |
1128 |
+LICENSE="GPL-3" |
1129 |
+SLOT="0" |
1130 |
+KEYWORDS="" |
1131 |
+IUSE="debug" |
1132 |
+if use amd64; then |
1133 |
+ ABI="x86" |
1134 |
+fi |
1135 |
+if use debug; then |
1136 |
+ CMAKE_BUILD_TYPE="Debug" |
1137 |
+else |
1138 |
+ CMAKE_BUILD_TYPE="Release" |
1139 |
+fi |
1140 |
+ |
1141 |
+DEPEND="" |
1142 |
+RDEPEND="${DEPEND}" |
1143 |
+ |
1144 |
+src_prepare() { |
1145 |
+ sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt |
1146 |
+ sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt |
1147 |
+ sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt |
1148 |
+ sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt |
1149 |
+ sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt |
1150 |
+ sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt |
1151 |
+ sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1152 |
+ sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1153 |
+ sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1154 |
+ sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1155 |
+ sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1156 |
+ sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1157 |
+ sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1158 |
+ sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1159 |
+ sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1160 |
+ sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1161 |
+ sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1162 |
+ sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1163 |
+ sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1164 |
+ sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1165 |
+ sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1166 |
+ sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1167 |
+} |
1168 |
+ |
1169 |
+src_configure() { |
1170 |
+ mycmakeargs=" |
1171 |
+ -DPACKAGE_MODE=1 |
1172 |
+ -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 |
1173 |
+ -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 |
1174 |
+ -DCMAKE_INSTALL_PREFIX=/usr |
1175 |
+ " |
1176 |
+ cmake-utils_src_configure |
1177 |
+} |
1178 |
+ |
1179 |
+src_install() { |
1180 |
+ cmake-utils_src_install DESTDIR=${D} |
1181 |
+ prepgamesdirs |
1182 |
+} |
1183 |
|
1184 |
diff --git a/games-emulation/ps2emu-zerogs/ps2emu-zerogs-9999.ebuild b/games-emulation/ps2emu-zerogs/ps2emu-zerogs-9999.ebuild |
1185 |
new file mode 100644 |
1186 |
index 0000000..d018b85 |
1187 |
--- /dev/null |
1188 |
+++ b/games-emulation/ps2emu-zerogs/ps2emu-zerogs-9999.ebuild |
1189 |
@@ -0,0 +1,94 @@ |
1190 |
+# Copyright 1999-2011 Gentoo Foundation |
1191 |
+# Distributed under the terms of the GNU General Public License v2 |
1192 |
+# $Header: $ |
1193 |
+ |
1194 |
+EAPI=3 |
1195 |
+ |
1196 |
+WX_GTK_VER="2.8" |
1197 |
+ |
1198 |
+inherit games cmake-utils subversion |
1199 |
+ |
1200 |
+DESCRIPTION="zerogs plugin for pcsx2" |
1201 |
+HOMEPAGE="http://www.pcsx2.net" |
1202 |
+ESVN_REPO_URI="http://pcsx2.googlecode.com/svn/trunk" |
1203 |
+ESVN_PROJECT="pcsx2" |
1204 |
+ |
1205 |
+LICENSE="GPL-3" |
1206 |
+SLOT="0" |
1207 |
+KEYWORDS="" |
1208 |
+IUSE="debug" |
1209 |
+if use amd64; then |
1210 |
+ ABI="x86" |
1211 |
+fi |
1212 |
+if use debug; then |
1213 |
+ CMAKE_BUILD_TYPE="Debug" |
1214 |
+else |
1215 |
+ CMAKE_BUILD_TYPE="Release" |
1216 |
+fi |
1217 |
+ |
1218 |
+DEPEND="dev-cpp/sparsehash |
1219 |
+ x86? ( |
1220 |
+ media-libs/glew |
1221 |
+ media-gfx/nvidia-cg-toolkit |
1222 |
+ virtual/opengl |
1223 |
+ x11-libs/libICE |
1224 |
+ x11-libs/libX11 |
1225 |
+ x11-libs/libXext |
1226 |
+ ) |
1227 |
+ amd64? ( media-gfx/nvidia-cg-toolkit[multilib] |
1228 |
+ app-emulation/emul-linux-x86-opengl |
1229 |
+ app-emulation/emul-linux-x86-xlibs |
1230 |
+ )" |
1231 |
+RDEPEND="${DEPEND}" |
1232 |
+ |
1233 |
+src_prepare() { |
1234 |
+ sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt |
1235 |
+ sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt |
1236 |
+ sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt |
1237 |
+ sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt |
1238 |
+ sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt |
1239 |
+ sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt |
1240 |
+ sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1241 |
+ sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1242 |
+ sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1243 |
+ sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1244 |
+ sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1245 |
+ sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1246 |
+ sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1247 |
+ sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1248 |
+ sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1249 |
+ sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1250 |
+ sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1251 |
+ sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1252 |
+ sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1253 |
+ sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1254 |
+ sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1255 |
+ sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1256 |
+ sed -i -e "s:#[\t]add_subdirectory(zerogs):add_subdirectory(zerogs):g" -i plugins/CMakeLists.txt |
1257 |
+ sed -i -e "s:#include \"zlib/zlib.h\":#include <zlib.h>:g" -i plugins/zerogs/opengl/zpipe.cpp |
1258 |
+} |
1259 |
+ |
1260 |
+src_configure() { |
1261 |
+ cg_config="" |
1262 |
+ if use amd64; then |
1263 |
+ # tell cmake to use 32 bit library |
1264 |
+ wxgtk_config="-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-32" |
1265 |
+ cg_config="-DCG_LIBRARY=/opt/nvidia-cg-toolkit/lib32/libCg.so |
1266 |
+ -DCG_GL_LIBRARY=/opt/nvidia-cg-toolkit/lib32/libCgGL.so" |
1267 |
+ fi |
1268 |
+ |
1269 |
+ mycmakeargs=" |
1270 |
+ -DPACKAGE_MODE=1 |
1271 |
+ -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 |
1272 |
+ -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 |
1273 |
+ -DCMAKE_INSTALL_PREFIX=/usr |
1274 |
+ ${cg_config} |
1275 |
+ " |
1276 |
+ cmake-utils_src_configure |
1277 |
+} |
1278 |
+ |
1279 |
+src_install() { |
1280 |
+ insinto $(games_get_libdir)/pcsx2 |
1281 |
+ doins bin/plugins/libzerogs.so || die |
1282 |
+ prepgamesdirs |
1283 |
+} |
1284 |
|
1285 |
diff --git a/games-emulation/ps2emu-zerospu/ps2emu-zerospu-9999.ebuild b/games-emulation/ps2emu-zerospu/ps2emu-zerospu-9999.ebuild |
1286 |
new file mode 100644 |
1287 |
index 0000000..aca7024 |
1288 |
--- /dev/null |
1289 |
+++ b/games-emulation/ps2emu-zerospu/ps2emu-zerospu-9999.ebuild |
1290 |
@@ -0,0 +1,77 @@ |
1291 |
+# Copyright 1999-2011 Gentoo Foundation |
1292 |
+# Distributed under the terms of the GNU General Public License v2 |
1293 |
+# $Header: $ |
1294 |
+ |
1295 |
+EAPI=3 |
1296 |
+ |
1297 |
+WX_GTK_VER="2.8" |
1298 |
+ |
1299 |
+inherit games cmake-utils subversion |
1300 |
+ |
1301 |
+DESCRIPTION="SPU2-x plugin for pcsx2" |
1302 |
+HOMEPAGE="http://www.pcsx2.net" |
1303 |
+ESVN_REPO_URI="http://pcsx2.googlecode.com/svn/trunk" |
1304 |
+ESVN_PROJECT="pcsx2" |
1305 |
+ |
1306 |
+LICENSE="GPL-3" |
1307 |
+SLOT="0" |
1308 |
+KEYWORDS="" |
1309 |
+IUSE="debug" |
1310 |
+if use amd64; then |
1311 |
+ ABI="x86" |
1312 |
+fi |
1313 |
+if use debug; then |
1314 |
+ CMAKE_BUILD_TYPE="Debug" |
1315 |
+else |
1316 |
+ CMAKE_BUILD_TYPE="Release" |
1317 |
+fi |
1318 |
+ |
1319 |
+DEPEND=" |
1320 |
+ x86? ( |
1321 |
+ media-libs/alsa-lib |
1322 |
+ media-libs/portaudio |
1323 |
+ media-libs/libsoundtouch |
1324 |
+ ) |
1325 |
+ amd64? ( app-emulation/emul-linux-x86-soundlibs )" |
1326 |
+RDEPEND="${DEPEND}" |
1327 |
+ |
1328 |
+src_prepare() { |
1329 |
+ sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt |
1330 |
+ sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt |
1331 |
+ sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt |
1332 |
+ sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt |
1333 |
+ sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt |
1334 |
+ sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt |
1335 |
+ sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1336 |
+ sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1337 |
+ sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1338 |
+ sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1339 |
+ sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1340 |
+ sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1341 |
+ sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1342 |
+ sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1343 |
+ sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1344 |
+ sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1345 |
+ sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1346 |
+ sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1347 |
+ sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1348 |
+ sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1349 |
+ sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1350 |
+ sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1351 |
+} |
1352 |
+ |
1353 |
+src_configure() { |
1354 |
+ mycmakeargs=" |
1355 |
+ -DPACKAGE_MODE=1 |
1356 |
+ -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 |
1357 |
+ -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 |
1358 |
+ -DCMAKE_INSTALL_PREFIX=/usr |
1359 |
+ -DFORCE_INTERNAL_SOUNDTOUCH=FALSE |
1360 |
+ " |
1361 |
+ cmake-utils_src_configure |
1362 |
+} |
1363 |
+ |
1364 |
+src_install() { |
1365 |
+ cmake-utils_src_install DESTDIR=${D} |
1366 |
+ prepgamesdirs |
1367 |
+} |
1368 |
|
1369 |
diff --git a/games-emulation/ps2emu-zzogl/ps2emu-zzogl-9999.ebuild b/games-emulation/ps2emu-zzogl/ps2emu-zzogl-9999.ebuild |
1370 |
new file mode 100644 |
1371 |
index 0000000..50ca867 |
1372 |
--- /dev/null |
1373 |
+++ b/games-emulation/ps2emu-zzogl/ps2emu-zzogl-9999.ebuild |
1374 |
@@ -0,0 +1,107 @@ |
1375 |
+# Copyright 1999-2011 Gentoo Foundation |
1376 |
+# Distributed under the terms of the GNU General Public License v2 |
1377 |
+# $Header: $ |
1378 |
+ |
1379 |
+EAPI=3 |
1380 |
+ |
1381 |
+WX_GTK_VER="2.8" |
1382 |
+ |
1383 |
+inherit games cmake-utils subversion wxwidgets |
1384 |
+ |
1385 |
+DESCRIPTION="zzogl plugin for pcsx2" |
1386 |
+HOMEPAGE="http://www.pcsx2.net" |
1387 |
+ESVN_REPO_URI="http://pcsx2.googlecode.com/svn/trunk" |
1388 |
+ESVN_PROJECT="pcsx2" |
1389 |
+ |
1390 |
+LICENSE="GPL-3" |
1391 |
+SLOT="0" |
1392 |
+KEYWORDS="" |
1393 |
+IUSE="debug" |
1394 |
+if use amd64; then |
1395 |
+ ABI="x86" |
1396 |
+fi |
1397 |
+if use debug; then |
1398 |
+ CMAKE_BUILD_TYPE="Debug" |
1399 |
+else |
1400 |
+ CMAKE_BUILD_TYPE="Release" |
1401 |
+fi |
1402 |
+ |
1403 |
+DEPEND="dev-cpp/sparsehash |
1404 |
+ x86? ( |
1405 |
+ app-arch/bzip2 |
1406 |
+ sys-libs/zlib |
1407 |
+ media-libs/alsa-lib |
1408 |
+ media-libs/glew |
1409 |
+ media-libs/libsdl |
1410 |
+ media-libs/portaudio |
1411 |
+ media-gfx/nvidia-cg-toolkit |
1412 |
+ virtual/jpeg |
1413 |
+ virtual/opengl |
1414 |
+ x11-libs/gtk+:2 |
1415 |
+ x11-libs/libICE |
1416 |
+ x11-libs/libX11 |
1417 |
+ x11-libs/libXext |
1418 |
+ x11-libs/wxGTK[X] |
1419 |
+ ) |
1420 |
+ amd64? ( media-gfx/nvidia-cg-toolkit[multilib] |
1421 |
+ app-emulation/emul-linux-x86-baselibs |
1422 |
+ app-emulation/emul-linux-x86-opengl |
1423 |
+ app-emulation/emul-linux-x86-xlibs |
1424 |
+ app-emulation/emul-linux-x86-gtklibs |
1425 |
+ app-emulation/emul-linux-x86-sdl |
1426 |
+ app-emulation/emul-linux-x86-soundlibs |
1427 |
+ app-emulation/emul-linux-x86-wxGTK |
1428 |
+ )" |
1429 |
+RDEPEND="${DEPEND}" |
1430 |
+ |
1431 |
+src_prepare() { |
1432 |
+ sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt |
1433 |
+ sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt |
1434 |
+ sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt |
1435 |
+ sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt |
1436 |
+# sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt |
1437 |
+ sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt |
1438 |
+ sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1439 |
+ sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1440 |
+ sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1441 |
+ sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1442 |
+ sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1443 |
+ sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1444 |
+ sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1445 |
+ sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1446 |
+ sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1447 |
+ sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1448 |
+ sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1449 |
+ sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1450 |
+ sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1451 |
+ sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1452 |
+ sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1453 |
+ sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake |
1454 |
+} |
1455 |
+ |
1456 |
+src_configure() { |
1457 |
+ wxgtk_config="" |
1458 |
+ cg_config="" |
1459 |
+ if use amd64; then |
1460 |
+ # tell cmake to use 32 bit library |
1461 |
+ wxgtk_config="-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-32" |
1462 |
+ cg_config="-DCG_LIBRARY=/opt/nvidia-cg-toolkit/lib32/libCg.so |
1463 |
+ -DCG_GL_LIBRARY=/opt/nvidia-cg-toolkit/lib32/libCgGL.so" |
1464 |
+ fi |
1465 |
+ |
1466 |
+ mycmakeargs=" |
1467 |
+ -DPACKAGE_MODE=1 |
1468 |
+ -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 |
1469 |
+ -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 |
1470 |
+ -DCMAKE_INSTALL_PREFIX=/usr |
1471 |
+ -DCMAKE_LIBRARY_PATH=$(games_get_libdir)/pcsx2 |
1472 |
+ ${wxgtk_config} |
1473 |
+ ${cg_config} |
1474 |
+ " |
1475 |
+ cmake-utils_src_configure |
1476 |
+} |
1477 |
+ |
1478 |
+src_install() { |
1479 |
+ cmake-utils_src_install DESTDIR=${D} |
1480 |
+ prepgamesdirs |
1481 |
+} |