Gentoo Archives: gentoo-commits

From: "Devan Franchini (twitch153)" <twitch153@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-emulation/dolphin: dolphin-9999.ebuild dolphin-4.0.2-r3.ebuild dolphin-3.5-r1.ebuild dolphin-4.0-r1.ebuild ChangeLog dolphin-4.0.ebuild dolphin-4.0.2-r2.ebuild dolphin-3.5.ebuild
Date: Sun, 08 Feb 2015 23:22:25
Message-Id: 20150208232219.02580115A2@oystercatcher.gentoo.org
1 twitch153 15/02/08 23:22:18
2
3 Modified: dolphin-9999.ebuild ChangeLog
4 Added: dolphin-4.0.2-r3.ebuild dolphin-3.5-r1.ebuild
5 dolphin-4.0-r1.ebuild
6 Removed: dolphin-4.0.ebuild dolphin-4.0.2-r2.ebuild
7 dolphin-3.5.ebuild
8 Log:
9 Adds subslotting to readline RDEPEND package
10
11 (Portage version: 2.2.16/cvs/Linux x86_64, signed Manifest commit with key A8C8FBCF)
12
13 Revision Changes Path
14 1.20 games-emulation/dolphin/dolphin-9999.ebuild
15
16 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/dolphin/dolphin-9999.ebuild?rev=1.20&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/dolphin/dolphin-9999.ebuild?rev=1.20&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/dolphin/dolphin-9999.ebuild?r1=1.19&r2=1.20
19
20 Index: dolphin-9999.ebuild
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/games-emulation/dolphin/dolphin-9999.ebuild,v
23 retrieving revision 1.19
24 retrieving revision 1.20
25 diff -u -r1.19 -r1.20
26 --- dolphin-9999.ebuild 8 Feb 2015 23:13:29 -0000 1.19
27 +++ dolphin-9999.ebuild 8 Feb 2015 23:22:18 -0000 1.20
28 @@ -1,6 +1,6 @@
29 # Copyright 1999-2015 Gentoo Foundation
30 # Distributed under the terms of the GNU General Public License v2
31 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/dolphin/dolphin-9999.ebuild,v 1.19 2015/02/08 23:13:29 twitch153 Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/dolphin/dolphin-9999.ebuild,v 1.20 2015/02/08 23:22:18 twitch153 Exp $
33
34 EAPI=5
35
36 @@ -28,7 +28,7 @@
37 RDEPEND=">=media-libs/glew-1.10
38 >=media-libs/libsfml-2.1
39 >=net-libs/miniupnpc-1.8
40 - sys-libs/readline
41 + sys-libs/readline:=
42 x11-libs/libXext
43 x11-libs/libXrandr
44 media-libs/libsdl2[haptic,joystick]
45
46
47
48 1.29 games-emulation/dolphin/ChangeLog
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/dolphin/ChangeLog?rev=1.29&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/dolphin/ChangeLog?rev=1.29&content-type=text/plain
52 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/dolphin/ChangeLog?r1=1.28&r2=1.29
53
54 Index: ChangeLog
55 ===================================================================
56 RCS file: /var/cvsroot/gentoo-x86/games-emulation/dolphin/ChangeLog,v
57 retrieving revision 1.28
58 retrieving revision 1.29
59 diff -u -r1.28 -r1.29
60 --- ChangeLog 8 Feb 2015 23:13:29 -0000 1.28
61 +++ ChangeLog 8 Feb 2015 23:22:18 -0000 1.29
62 @@ -1,6 +1,15 @@
63 # ChangeLog for games-emulation/dolphin
64 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
65 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/dolphin/ChangeLog,v 1.28 2015/02/08 23:13:29 twitch153 Exp $
66 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/dolphin/ChangeLog,v 1.29 2015/02/08 23:22:18 twitch153 Exp $
67 +
68 +*dolphin-4.0.2-r3 (08 Feb 2015)
69 +*dolphin-3.5-r1 (08 Feb 2015)
70 +*dolphin-4.0-r1 (08 Feb 2015)
71 +
72 + 08 Feb 2015; Devan Franchini <twitch153@g.o> +dolphin-3.5-r1.ebuild,
73 + +dolphin-4.0-r1.ebuild, +dolphin-4.0.2-r3.ebuild, -dolphin-3.5.ebuild,
74 + -dolphin-4.0.2-r2.ebuild, -dolphin-4.0.ebuild, dolphin-9999.ebuild:
75 + Adds subslotting to readline RDEPEND package
76
77 08 Feb 2015; Devan Franchini <twitch153@g.o> dolphin-9999.ebuild:
78 Adds save for xxhash bundled binary
79
80
81
82 1.1 games-emulation/dolphin/dolphin-4.0.2-r3.ebuild
83
84 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/dolphin/dolphin-4.0.2-r3.ebuild?rev=1.1&view=markup
85 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/dolphin/dolphin-4.0.2-r3.ebuild?rev=1.1&content-type=text/plain
86
87 Index: dolphin-4.0.2-r3.ebuild
88 ===================================================================
89 # Copyright 1999-2015 Gentoo Foundation
90 # Distributed under the terms of the GNU General Public License v2
91 # $Header: /var/cvsroot/gentoo-x86/games-emulation/dolphin/dolphin-4.0.2-r3.ebuild,v 1.1 2015/02/08 23:22:18 twitch153 Exp $
92
93 EAPI=5
94
95 WX_GTK_VER="2.9"
96
97 inherit cmake-utils eutils pax-utils toolchain-funcs versionator wxwidgets games
98
99 SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${PV}.zip"
100 KEYWORDS="~amd64"
101
102 DESCRIPTION="Gamecube and Wii game emulator"
103 HOMEPAGE="https://www.dolphin-emu.org/"
104
105 LICENSE="GPL-2"
106 SLOT="0"
107 IUSE="alsa ao bluetooth doc ffmpeg +lzo openal opengl openmp portaudio pulseaudio"
108
109 RESTRICT="mirror"
110
111 RDEPEND=">=media-libs/glew-1.6
112 <media-libs/libsfml-2.0
113 >=net-libs/miniupnpc-1.8
114 media-libs/libsdl2[haptic,joystick]
115 sys-libs/readline:=
116 x11-libs/libXext
117 x11-libs/libXrandr
118 alsa? ( media-libs/alsa-lib )
119 ao? ( media-libs/libao )
120 bluetooth? ( net-wireless/bluez )
121 ffmpeg? ( virtual/ffmpeg )
122 lzo? ( dev-libs/lzo )
123 openal? ( media-libs/openal )
124 opengl? ( virtual/opengl )
125 portaudio? ( media-libs/portaudio )
126 pulseaudio? ( media-sound/pulseaudio )
127 "
128 DEPEND="${RDEPEND}
129 app-arch/zip
130 media-gfx/nvidia-cg-toolkit
131 media-libs/freetype
132 media-libs/libsoundtouch
133 >=sys-devel/gcc-4.6.0
134 x11-libs/wxGTK:2.9
135 "
136
137 pkg_pretend() {
138
139 local ver=4.6.0
140 local msg="${PN} needs at least GCC ${ver} set to compile."
141
142 if [[ ${MERGE_TYPE} != binary ]]; then
143 if ! version_is_at_least ${ver} $(gcc-fullversion); then
144 eerror ${msg}
145 die ${msg}
146 fi
147 fi
148
149 }
150
151 src_prepare() {
152
153 # Remove automatic dependencies to prevent building without flags enabled.
154 if use !alsa; then
155 sed -i -e '/^include(FindALSA/d' CMakeLists.txt || die
156 fi
157 if use !ao; then
158 sed -i -e '/^check_lib(AO/d' CMakeLists.txt || die
159 fi
160 if use !bluetooth; then
161 sed -i -e '/^check_lib(BLUEZ/d' CMakeLists.txt || die
162 fi
163 if use !openal; then
164 sed -i -e '/^include(FindOpenAL/d' CMakeLists.txt || die
165 fi
166 if use !portaudio; then
167 sed -i -e '/CMAKE_REQUIRED_LIBRARIES portaudio/d' CMakeLists.txt || die
168 fi
169 if use !pulseaudio; then
170 sed -i -e '/^check_lib(PULSEAUDIO/d' CMakeLists.txt || die
171 fi
172
173 # Remove ALL the bundled libraries, aside from:
174 # - SOIL: The sources are not public.
175 # - Bochs-disasm: Don't know what it is.
176 # - CLRun: Part of OpenCL
177 # - polarssl: Currently fails the check as is.
178 mv Externals/SOIL . || die
179 mv Externals/Bochs_disasm . || die
180 mv Externals/CLRun . || die
181 mv Externals/polarssl . || die
182 rm -r Externals/* || die
183 mv polarssl Externals || die
184 mv CLRun Externals || die
185 mv Bochs_disasm Externals || die
186 mv SOIL Externals || die
187 }
188
189 src_configure() {
190
191 local mycmakeargs=(
192 "-DDOLPHIN_WC_REVISION=${PV}"
193 "-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}"
194 "-Dprefix=${GAMES_PREFIX}"
195 "-Ddatadir=${GAMES_DATADIR}/${PN}"
196 "-Dplugindir=$(games_get_libdir)/${PN}"
197 $( cmake-utils_use ffmpeg ENCODE_FRAMEDUMPS )
198 $( cmake-utils_use openmp OPENMP )
199 )
200
201 cmake-utils_src_configure
202 }
203
204 src_compile() {
205
206 cmake-utils_src_compile
207 }
208
209 src_install() {
210
211 cmake-utils_src_install
212
213 dodoc Readme.txt
214 if use doc; then
215 dodoc -r docs/ActionReplay docs/DSP docs/WiiMote
216 fi
217
218 doicon Source/Core/DolphinWX/resources/Dolphin.xpm
219 make_desktop_entry "dolphin-emu" "Dolphin" "Dolphin" "Game;"
220
221 prepgamesdirs
222 }
223
224 pkg_postinst() {
225 # Add pax markings for hardened systems
226 pax-mark -m "${EPREFIX}"/usr/games/bin/"${PN}"-emu
227
228 if ! use portaudio; then
229 ewarn "If you want microphone capabilities in dolphin-emu, rebuild with"
230 ewarn "USE=\"portaudio\""
231 fi
232 }
233
234
235
236 1.1 games-emulation/dolphin/dolphin-3.5-r1.ebuild
237
238 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/dolphin/dolphin-3.5-r1.ebuild?rev=1.1&view=markup
239 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/dolphin/dolphin-3.5-r1.ebuild?rev=1.1&content-type=text/plain
240
241 Index: dolphin-3.5-r1.ebuild
242 ===================================================================
243 # Copyright 1999-2015 Gentoo Foundation
244 # Distributed under the terms of the GNU General Public License v2
245 # $Header: /var/cvsroot/gentoo-x86/games-emulation/dolphin/dolphin-3.5-r1.ebuild,v 1.1 2015/02/08 23:22:18 twitch153 Exp $
246
247 EAPI=5
248
249 WX_GTK_VER="2.9"
250
251 inherit cmake-utils eutils flag-o-matic pax-utils toolchain-funcs versionator wxwidgets games
252
253 DESCRIPTION="Gamecube and Wii game emulator"
254 HOMEPAGE="https://www.dolphin-emu.org/"
255 SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${PV}.zip"
256
257 LICENSE="GPL-2"
258 SLOT="0"
259 KEYWORDS="~amd64"
260 IUSE="alsa ao bluetooth doc ffmpeg +lzo openal opengl openmp portaudio pulseaudio"
261
262 RESTRICT="mirror"
263
264 RDEPEND=">=media-libs/glew-1.6
265 >=media-libs/libsdl-1.2[joystick]
266 <media-libs/libsfml-2.0
267 sys-libs/readline:=
268 x11-libs/libXext
269 x11-libs/libXrandr
270 alsa? ( media-libs/alsa-lib )
271 ao? ( media-libs/libao )
272 bluetooth? ( net-wireless/bluez )
273 ffmpeg? ( virtual/ffmpeg )
274 lzo? ( dev-libs/lzo )
275 openal? ( media-libs/openal )
276 opengl? ( virtual/opengl )
277 portaudio? ( media-libs/portaudio )
278 pulseaudio? ( media-sound/pulseaudio )
279 "
280 DEPEND="${RDEPEND}
281 app-arch/zip
282 media-gfx/nvidia-cg-toolkit
283 media-libs/freetype
284 >=sys-devel/gcc-4.6.0
285 sys-devel/gettext
286 virtual/pkgconfig
287 x11-libs/wxGTK:2.9
288 "
289
290 pkg_pretend() {
291
292 local ver=4.6.0
293 local msg="${PN} needs at least GCC ${ver} set to compile."
294
295 if [[ ${MERGE_TYPE} != binary ]]; then
296 if ! version_is_at_least ${ver} $(gcc-fullversion); then
297 eerror ${msg}
298 die ${msg}
299 fi
300 fi
301 }
302
303 src_prepare() {
304
305 if [[ $(gcc-version) = "4.8" ]]; then
306 epatch "${FILESDIR}"/${PN}-emu-${PV}-gcc-4.8.patch
307 fi
308
309 if use !alsa; then
310 sed -i -e '/^include(FindALSA/d' CMakeLists.txt || die
311 fi
312 if use !ao; then
313 sed -i -e '/^check_lib(AO/d' CMakeLists.txt || die
314 fi
315 if use !bluetooth; then
316 sed -i -e '/^check_lib(BLUEZ/d' CMakeLists.txt || die
317 fi
318 if use !openal; then
319 sed -i -e '/^include(FindOpenAL/d' CMakeLists.txt || die
320 fi
321 if use !portaudio; then
322 sed -i -e '/CMAKE_REQUIRED_LIBRARIES portaudio/d' CMakeLists.txt || die
323 fi
324 if use !pulseaudio; then
325 sed -i -e '/^check_lib(PULSEAUDIO/d' CMakeLists.txt || die
326 fi
327
328 # Remove ALL the bundled libraries, aside from:
329 # - SOIL: The sources are not public.
330 # - Bochs_disasm: Don't know what it is.
331 # - CLRun: Part of OpenCL
332 mv Externals/SOIL . || die
333 mv Externals/Bochs_disasm . || die
334 mv Externals/CLRun . || die
335 rm -r Externals/* || die "Failed to remove bundled libs"
336 mv CLRun Externals || die
337 mv Bochs_disasm Externals || die
338 mv SOIL Externals || die
339 }
340
341 src_configure() {
342
343 if $($(tc-getPKG_CONFIG) --exists nvidia-cg-toolkit); then
344 append-flags "$($(tc-getPKG_CONFIG) --cflags nvidia-cg-toolkit)"
345 else
346 append-flags "-I/opt/nvidia-cg-toolkit/include"
347 fi
348
349 if $($(tc-getPKG_CONFIG) --exists nvidia-cg-toolkit); then
350 append-ldflags "$($(tc-getPKG_CONFIG) --libs-only-L nvidia-cg-toolkit)"
351 else
352 if has_version ">=media-gfx/nvidia-cg-toolkit-3.1.0013"; then
353 append-ldflags "-L/opt/nvidia-cg-toolkit/lib64"
354 elif has_version "<=media-gfx/nvidia-cg-toolkit-2.1.0017-r1"; then
355 append-ldflags "-L/opt/nvidia-cg-toolkit/lib"
356 fi
357 fi
358
359 local mycmakeargs=(
360 "-DDOLPHIN_WC_REVISION=${PV}"
361 "-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}"
362 "-Dprefix=${GAMES_PREFIX}"
363 "-Ddatadir=${GAMES_DATADIR}/${PN}"
364 "-Dplugindir=$(games_get_libdir)/${PN}"
365 $(cmake-utils_use ffmpeg ENCODE_FRAMEDUMPS)
366 $(cmake-utils_use openmp OPENMP )
367 )
368
369 cmake-utils_src_configure
370 }
371
372 src_compile() {
373
374 cmake-utils_src_compile
375 }
376
377 src_install() {
378
379 cmake-utils_src_install
380
381 dodoc Readme.txt
382 if use doc; then
383 dodoc -r docs/ActionReplay docs/DSP docs/WiiMote
384 fi
385
386 doicon Source/Core/DolphinWX/resources/Dolphin.xpm
387 make_desktop_entry "dolphin-emu" "Dolphin" "Dolphin" "Game;"
388
389 prepgamesdirs
390 }
391
392 pkg_postinst() {
393 # Add pax markings for hardened systems
394 pax-mark -m "${EPREFIX}"/usr/games/bin/"${PN}"-emu
395
396 if ! use portaudio; then
397 ewarn "If you want microphone capabilities in dolphin-emu, rebuild with"
398 ewarn "USE=\"portaudio\""
399 fi
400 }
401
402
403
404 1.1 games-emulation/dolphin/dolphin-4.0-r1.ebuild
405
406 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/dolphin/dolphin-4.0-r1.ebuild?rev=1.1&view=markup
407 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/dolphin/dolphin-4.0-r1.ebuild?rev=1.1&content-type=text/plain
408
409 Index: dolphin-4.0-r1.ebuild
410 ===================================================================
411 # Copyright 1999-2015 Gentoo Foundation
412 # Distributed under the terms of the GNU General Public License v2
413 # $Header: /var/cvsroot/gentoo-x86/games-emulation/dolphin/dolphin-4.0-r1.ebuild,v 1.1 2015/02/08 23:22:18 twitch153 Exp $
414
415 EAPI=5
416
417 WX_GTK_VER="2.9"
418
419 inherit cmake-utils eutils pax-utils toolchain-funcs versionator wxwidgets games
420
421 SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${PV}.zip"
422 KEYWORDS="~amd64"
423
424 DESCRIPTION="Gamecube and Wii game emulator"
425 HOMEPAGE="https://www.dolphin-emu.org/"
426
427 LICENSE="GPL-2"
428 SLOT="0"
429 IUSE="alsa ao bluetooth doc ffmpeg +lzo openal opengl openmp portaudio pulseaudio"
430
431 RESTRICT="mirror"
432
433 RDEPEND=">=media-libs/glew-1.6
434 >=media-libs/libsdl-1.2[joystick]
435 <media-libs/libsfml-2.0
436 >=net-libs/miniupnpc-1.8
437 sys-libs/readline:=
438 x11-libs/libXext
439 x11-libs/libXrandr
440 alsa? ( media-libs/alsa-lib )
441 ao? ( media-libs/libao )
442 bluetooth? ( net-wireless/bluez )
443 ffmpeg? ( virtual/ffmpeg )
444 lzo? ( dev-libs/lzo )
445 openal? ( media-libs/openal )
446 opengl? ( virtual/opengl )
447 portaudio? ( media-libs/portaudio )
448 pulseaudio? ( media-sound/pulseaudio )
449 "
450 DEPEND="${RDEPEND}
451 app-arch/zip
452 media-gfx/nvidia-cg-toolkit
453 media-libs/freetype
454 media-libs/libsoundtouch
455 >=sys-devel/gcc-4.6.0
456 x11-libs/wxGTK:2.9
457 "
458
459 pkg_pretend() {
460
461 local ver=4.6.0
462 local msg="${PN} needs at least GCC ${ver} set to compile."
463
464 if [[ ${MERGE_TYPE} != binary ]]; then
465 if ! version_is_at_least ${ver} $(gcc-fullversion); then
466 eerror ${msg}
467 die ${msg}
468 fi
469 fi
470
471 }
472
473 src_prepare() {
474
475 # Remove automatic dependencies to prevent building without flags enabled.
476 if use !alsa; then
477 sed -i -e '^/include(FindALSA/d' CMakeLists.txt || die
478 fi
479 if use !ao; then
480 sed -i -e '/^check_lib(AO/d' CMakeLists.txt || die
481 fi
482 if use !bluetooth; then
483 sed -i -e '/^check_lib(BLUEZ/d' CMakeLists.txt || die
484 fi
485 if use !openal; then
486 sed -i -e '/^include(FindOpenAL/d' CMakeLists.txt || die
487 fi
488 if use !portaudio; then
489 sed -i -e '/CMAKE_REQUIRED_LIBRARIES portaudio/d' CMakeLists.txt || die
490 fi
491 if use !pulseaudio; then
492 sed -i -e '/^check_lib(PULSEAUDIO/d' CMakeLists.txt || die
493 fi
494
495 # Remove ALL the bundled libraries, aside from:
496 # - SOIL: The sources are not public.
497 # - Bochs-disasm: Don't know what it is.
498 # - CLRun: Part of OpenCL
499 # - polarssl: Currently fails the check as is.
500 mv Externals/SOIL . || die
501 mv Externals/Bochs_disasm . || die
502 mv Externals/CLRun . || die
503 mv Externals/polarssl . || die
504 rm -r Externals/* || die
505 mv polarssl Externals || die
506 mv CLRun Externals || die
507 mv Bochs_disasm Externals || die
508 mv SOIL Externals || die
509 }
510
511 src_configure() {
512
513 local mycmakeargs=(
514 "-DDOLPHIN_WC_REVISION=${PV}"
515 "-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}"
516 "-Dprefix=${GAMES_PREFIX}"
517 "-Ddatadir=${GAMES_DATADIR}/${PN}"
518 "-Dplugindir=$(games_get_libdir)/${PN}"
519 $( cmake-utils_use ffmpeg ENCODE_FRAMEDUMPS )
520 $( cmake-utils_use openmp OPENMP )
521 )
522
523 cmake-utils_src_configure
524 }
525
526 src_compile() {
527
528 cmake-utils_src_compile
529 }
530
531 src_install() {
532
533 cmake-utils_src_install
534
535 dodoc Readme.txt
536 if use doc; then
537 dodoc -r docs/ActionReplay docs/DSP docs/WiiMote
538 fi
539
540 doicon Source/Core/DolphinWX/resources/Dolphin.xpm
541 make_desktop_entry "dolphin-emu" "Dolphin" "Dolphin" "Game;"
542
543 prepgamesdirs
544 }
545
546 pkg_postinst() {
547 # Add pax markings for hardened systems
548 pax-mark -m "${EPREFIX}"/usr/games/bin/"${PN}"-emu
549
550 if ! use portaudio; then
551 ewarn "If you want microphone capabilities in dolphin-emu, rebuild with"
552 ewarn "USE=\"portaudio\""
553 fi
554 }