Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/mupen64plus-video-glide64mk2/, games-emulation/mupen64plus-core/, ...
Date: Sun, 04 Oct 2015 10:11:54
Message-Id: 1443953484.8bd3b00dcb0b4e546d6c7cdc43a2122280873c8e.mgorny@gentoo
1 commit: 8bd3b00dcb0b4e546d6c7cdc43a2122280873c8e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 4 09:59:28 2015 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 4 10:11:24 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bd3b00d
7
8 games-emulation/mupen64plus*: Version bump to 2.5
9
10 Bump mupen64plus to 2.5 which brings a number of bug fixes. Switch to
11 SDL2 as its support become stable and the default. Also switch m64py to
12 SDL2 to match.
13
14 Package-Manager: portage-2.2.22
15
16 .../{m64py-0.2.3.ebuild => m64py-0.2.3-r1.ebuild} | 15 +--
17 games-emulation/mupen64plus-audio-sdl/Manifest | 1 +
18 .../mupen64plus-audio-sdl-2.5.ebuild | 85 ++++++++++++++++
19 games-emulation/mupen64plus-core/Manifest | 1 +
20 games-emulation/mupen64plus-core/metadata.xml | 2 +
21 .../mupen64plus-core/mupen64plus-core-2.5.ebuild | 112 +++++++++++++++++++++
22 games-emulation/mupen64plus-input-sdl/Manifest | 1 +
23 .../mupen64plus-input-sdl-2.5.ebuild | 77 ++++++++++++++
24 games-emulation/mupen64plus-rsp-hle/Manifest | 1 +
25 .../mupen64plus-rsp-hle-2.5.ebuild | 69 +++++++++++++
26 games-emulation/mupen64plus-ui-console/Manifest | 1 +
27 .../mupen64plus-ui-console-2.5.ebuild | 78 ++++++++++++++
28 .../mupen64plus-video-glide64mk2/Manifest | 1 +
29 .../mupen64plus-video-glide64mk2/metadata.xml | 1 +
30 .../mupen64plus-video-glide64mk2-2.5.ebuild | 89 ++++++++++++++++
31 games-emulation/mupen64plus-video-rice/Manifest | 1 +
32 .../mupen64plus-video-rice/metadata.xml | 3 +
33 .../mupen64plus-video-rice-2.5.ebuild | 82 +++++++++++++++
34 games-emulation/mupen64plus/mupen64plus-2.5.ebuild | 23 +++++
35 profiles/package.mask | 5 -
36 20 files changed, 633 insertions(+), 15 deletions(-)
37
38 diff --git a/games-emulation/m64py/m64py-0.2.3.ebuild b/games-emulation/m64py/m64py-0.2.3-r1.ebuild
39 similarity index 82%
40 rename from games-emulation/m64py/m64py-0.2.3.ebuild
41 rename to games-emulation/m64py/m64py-0.2.3-r1.ebuild
42 index 1837140..6ba5a09 100644
43 --- a/games-emulation/m64py/m64py-0.2.3.ebuild
44 +++ b/games-emulation/m64py/m64py-0.2.3-r1.ebuild
45 @@ -6,7 +6,7 @@ EAPI=5
46
47 PYTHON_COMPAT=( python3_4 )
48
49 -inherit distutils-r1
50 +inherit distutils-r1 versionator
51
52 DESCRIPTION="A frontend for Mupen64Plus"
53 HOMEPAGE="http://m64py.sourceforge.net/"
54 @@ -18,9 +18,9 @@ KEYWORDS="~amd64 ~x86"
55 IUSE=""
56
57 # SDL & libmupen64plus are through ctypes, so they rely on specific ABI
58 -RDEPEND="media-libs/libsdl:0/0[joystick]
59 +RDEPEND="media-libs/libsdl2:0/0[joystick]
60 dev-python/PyQt5[opengl,${PYTHON_USEDEP}]
61 - >=games-emulation/mupen64plus-core-2.0-r1:0/2"
62 + >=games-emulation/mupen64plus-core-2.5:0/2-sdl2"
63
64 python_prepare_all() {
65 # set the correct search path
66 @@ -28,14 +28,9 @@ python_prepare_all() {
67 SEARCH_DIRS = ["/usr/$(get_libdir)/mupen64plus"]
68 _EOF_
69
70 - # comment out SDL2 support since our mupen64plus uses SDL1
71 - sed -e '/from m64py\.SDL2/s:^:#:' \
72 - -e '/QT2SDL2\[/s:^:#:' \
73 - -e '/KEYCODE2SCANCODE\[/s:^:#:' \
74 - -e '/SCANCODE2KEYCODE\[/s:^:#:' \
75 - -i src/m64py/frontend/keymap.py || die
76 + # force SDL2 support to match >=mupen64plus-2.5
77 sed -e '/--sdl2/d' \
78 - -e '/SDL2/s:=.*$:= False:' \
79 + -e '/SDL2/s:=.*$:= True:' \
80 -i src/m64py/opts.py || die
81
82 distutils-r1_python_prepare_all
83
84 diff --git a/games-emulation/mupen64plus-audio-sdl/Manifest b/games-emulation/mupen64plus-audio-sdl/Manifest
85 index 1def790..85aaa08 100644
86 --- a/games-emulation/mupen64plus-audio-sdl/Manifest
87 +++ b/games-emulation/mupen64plus-audio-sdl/Manifest
88 @@ -1 +1,2 @@
89 DIST mupen64plus-audio-sdl-src-2.0.tar.gz 26084 SHA256 943ffa6b6cdaf0cda2a24469dfa1d8e951c88c41472ded9e5c9ecbc111363286 SHA512 92ee4755c22da5a753374c7c6f5e074bf6c1ab06a0ab27d475566d50f8ed75b636b59ffe1a8c9d3d63558bf5783b999a600703951679f7bab346643c0c86871d WHIRLPOOL 82a56a49f0ffe620917dba92bf135593c7e66e2944ec0688b29cc2d5362221b81f76e162840e315476d959b445d38f3bc1bf05538fbf1fa9de96b616835b2198
90 +DIST mupen64plus-audio-sdl-src-2.5.tar.gz 26147 SHA256 1c59f8c2d70206350c0b9067a9722cf2dd67e5686994d5a55adbf51ee8812f59 SHA512 0c63e16449c40f15abdeed968383a218ed9876a92b2c15cbeb6554b20008d6d12996c0fd3bc1c502084791596b8535340596e95a11fe5d27576342740e76db6a WHIRLPOOL ad141c8dbe996590eecada88e943a7d8b0e2d9f4db3d02a17c8b4b1e198580b02ef28ef2b19f2267c77f3060396d068ab2fcbcd2da11ff2e6ecfa61af10bb30f
91
92 diff --git a/games-emulation/mupen64plus-audio-sdl/mupen64plus-audio-sdl-2.5.ebuild b/games-emulation/mupen64plus-audio-sdl/mupen64plus-audio-sdl-2.5.ebuild
93 new file mode 100644
94 index 0000000..4c5fd3c
95 --- /dev/null
96 +++ b/games-emulation/mupen64plus-audio-sdl/mupen64plus-audio-sdl-2.5.ebuild
97 @@ -0,0 +1,85 @@
98 +# Copyright 1999-2014 Gentoo Foundation
99 +# Distributed under the terms of the GNU General Public License v2
100 +# $Id$
101 +
102 +EAPI=5
103 +
104 +MY_P=${PN}-src-${PV}
105 +inherit eutils multilib toolchain-funcs
106 +
107 +DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, SDL audio plugin"
108 +HOMEPAGE="http://www.mupen64plus.org/"
109 +SRC_URI="https://github.com/mupen64plus/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
110 +
111 +LICENSE="GPL-2 LGPL-2.1"
112 +SLOT="0"
113 +KEYWORDS="~amd64 ~x86"
114 +IUSE="libsamplerate oss speex"
115 +
116 +RDEPEND=">=games-emulation/mupen64plus-core-2.5:0=
117 + media-libs/libsdl2:0=[sound]
118 + libsamplerate? ( media-libs/libsamplerate:0= )
119 + speex? ( media-libs/speex:0= )"
120 +DEPEND="${RDEPEND}
121 + virtual/pkgconfig"
122 +
123 +S=${WORKDIR}/${MY_P}
124 +
125 +src_prepare() {
126 + epatch_user
127 +
128 + # avoid implicitly appending CPU flags
129 + sed -i -e 's:-mmmx::g' -e 's:-msse::g' projects/unix/Makefile || die
130 +}
131 +
132 +src_compile() {
133 + MAKEARGS=(
134 + # Note: please keep this in sync in all of mupen64plus-* packages
135 +
136 + -C projects/unix
137 +
138 + # this basically means: GNU userspace
139 + UNAME=Linux
140 +
141 + # verbose output
142 + V=1
143 +
144 + CROSS_COMPILE="${CHOST}-"
145 + CC="$(tc-getCC)"
146 + CXX="$(tc-getCXX)"
147 + PKG_CONFIG="$(tc-getPKG_CONFIG)"
148 + # usual CFLAGS, CXXFLAGS and LDFLAGS are respected
149 + # so we can leave OPTFLAGS empty
150 + OPTFLAGS=
151 +
152 + # paths, some of them are used at compile time
153 + PREFIX=/usr
154 + LIBDIR=/usr/$(get_libdir)
155 +
156 + # disable unwanted magic
157 + LDCONFIG=:
158 + INSTALL_STRIP_FLAG=
159 +
160 + # Package-specific stuff
161 +
162 + # CROSS_COMPILE causes it to look for ${CHOST}-sdl2-config...
163 + SDL_CFLAGS="$($(tc-getPKG_CONFIG) --cflags sdl2)"
164 + SDL_LDLIBS="$($(tc-getPKG_CONFIG) --libs sdl2)"
165 +
166 + NO_SPEEX=$(usex speex 0 1)
167 + NO_SRC=$(usex libsamplerate 0 1)
168 + NO_OSS=$(usex oss 0 1)
169 + # not packaged (https://github.com/nemomobile/libaudioresource)
170 + USE_AUDIORESOURCE=0
171 + )
172 +
173 + use amd64 && MAKEARGS+=( HOST_CPU=x86_64 )
174 + use x86 && MAKEARGS+=( HOST_CPU=i386 )
175 +
176 + emake "${MAKEARGS[@]}" all
177 +}
178 +
179 +src_install() {
180 + emake "${MAKEARGS[@]}" DESTDIR="${D}" install
181 + einstalldocs
182 +}
183
184 diff --git a/games-emulation/mupen64plus-core/Manifest b/games-emulation/mupen64plus-core/Manifest
185 index 19006cc..4a2a712 100644
186 --- a/games-emulation/mupen64plus-core/Manifest
187 +++ b/games-emulation/mupen64plus-core/Manifest
188 @@ -1 +1,2 @@
189 DIST mupen64plus-core-src-2.0.tar.gz 1127862 SHA256 7e98795dbe4646b858919078f58a6ed94f7cfa30867df6cf44ef33da6aaa7a28 SHA512 6f7391536c23b465af737b3b64f3488bc0275c472e27f97f1d8be61e917c6772cad2c747db8ffa251ba88ba4f4c0d29de2451325f3ea4bcc6049534ef1dac41e WHIRLPOOL c32c97071d911696c9b24a931287ba7da1bdb29434300d984926a2a1b0541660022b6a811f616e8ed18de8d59fdafd168a571b248165c950d80f4e045e25aa53
190 +DIST mupen64plus-core-src-2.5.tar.gz 895890 SHA256 59e99a79e7f862517232e3115bd1f72377e3e34da795c118ba617c478c839578 SHA512 1bf643798de4f17e2ce4f2a67dfd242a8b24d873c413b49cbcb280e4264131222e3f3bc02c46111868102b0b5174d117ababceab66551cb38b76b22b3a94f697 WHIRLPOOL 3ea76e1bd914c9f8f2857976df7ab1ee6cc8d41e7b34f2fc832e0f4030b139b702b0295fca157f475b90245dbfe93aaab05ec5677cd676010b69af873b5f8840
191
192 diff --git a/games-emulation/mupen64plus-core/metadata.xml b/games-emulation/mupen64plus-core/metadata.xml
193 index c213473..8345dfe 100644
194 --- a/games-emulation/mupen64plus-core/metadata.xml
195 +++ b/games-emulation/mupen64plus-core/metadata.xml
196 @@ -10,6 +10,8 @@
197 <name>Christian Birchinger</name>
198 </maintainer>
199 <use>
200 + <flag name="debugger">Build the debugger</flag>
201 + <flag name="gles2">Use GLES2 instead of OpenGL</flag>
202 <flag name="new-dynarec">Enable new experimental dynamic recompiler implementation (only for x86 and arm)</flag>
203 <flag name="osd">Overlay emulator messages using on-screen-display</flag>
204 </use>
205
206 diff --git a/games-emulation/mupen64plus-core/mupen64plus-core-2.5.ebuild b/games-emulation/mupen64plus-core/mupen64plus-core-2.5.ebuild
207 new file mode 100644
208 index 0000000..a279007
209 --- /dev/null
210 +++ b/games-emulation/mupen64plus-core/mupen64plus-core-2.5.ebuild
211 @@ -0,0 +1,112 @@
212 +# Copyright 1999-2015 Gentoo Foundation
213 +# Distributed under the terms of the GNU General Public License v2
214 +# $Id$
215 +
216 +EAPI=5
217 +
218 +MY_P=${PN}-src-${PV}
219 +inherit eutils multilib toolchain-funcs
220 +
221 +DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, core library"
222 +HOMEPAGE="http://www.mupen64plus.org/"
223 +SRC_URI="https://github.com/mupen64plus/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
224 +
225 +LICENSE="GPL-2 LGPL-2.1"
226 +SLOT="0/2-sdl2"
227 +KEYWORDS="~amd64 ~x86"
228 +IUSE="debugger gles2 lirc new-dynarec +osd cpu_flags_x86_sse"
229 +
230 +RDEPEND="media-libs/libpng:0=
231 + media-libs/libsdl2:0=[joystick,opengl,video]
232 + sys-libs/zlib:0=[minizip]
233 + lirc? ( app-misc/lirc:0 )
234 + osd? (
235 + media-fonts/ttf-bitstream-vera
236 + media-libs/freetype:2=
237 + virtual/opengl:0=
238 + virtual/glu:0=
239 + )
240 + !<games-emulation/mupen64plus-2.0"
241 +DEPEND="${RDEPEND}
242 + virtual/pkgconfig"
243 +
244 +# block versions using SDL1
245 +RDEPEND="${RDEPEND}
246 + !<games-emulation/m64py-0.2.3-r1
247 + !<games-emulation/mupen64plus-audio-sdl-2.5
248 + !<games-emulation/mupen64plus-input-sdl-2.5
249 + !<games-emulation/mupen64plus-ui-console-2.5
250 + !<games-emulation/mupen64plus-video-glide64mk2-2.5
251 + !<games-emulation/mupen64plus-video-rice-2.5"
252 +
253 +REQUIRED_USE="gles2? ( !osd )"
254 +S=${WORKDIR}/${MY_P}
255 +
256 +src_prepare() {
257 + epatch_user
258 +
259 + # avoid implicitly appending CPU flags
260 + sed -i -e 's:-mmmx::g' -e 's:-msse::g' projects/unix/Makefile || die
261 +}
262 +
263 +src_compile() {
264 + MAKEARGS=(
265 + # Note: please keep this in sync in all of mupen64plus-* packages
266 +
267 + -C projects/unix
268 +
269 + # this basically means: GNU userspace
270 + UNAME=Linux
271 +
272 + # verbose output
273 + V=1
274 +
275 + CROSS_COMPILE="${CHOST}-"
276 + CC="$(tc-getCC)"
277 + CXX="$(tc-getCXX)"
278 + PKG_CONFIG="$(tc-getPKG_CONFIG)"
279 + # usual CFLAGS, CXXFLAGS and LDFLAGS are respected
280 + # so we can leave OPTFLAGS empty
281 + OPTFLAGS=
282 +
283 + # paths, some of them are used at compile time
284 + PREFIX=/usr
285 + LIBDIR=/usr/$(get_libdir)
286 +
287 + # disable unwanted magic
288 + LDCONFIG=:
289 + INSTALL_STRIP_FLAG=
290 +
291 + # Package-specific stuff
292 +
293 + # CROSS_COMPILE causes it to look for ${CHOST}-sdl2-config...
294 + SDL_CFLAGS="$($(tc-getPKG_CONFIG) --cflags sdl2)"
295 + SDL_LDLIBS="$($(tc-getPKG_CONFIG) --libs sdl2)"
296 +
297 + OSD=$(usex osd 1 0)
298 + NO_ASM=$(usex cpu_flags_x86_sse 0 1)
299 + LIRC=$(usex lirc 1 0)
300 + DEBUGGER=$(usex debugger 1 0)
301 + NEW_DYNAREC=$(usex new-dynarec 1 0)
302 + USE_GLES=$(usex gles2 1 0)
303 + )
304 +
305 + use amd64 && MAKEARGS+=( HOST_CPU=x86_64 )
306 + use x86 && MAKEARGS+=( HOST_CPU=i386 )
307 +
308 + emake "${MAKEARGS[@]}" all
309 +}
310 +
311 +src_install() {
312 + emake "${MAKEARGS[@]}" DESTDIR="${D}" install
313 + einstalldocs
314 + dodoc -r doc/{emuwiki-api-doc,new_dynarec.txt}
315 +
316 + # replace bundled font with a symlink
317 + # TODO: fix the code to not rely on it
318 + local font_path=/usr/share/mupen64plus/font.ttf
319 + rm "${D%/}/${font_path}" || die
320 + if use osd; then
321 + dosym /usr/share/fonts/ttf-bitstream-vera/Vera.ttf "${font_path}"
322 + fi
323 +}
324
325 diff --git a/games-emulation/mupen64plus-input-sdl/Manifest b/games-emulation/mupen64plus-input-sdl/Manifest
326 index f0bddf1..0b1fc1d 100644
327 --- a/games-emulation/mupen64plus-input-sdl/Manifest
328 +++ b/games-emulation/mupen64plus-input-sdl/Manifest
329 @@ -1 +1,2 @@
330 DIST mupen64plus-input-sdl-src-2.0.tar.gz 43553 SHA256 b6be48e978683cced8c208ad03e27828c17ac7b2da5e699d6c34945db63d95b6 SHA512 adbeb83e01721aa74e5e65c05e4bff2a250c7bf51835a8b2c020752e9bf0bdb0f0672914fc5285ad9da2e6fa44259780aea6415d77914bb34e521f30eecf6747 WHIRLPOOL 647ccef13620c863077ae2eefb6934d966eaa413fe70437a38560e5fa03f479428e4848f2c2f3f38163a122a29f8b118fb50f9f772bfd1df96ab2860044352d7
331 +DIST mupen64plus-input-sdl-src-2.5.tar.gz 50580 SHA256 65e528667b7f57a307b92abba37a3601ee17e9dd9d303ba7e4163b27f3ef771b SHA512 014a5e21feb88b14bcee44a74556a257393b799745308421a611eb3b6c11a390a589fdd393f07e69a128ca60426d4dcf8847bcbabed77b0d570be282550148d6 WHIRLPOOL a3d60880c17939785af93f9a2a9de6d9180ae754580d9a21efd5cfc7b0774b7883115f71dde35b1c448c8fc259e4229866e92c7ac51053055e9878fc90ae48b1
332
333 diff --git a/games-emulation/mupen64plus-input-sdl/mupen64plus-input-sdl-2.5.ebuild b/games-emulation/mupen64plus-input-sdl/mupen64plus-input-sdl-2.5.ebuild
334 new file mode 100644
335 index 0000000..6c4856a
336 --- /dev/null
337 +++ b/games-emulation/mupen64plus-input-sdl/mupen64plus-input-sdl-2.5.ebuild
338 @@ -0,0 +1,77 @@
339 +# Copyright 1999-2014 Gentoo Foundation
340 +# Distributed under the terms of the GNU General Public License v2
341 +# $Id$
342 +
343 +EAPI=5
344 +
345 +MY_P=${PN}-src-${PV}
346 +inherit eutils multilib toolchain-funcs
347 +
348 +DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, SDL input plugin"
349 +HOMEPAGE="http://www.mupen64plus.org/"
350 +SRC_URI="https://github.com/mupen64plus/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
351 +
352 +LICENSE="GPL-2 LGPL-2.1"
353 +SLOT="0"
354 +KEYWORDS="~amd64 ~x86"
355 +IUSE=""
356 +
357 +RDEPEND=">=games-emulation/mupen64plus-core-2.5:0=
358 + media-libs/libsdl2:0=[joystick]"
359 +DEPEND="${RDEPEND}
360 + virtual/pkgconfig"
361 +
362 +S=${WORKDIR}/${MY_P}
363 +
364 +src_prepare() {
365 + epatch_user
366 +
367 + # avoid implicitly appending CPU flags
368 + sed -i -e 's:-mmmx::g' -e 's:-msse::g' projects/unix/Makefile || die
369 +}
370 +
371 +src_compile() {
372 + MAKEARGS=(
373 + # Note: please keep this in sync in all of mupen64plus-* packages
374 +
375 + -C projects/unix
376 +
377 + # this basically means: GNU userspace
378 + UNAME=Linux
379 +
380 + # verbose output
381 + V=1
382 +
383 + CROSS_COMPILE="${CHOST}-"
384 + CC="$(tc-getCC)"
385 + CXX="$(tc-getCXX)"
386 + PKG_CONFIG="$(tc-getPKG_CONFIG)"
387 + # usual CFLAGS, CXXFLAGS and LDFLAGS are respected
388 + # so we can leave OPTFLAGS empty
389 + OPTFLAGS=
390 +
391 + # paths, some of them are used at compile time
392 + PREFIX=/usr
393 + LIBDIR=/usr/$(get_libdir)
394 +
395 + # disable unwanted magic
396 + LDCONFIG=:
397 + INSTALL_STRIP_FLAG=
398 +
399 + # Package-specific stuff
400 +
401 + # CROSS_COMPILE causes it to look for ${CHOST}-sdl2-config...
402 + SDL_CFLAGS="$($(tc-getPKG_CONFIG) --cflags sdl2)"
403 + SDL_LDLIBS="$($(tc-getPKG_CONFIG) --libs sdl2)"
404 + )
405 +
406 + use amd64 && MAKEARGS+=( HOST_CPU=x86_64 )
407 + use x86 && MAKEARGS+=( HOST_CPU=i386 )
408 +
409 + emake "${MAKEARGS[@]}" all
410 +}
411 +
412 +src_install() {
413 + emake "${MAKEARGS[@]}" DESTDIR="${D}" install
414 + einstalldocs
415 +}
416
417 diff --git a/games-emulation/mupen64plus-rsp-hle/Manifest b/games-emulation/mupen64plus-rsp-hle/Manifest
418 index 0b5b6fd..2264dc3 100644
419 --- a/games-emulation/mupen64plus-rsp-hle/Manifest
420 +++ b/games-emulation/mupen64plus-rsp-hle/Manifest
421 @@ -1 +1,2 @@
422 DIST mupen64plus-rsp-hle-src-2.0.tar.gz 46291 SHA256 61c2bd163b3506d206957ba690dfd1b4d2921a6c8a3883ab6a8ef1204de7b736 SHA512 e1caa121d377be0856708fa5c13c234abc0bbb2cab90f40963983baf6230a1d4a4b7da9af0fa2ed6737538265b6392d8a43e9e537ccbd63bbb6ee44da8b29fdf WHIRLPOOL 9b3b1557bfc301390b5069892c4fabead82d7a6f1bf28da7a51ce8345fbbb12e611756d4818f423936517fbc51b0839eb25b3e9acf88160a9857ac7c7eb9ab35
423 +DIST mupen64plus-rsp-hle-src-2.5.tar.gz 46998 SHA256 4b2e11193746e0fbe4dfa78426c1214cf2e42779132eb2f668bf88f498517703 SHA512 564d96050890cc61df05163f99a0be8198e870f0d4071e87828bf58b283b2be8ca7de20ed03482ea8c45725bdd6f6baea618c068cced407892cf2add6ef373c6 WHIRLPOOL ea44abf46720879a0b781284c21dadbb776c12192f87ee362d8732d113cb8763e6a273a7aa7091866e58a01ace01581670440dcf81802346e1c61cdbc92a9670
424
425 diff --git a/games-emulation/mupen64plus-rsp-hle/mupen64plus-rsp-hle-2.5.ebuild b/games-emulation/mupen64plus-rsp-hle/mupen64plus-rsp-hle-2.5.ebuild
426 new file mode 100644
427 index 0000000..dac1892
428 --- /dev/null
429 +++ b/games-emulation/mupen64plus-rsp-hle/mupen64plus-rsp-hle-2.5.ebuild
430 @@ -0,0 +1,69 @@
431 +# Copyright 1999-2014 Gentoo Foundation
432 +# Distributed under the terms of the GNU General Public License v2
433 +# $Id$
434 +
435 +EAPI=5
436 +
437 +MY_P=${PN}-src-${PV}
438 +inherit eutils multilib toolchain-funcs
439 +
440 +DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, HLE RSP plugin"
441 +HOMEPAGE="http://www.mupen64plus.org/"
442 +SRC_URI="https://github.com/mupen64plus/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
443 +
444 +LICENSE="GPL-2 LGPL-2.1"
445 +SLOT="0"
446 +KEYWORDS="~amd64 ~x86"
447 +IUSE=""
448 +
449 +RDEPEND=">=games-emulation/mupen64plus-core-2.0-r1:0="
450 +DEPEND="${RDEPEND}"
451 +
452 +S=${WORKDIR}/${MY_P}
453 +
454 +src_prepare() {
455 + epatch_user
456 +
457 + # avoid implicitly appending CPU flags
458 + sed -i -e 's:-mmmx::g' -e 's:-msse::g' projects/unix/Makefile || die
459 +}
460 +
461 +src_compile() {
462 + MAKEARGS=(
463 + # Note: please keep this in sync in all of mupen64plus-* packages
464 +
465 + -C projects/unix
466 +
467 + # this basically means: GNU userspace
468 + UNAME=Linux
469 +
470 + # verbose output
471 + V=1
472 +
473 + CROSS_COMPILE="${CHOST}-"
474 + CC="$(tc-getCC)"
475 + CXX="$(tc-getCXX)"
476 + PKG_CONFIG="$(tc-getPKG_CONFIG)"
477 + # usual CFLAGS, CXXFLAGS and LDFLAGS are respected
478 + # so we can leave OPTFLAGS empty
479 + OPTFLAGS=
480 +
481 + # paths, some of them are used at compile time
482 + PREFIX=/usr
483 + LIBDIR=/usr/$(get_libdir)
484 +
485 + # disable unwanted magic
486 + LDCONFIG=:
487 + INSTALL_STRIP_FLAG=
488 + )
489 +
490 + use amd64 && MAKEARGS+=( HOST_CPU=x86_64 )
491 + use x86 && MAKEARGS+=( HOST_CPU=i386 )
492 +
493 + emake "${MAKEARGS[@]}" all
494 +}
495 +
496 +src_install() {
497 + emake "${MAKEARGS[@]}" DESTDIR="${D}" install
498 + einstalldocs
499 +}
500
501 diff --git a/games-emulation/mupen64plus-ui-console/Manifest b/games-emulation/mupen64plus-ui-console/Manifest
502 index 9af1c63..886522e 100644
503 --- a/games-emulation/mupen64plus-ui-console/Manifest
504 +++ b/games-emulation/mupen64plus-ui-console/Manifest
505 @@ -1 +1,2 @@
506 DIST mupen64plus-ui-console-src-2.0.tar.gz 37954 SHA256 87b9ac0a5ebbc835baa4e1fba0f50e7467e87da6469aa28fdb196e2040e54877 SHA512 7276e19772cfa047ea75c0c87930d7042a41d7d30912cae7f2c44e37ce6d446e8f5bf4e8ce89e69cabcb05185fe7b59a0ff5d12a7f7bbfa010404c2bedd94ea0 WHIRLPOOL 455a3fbb5eb0027ffbf52693e41f2fe8b5a098e32daa0d532b05f0841a35905beb0ffac9b942165d0b03f975468fff75f953cb9b9de02f8a5e49944e28dfccf8
507 +DIST mupen64plus-ui-console-src-2.5.tar.gz 47852 SHA256 71fee012678ff88f18130e339afd8c5467a2646b7e50da75ba2d5fa342b74a67 SHA512 70293a768c2bc5f80a2f71db229021d497d675536f5dc5eb098f91b62081f993f308d410adebce208a89880f57b037d5b42fa2f95c42ce94ffe2fca326a53046 WHIRLPOOL 4016d6b456d088b19dca2e44e615593bde6e611b36ff0837f9a8d821be87db028027b82daacfccc55488f61ea0110743efb5bed9703336187f88dd8668150e19
508
509 diff --git a/games-emulation/mupen64plus-ui-console/mupen64plus-ui-console-2.5.ebuild b/games-emulation/mupen64plus-ui-console/mupen64plus-ui-console-2.5.ebuild
510 new file mode 100644
511 index 0000000..e0a5e43
512 --- /dev/null
513 +++ b/games-emulation/mupen64plus-ui-console/mupen64plus-ui-console-2.5.ebuild
514 @@ -0,0 +1,78 @@
515 +# Copyright 1999-2014 Gentoo Foundation
516 +# Distributed under the terms of the GNU General Public License v2
517 +# $Id$
518 +
519 +EAPI=5
520 +
521 +MY_P=${PN}-src-${PV}
522 +inherit eutils multilib toolchain-funcs
523 +
524 +DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, console UI"
525 +HOMEPAGE="http://www.mupen64plus.org/"
526 +SRC_URI="https://github.com/mupen64plus/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
527 +
528 +LICENSE="GPL-2 LGPL-2.1"
529 +SLOT="0"
530 +KEYWORDS="~amd64 ~x86"
531 +IUSE=""
532 +
533 +RDEPEND=">=games-emulation/mupen64plus-core-2.0-r1:0=
534 + media-libs/libsdl2:0=
535 + !<games-emulation/mupen64plus-2.0"
536 +DEPEND="${RDEPEND}
537 + virtual/pkgconfig"
538 +
539 +S=${WORKDIR}/${MY_P}
540 +
541 +src_prepare() {
542 + epatch_user
543 +
544 + # avoid implicitly appending CPU flags
545 + sed -i -e 's:-mmmx::g' -e 's:-msse::g' projects/unix/Makefile || die
546 +}
547 +
548 +src_compile() {
549 + MAKEARGS=(
550 + # Note: please keep this in sync in all of mupen64plus-* packages
551 +
552 + -C projects/unix
553 +
554 + # this basically means: GNU userspace
555 + UNAME=Linux
556 +
557 + # verbose output
558 + V=1
559 +
560 + CROSS_COMPILE="${CHOST}-"
561 + CC="$(tc-getCC)"
562 + CXX="$(tc-getCXX)"
563 + PKG_CONFIG="$(tc-getPKG_CONFIG)"
564 + # usual CFLAGS, CXXFLAGS and LDFLAGS are respected
565 + # so we can leave OPTFLAGS empty
566 + OPTFLAGS=
567 +
568 + # paths, some of them are used at compile time
569 + PREFIX=/usr
570 + LIBDIR=/usr/$(get_libdir)
571 +
572 + # disable unwanted magic
573 + LDCONFIG=:
574 + INSTALL_STRIP_FLAG=
575 +
576 + # Package-specific stuff
577 +
578 + # CROSS_COMPILE causes it to look for ${CHOST}-sdl2-config...
579 + SDL_CFLAGS="$($(tc-getPKG_CONFIG) --cflags sdl2)"
580 + SDL_LDLIBS="$($(tc-getPKG_CONFIG) --libs sdl2)"
581 + )
582 +
583 + use amd64 && MAKEARGS+=( HOST_CPU=x86_64 )
584 + use x86 && MAKEARGS+=( HOST_CPU=i386 )
585 +
586 + emake "${MAKEARGS[@]}" all
587 +}
588 +
589 +src_install() {
590 + emake "${MAKEARGS[@]}" DESTDIR="${D}" install
591 + einstalldocs
592 +}
593
594 diff --git a/games-emulation/mupen64plus-video-glide64mk2/Manifest b/games-emulation/mupen64plus-video-glide64mk2/Manifest
595 index 891c395..36dbc5e 100644
596 --- a/games-emulation/mupen64plus-video-glide64mk2/Manifest
597 +++ b/games-emulation/mupen64plus-video-glide64mk2/Manifest
598 @@ -1 +1,2 @@
599 DIST mupen64plus-video-glide64mk2-src-2.0.tar.gz 445166 SHA256 7761594432e90aed2dd12a5f16b30674c65b1f1abad0d98ac6239c3b2c44a4d5 SHA512 043b84927219b574da3c489119007bd115c9fa0f3f476ea9e812c8321a7f1e9309af06bed0b975c00201bc35f925d3b85c3411aa02310fd1ea508191184afa9a WHIRLPOOL b55c7412139b5b31fc919947068a7ad06958b20e54b9ac350cac88af3fec0d03d4f36675c1b60ba330061e652d489113bd7b84f53e7677c3cc1f0039c2a135af
600 +DIST mupen64plus-video-glide64mk2-src-2.5.tar.gz 488988 SHA256 ef3dae0084e078d843605abdf5039eb8b5dd68ff1410b4fc12bdf19592a9fcb6 SHA512 b62620a364ca9e6bf729e5dd07fb84a73745c6533b95468d3f5411c0556824282f760efefea0968b0a9282f77c315bbed8b0b8a59d771893b7fd0f5f24ad725d WHIRLPOOL 63068d428d5a00a52911155e39cdd09ee79d1ca2d47b005799bf25e4438a476271aa786a3227d9f77e7cb80fe20b18906a70f7829947dbfb2f8d04ffd3da4e18
601
602 diff --git a/games-emulation/mupen64plus-video-glide64mk2/metadata.xml b/games-emulation/mupen64plus-video-glide64mk2/metadata.xml
603 index 7eb8e67..31c4712 100644
604 --- a/games-emulation/mupen64plus-video-glide64mk2/metadata.xml
605 +++ b/games-emulation/mupen64plus-video-glide64mk2/metadata.xml
606 @@ -10,6 +10,7 @@
607 <name>Christian Birchinger</name>
608 </maintainer>
609 <use>
610 + <flag name="gles2">Use GLES2 instead of OpenGL</flag>
611 <flag name="hires">Support hi-resolution textures (requires <pkg>dev-libs/boost</pkg>)</flag>
612 </use>
613 <upstream>
614
615 diff --git a/games-emulation/mupen64plus-video-glide64mk2/mupen64plus-video-glide64mk2-2.5.ebuild b/games-emulation/mupen64plus-video-glide64mk2/mupen64plus-video-glide64mk2-2.5.ebuild
616 new file mode 100644
617 index 0000000..eb83f47
618 --- /dev/null
619 +++ b/games-emulation/mupen64plus-video-glide64mk2/mupen64plus-video-glide64mk2-2.5.ebuild
620 @@ -0,0 +1,89 @@
621 +# Copyright 1999-2015 Gentoo Foundation
622 +# Distributed under the terms of the GNU General Public License v2
623 +# $Id$
624 +
625 +EAPI=5
626 +
627 +MY_P=${PN}-src-${PV}
628 +inherit eutils multilib toolchain-funcs
629 +
630 +DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, glide64mk2 video plugin"
631 +HOMEPAGE="http://www.mupen64plus.org/"
632 +SRC_URI="https://github.com/mupen64plus/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
633 +
634 +LICENSE="GPL-2 LGPL-2.1"
635 +SLOT="0"
636 +KEYWORDS="~amd64 ~x86"
637 +IUSE="gles2 hires cpu_flags_x86_sse"
638 +
639 +RDEPEND=">=games-emulation/mupen64plus-core-2.5:0=[gles2=]
640 + media-libs/libpng:0=
641 + media-libs/libsdl2:0=
642 + media-libs/libtxc_dxtn
643 + sys-libs/zlib:0=
644 + virtual/opengl:0=
645 + hires? ( dev-libs/boost:0= )"
646 +DEPEND="${RDEPEND}
647 + virtual/pkgconfig"
648 +
649 +S=${WORKDIR}/${MY_P}
650 +
651 +src_prepare() {
652 + epatch_user
653 +
654 + # avoid implicitly appending CPU flags
655 + sed -i -e 's:-mmmx::g' -e 's:-msse::g' projects/unix/Makefile || die
656 +}
657 +
658 +src_compile() {
659 + MAKEARGS=(
660 + # Note: please keep this in sync in all of mupen64plus-* packages
661 +
662 + -C projects/unix
663 +
664 + # this basically means: GNU userspace
665 + UNAME=Linux
666 +
667 + # verbose output
668 + V=1
669 +
670 + CROSS_COMPILE="${CHOST}-"
671 + CC="$(tc-getCC)"
672 + CXX="$(tc-getCXX)"
673 + PKG_CONFIG="$(tc-getPKG_CONFIG)"
674 + # usual CFLAGS, CXXFLAGS and LDFLAGS are respected
675 + # so we can leave OPTFLAGS empty
676 + OPTFLAGS=
677 +
678 + # paths, some of them are used at compile time
679 + PREFIX=/usr
680 + LIBDIR=/usr/$(get_libdir)
681 +
682 + # disable unwanted magic
683 + LDCONFIG=:
684 + INSTALL_STRIP_FLAG=
685 +
686 + # Package-specific stuff
687 +
688 + # CROSS_COMPILE causes it to look for ${CHOST}-sdl2-config...
689 + SDL_CFLAGS="$($(tc-getPKG_CONFIG) --cflags sdl2)"
690 + SDL_LDLIBS="$($(tc-getPKG_CONFIG) --libs sdl2)"
691 +
692 + NOSSE=$(usex cpu_flags_x86_sse 0 1)
693 + HIRES=$(usex hires 1 0)
694 + USE_FRAMESKIPPER=1
695 + USE_GLES=$(usex gles2 1 0)
696 + # use external lib
697 + TXCDXTN=1
698 + )
699 +
700 + use amd64 && MAKEARGS+=( HOST_CPU=x86_64 )
701 + use x86 && MAKEARGS+=( HOST_CPU=i386 )
702 +
703 + emake "${MAKEARGS[@]}" all
704 +}
705 +
706 +src_install() {
707 + emake "${MAKEARGS[@]}" DESTDIR="${D}" install
708 + einstalldocs
709 +}
710
711 diff --git a/games-emulation/mupen64plus-video-rice/Manifest b/games-emulation/mupen64plus-video-rice/Manifest
712 index 0ae3e56..26e5de8 100644
713 --- a/games-emulation/mupen64plus-video-rice/Manifest
714 +++ b/games-emulation/mupen64plus-video-rice/Manifest
715 @@ -1 +1,2 @@
716 DIST mupen64plus-video-rice-src-2.0.tar.gz 362013 SHA256 3eb076e7c38ab45c9ec752d30e00eca022a9e0c6ead1a22df13ad94902e08238 SHA512 bbab67be20b6d2ed6a246de8a2b955051489ac128ddecff0e3fc54782fc1d17ed8f9e1cded22d215b2c5c865b4b5fe831fffb28803247a2e494746565d23d764 WHIRLPOOL ab4399e0c70351e69995a5f40aa308b4d37489b7997d8a0eae97a183c62eea6976469c1e420c04cd24f9c32e9828d677264ce684e57af2500e7e57047bf98011
717 +DIST mupen64plus-video-rice-src-2.5.tar.gz 339012 SHA256 969f65b9f42f48bc7e840e4ed1342233e4371c2edca5aa8f36f69c4b20955828 SHA512 d3e9c3b3097ca9b9d896498bb34374a14ec1948fce8b795e755bb13a88f3066289fe2500666b4057e719bf3f1b38b840f8a60eaeccdcdddfab69b1986c953d61 WHIRLPOOL ff5f5fa9f74dc6110239998a2a0025b2fbf796dfd98a65f80d57ccb1197c4df7904890734445e073a2b89f90793da565527b6d7ab32a62e504d10fe6aaf9d6f5
718
719 diff --git a/games-emulation/mupen64plus-video-rice/metadata.xml b/games-emulation/mupen64plus-video-rice/metadata.xml
720 index 9af84f3..31d3b71 100644
721 --- a/games-emulation/mupen64plus-video-rice/metadata.xml
722 +++ b/games-emulation/mupen64plus-video-rice/metadata.xml
723 @@ -9,6 +9,9 @@
724 <email>joker@g.o</email>
725 <name>Christian Birchinger</name>
726 </maintainer>
727 + <use>
728 + <flag name="gles2">Use GLES2 instead of OpenGL</flag>
729 + </use>
730 <upstream>
731 <remote-id type="github">mupen64plus/mupen64plus-video-rice</remote-id>
732 </upstream>
733
734 diff --git a/games-emulation/mupen64plus-video-rice/mupen64plus-video-rice-2.5.ebuild b/games-emulation/mupen64plus-video-rice/mupen64plus-video-rice-2.5.ebuild
735 new file mode 100644
736 index 0000000..73fa381
737 --- /dev/null
738 +++ b/games-emulation/mupen64plus-video-rice/mupen64plus-video-rice-2.5.ebuild
739 @@ -0,0 +1,82 @@
740 +# Copyright 1999-2015 Gentoo Foundation
741 +# Distributed under the terms of the GNU General Public License v2
742 +# $Id$
743 +
744 +EAPI=5
745 +
746 +MY_P=${PN}-src-${PV}
747 +inherit eutils multilib toolchain-funcs
748 +
749 +DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, rice video plugin"
750 +HOMEPAGE="http://www.mupen64plus.org/"
751 +SRC_URI="https://github.com/mupen64plus/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
752 +
753 +LICENSE="GPL-2 LGPL-2.1"
754 +SLOT="0"
755 +KEYWORDS="~amd64 ~x86"
756 +IUSE="gles2 cpu_flags_x86_sse"
757 +
758 +RDEPEND=">=games-emulation/mupen64plus-core-2.5:0=[gles2=]
759 + media-libs/libpng:0=
760 + media-libs/libsdl2:0=[video]
761 + virtual/opengl:0="
762 +DEPEND="${RDEPEND}
763 + virtual/pkgconfig"
764 +
765 +S=${WORKDIR}/${MY_P}
766 +
767 +src_prepare() {
768 + epatch_user
769 +
770 + # avoid implicitly appending CPU flags
771 + sed -i -e 's:-mmmx::g' -e 's:-msse::g' projects/unix/Makefile || die
772 +}
773 +
774 +src_compile() {
775 + MAKEARGS=(
776 + # Note: please keep this in sync in all of mupen64plus-* packages
777 +
778 + -C projects/unix
779 +
780 + # this basically means: GNU userspace
781 + UNAME=Linux
782 +
783 + # verbose output
784 + V=1
785 +
786 + CROSS_COMPILE="${CHOST}-"
787 + CC="$(tc-getCC)"
788 + CXX="$(tc-getCXX)"
789 + PKG_CONFIG="$(tc-getPKG_CONFIG)"
790 + # usual CFLAGS, CXXFLAGS and LDFLAGS are respected
791 + # so we can leave OPTFLAGS empty
792 + OPTFLAGS=
793 +
794 + # paths, some of them are used at compile time
795 + PREFIX=/usr
796 + LIBDIR=/usr/$(get_libdir)
797 +
798 + # disable unwanted magic
799 + LDCONFIG=:
800 + INSTALL_STRIP_FLAG=
801 +
802 + # Package-specific stuff
803 +
804 + # CROSS_COMPILE causes it to look for ${CHOST}-sdl2-config...
805 + SDL_CFLAGS="$($(tc-getPKG_CONFIG) --cflags sdl2)"
806 + SDL_LDLIBS="$($(tc-getPKG_CONFIG) --libs sdl2)"
807 +
808 + NO_ASM=$(usex cpu_flags_x86_sse 0 1)
809 + USE_GLES=$(usex gles2 1 0)
810 + )
811 +
812 + use amd64 && MAKEARGS+=( HOST_CPU=x86_64 )
813 + use x86 && MAKEARGS+=( HOST_CPU=i386 )
814 +
815 + emake "${MAKEARGS[@]}" all
816 +}
817 +
818 +src_install() {
819 + emake "${MAKEARGS[@]}" DESTDIR="${D}" install
820 + einstalldocs
821 +}
822
823 diff --git a/games-emulation/mupen64plus/mupen64plus-2.5.ebuild b/games-emulation/mupen64plus/mupen64plus-2.5.ebuild
824 new file mode 100644
825 index 0000000..746a4d0
826 --- /dev/null
827 +++ b/games-emulation/mupen64plus/mupen64plus-2.5.ebuild
828 @@ -0,0 +1,23 @@
829 +# Copyright 1999-2013 Gentoo Foundation
830 +# Distributed under the terms of the GNU General Public License v2
831 +# $Id$
832 +
833 +EAPI=5
834 +
835 +DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, meta-package"
836 +HOMEPAGE="http://www.mupen64plus.org/"
837 +SRC_URI=""
838 +
839 +LICENSE="metapackage"
840 +SLOT="0"
841 +KEYWORDS="~amd64 ~x86"
842 +IUSE="+audio-sdl +input-sdl +rsp-hle +ui-console +ui-m64py +video-glide64mk2 +video-rice"
843 +
844 +RDEPEND=">=games-emulation/mupen64plus-core-2.5
845 + audio-sdl? ( >=games-emulation/mupen64plus-audio-sdl-2.5 )
846 + input-sdl? ( >=games-emulation/mupen64plus-input-sdl-2.5 )
847 + rsp-hle? ( >=games-emulation/mupen64plus-rsp-hle-2.5 )
848 + ui-console? ( >=games-emulation/mupen64plus-ui-console-2.5 )
849 + ui-m64py? ( >=games-emulation/m64py-0.2.3-r1 )
850 + video-glide64mk2? ( >=games-emulation/mupen64plus-video-glide64mk2-2.5 )
851 + video-rice? ( >=games-emulation/mupen64plus-video-rice-2.5 )"
852
853 diff --git a/profiles/package.mask b/profiles/package.mask
854 index bedc6b0..0a23a7c 100644
855 --- a/profiles/package.mask
856 +++ b/profiles/package.mask
857 @@ -38,11 +38,6 @@
858 =sys-kernel/vanilla-sources-4.1.9
859 =sys-kernel/gentoo-sources-4.1.9
860
861 -# Michał Górny <mgorny@g.o> (1 Oct 2015)
862 -# Thoroughly broken for me since the switch to Python 3 / PyQt5. Masking
863 -# to account for opt-in testing.
864 -=games-emulation/m64py-0.2.3
865 -
866 # Patrice Clement <monsieurp@g.o> (1 Oct 2015)
867 # Project is over 10 years old and seems to have stalled.
868 # Masked for removal in 30 days. See bug 561954.