1 |
twitch153 15/04/30 22:42:32 |
2 |
|
3 |
Modified: dolphin-9999.ebuild ChangeLog |
4 |
Added: dolphin-4.0.2-r6.ebuild |
5 |
Removed: dolphin-4.0.2-r5.ebuild |
6 |
Log: |
7 |
Removes unnecessary webkit USE flag dependency for wxGTK |
8 |
|
9 |
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key A8C8FBCF) |
10 |
|
11 |
Revision Changes Path |
12 |
1.25 games-emulation/dolphin/dolphin-9999.ebuild |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/dolphin/dolphin-9999.ebuild?rev=1.25&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/dolphin/dolphin-9999.ebuild?rev=1.25&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/dolphin/dolphin-9999.ebuild?r1=1.24&r2=1.25 |
17 |
|
18 |
Index: dolphin-9999.ebuild |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/games-emulation/dolphin/dolphin-9999.ebuild,v |
21 |
retrieving revision 1.24 |
22 |
retrieving revision 1.25 |
23 |
diff -u -r1.24 -r1.25 |
24 |
--- dolphin-9999.ebuild 26 Apr 2015 19:36:46 -0000 1.24 |
25 |
+++ dolphin-9999.ebuild 30 Apr 2015 22:42:32 -0000 1.25 |
26 |
@@ -1,6 +1,6 @@ |
27 |
# Copyright 1999-2015 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/dolphin/dolphin-9999.ebuild,v 1.24 2015/04/26 19:36:46 twitch153 Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/dolphin/dolphin-9999.ebuild,v 1.25 2015/04/30 22:42:32 twitch153 Exp $ |
31 |
|
32 |
EAPI=5 |
33 |
|
34 |
@@ -50,7 +50,7 @@ |
35 |
media-libs/freetype |
36 |
media-libs/libsoundtouch |
37 |
>=sys-devel/gcc-4.6.0 |
38 |
- x11-libs/wxGTK:${WX_GTK_VER}[webkit] |
39 |
+ x11-libs/wxGTK:${WX_GTK_VER} |
40 |
" |
41 |
|
42 |
pkg_pretend() { |
43 |
|
44 |
|
45 |
|
46 |
1.35 games-emulation/dolphin/ChangeLog |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/dolphin/ChangeLog?rev=1.35&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/dolphin/ChangeLog?rev=1.35&content-type=text/plain |
50 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/dolphin/ChangeLog?r1=1.34&r2=1.35 |
51 |
|
52 |
Index: ChangeLog |
53 |
=================================================================== |
54 |
RCS file: /var/cvsroot/gentoo-x86/games-emulation/dolphin/ChangeLog,v |
55 |
retrieving revision 1.34 |
56 |
retrieving revision 1.35 |
57 |
diff -u -r1.34 -r1.35 |
58 |
--- ChangeLog 26 Apr 2015 19:36:46 -0000 1.34 |
59 |
+++ ChangeLog 30 Apr 2015 22:42:32 -0000 1.35 |
60 |
@@ -1,6 +1,12 @@ |
61 |
# ChangeLog for games-emulation/dolphin |
62 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
63 |
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/dolphin/ChangeLog,v 1.34 2015/04/26 19:36:46 twitch153 Exp $ |
64 |
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/dolphin/ChangeLog,v 1.35 2015/04/30 22:42:32 twitch153 Exp $ |
65 |
+ |
66 |
+*dolphin-4.0.2-r6 (30 Apr 2015) |
67 |
+ |
68 |
+ 30 Apr 2015; Devan Franchini <twitch153@g.o> +dolphin-4.0.2-r6.ebuild, |
69 |
+ -dolphin-4.0.2-r5.ebuild, dolphin-9999.ebuild: |
70 |
+ Removes unnecessary webkit USE flag dependency for wxGTK |
71 |
|
72 |
*dolphin-4.0.2-r5 (26 Apr 2015) |
73 |
|
74 |
|
75 |
|
76 |
|
77 |
1.1 games-emulation/dolphin/dolphin-4.0.2-r6.ebuild |
78 |
|
79 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/dolphin/dolphin-4.0.2-r6.ebuild?rev=1.1&view=markup |
80 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/dolphin/dolphin-4.0.2-r6.ebuild?rev=1.1&content-type=text/plain |
81 |
|
82 |
Index: dolphin-4.0.2-r6.ebuild |
83 |
=================================================================== |
84 |
# Copyright 1999-2015 Gentoo Foundation |
85 |
# Distributed under the terms of the GNU General Public License v2 |
86 |
# $Header: /var/cvsroot/gentoo-x86/games-emulation/dolphin/dolphin-4.0.2-r6.ebuild,v 1.1 2015/04/30 22:42:32 twitch153 Exp $ |
87 |
|
88 |
EAPI=5 |
89 |
|
90 |
WX_GTK_VER="3.0" |
91 |
|
92 |
inherit cmake-utils eutils pax-utils toolchain-funcs versionator wxwidgets games |
93 |
|
94 |
SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${PV}.zip -> ${P}.zip" |
95 |
KEYWORDS="~amd64" |
96 |
|
97 |
DESCRIPTION="Gamecube and Wii game emulator" |
98 |
HOMEPAGE="https://www.dolphin-emu.org/" |
99 |
|
100 |
LICENSE="GPL-2" |
101 |
SLOT="0" |
102 |
IUSE="alsa ao bluetooth doc ffmpeg +lzo openal opengl openmp portaudio pulseaudio" |
103 |
|
104 |
RESTRICT="mirror" |
105 |
|
106 |
RDEPEND=">=media-libs/glew-1.6 |
107 |
<media-libs/libsfml-2.0 |
108 |
>=net-libs/miniupnpc-1.8 |
109 |
media-libs/libsdl2[haptic,joystick] |
110 |
sys-libs/readline:= |
111 |
x11-libs/libXext |
112 |
x11-libs/libXrandr |
113 |
alsa? ( media-libs/alsa-lib ) |
114 |
ao? ( media-libs/libao ) |
115 |
bluetooth? ( net-wireless/bluez ) |
116 |
ffmpeg? ( virtual/ffmpeg |
117 |
!!>=media-video/libav-10 ) |
118 |
lzo? ( dev-libs/lzo ) |
119 |
openal? ( media-libs/openal ) |
120 |
opengl? ( virtual/opengl ) |
121 |
portaudio? ( media-libs/portaudio ) |
122 |
pulseaudio? ( media-sound/pulseaudio ) |
123 |
" |
124 |
DEPEND="${RDEPEND} |
125 |
app-arch/zip |
126 |
media-gfx/nvidia-cg-toolkit |
127 |
media-libs/freetype |
128 |
media-libs/libsoundtouch |
129 |
>=sys-devel/gcc-4.6.0 |
130 |
x11-libs/wxGTK:${WX_GTK_VER} |
131 |
" |
132 |
|
133 |
pkg_pretend() { |
134 |
|
135 |
local ver=4.6.0 |
136 |
local msg="${PN} needs at least GCC ${ver} set to compile." |
137 |
|
138 |
if [[ ${MERGE_TYPE} != binary ]]; then |
139 |
if ! version_is_at_least ${ver} $(gcc-fullversion); then |
140 |
eerror ${msg} |
141 |
die ${msg} |
142 |
fi |
143 |
fi |
144 |
|
145 |
} |
146 |
|
147 |
src_prepare() { |
148 |
|
149 |
# Remove automatic dependencies to prevent building without flags enabled. |
150 |
if use !alsa; then |
151 |
sed -i -e '/include(FindALSA/d' CMakeLists.txt || die |
152 |
fi |
153 |
if use !ao; then |
154 |
sed -i -e '/check_lib(AO/d' CMakeLists.txt || die |
155 |
fi |
156 |
if use !bluetooth; then |
157 |
sed -i -e '/check_lib(BLUEZ/d' CMakeLists.txt || die |
158 |
fi |
159 |
if use !openal; then |
160 |
sed -i -e '/include(FindOpenAL/d' CMakeLists.txt || die |
161 |
fi |
162 |
if use !portaudio; then |
163 |
sed -i -e '/CMAKE_REQUIRED_LIBRARIES portaudio/d' CMakeLists.txt || die |
164 |
fi |
165 |
if use !pulseaudio; then |
166 |
sed -i -e '/check_lib(PULSEAUDIO/d' CMakeLists.txt || die |
167 |
fi |
168 |
|
169 |
# Remove ALL the bundled libraries, aside from: |
170 |
# - SOIL: The sources are not public. |
171 |
# - Bochs-disasm: Don't know what it is. |
172 |
# - CLRun: Part of OpenCL |
173 |
# - polarssl: Currently fails the check as is. |
174 |
mv Externals/SOIL . || die |
175 |
mv Externals/Bochs_disasm . || die |
176 |
mv Externals/CLRun . || die |
177 |
mv Externals/polarssl . || die |
178 |
rm -r Externals/* || die |
179 |
mv polarssl Externals || die |
180 |
mv CLRun Externals || die |
181 |
mv Bochs_disasm Externals || die |
182 |
mv SOIL Externals || die |
183 |
} |
184 |
|
185 |
src_configure() { |
186 |
|
187 |
local mycmakeargs=( |
188 |
"-DDOLPHIN_WC_REVISION=${PV}" |
189 |
"-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}" |
190 |
"-Dprefix=${GAMES_PREFIX}" |
191 |
"-Ddatadir=${GAMES_DATADIR}/${PN}" |
192 |
"-Dplugindir=$(games_get_libdir)/${PN}" |
193 |
$( cmake-utils_use ffmpeg ENCODE_FRAMEDUMPS ) |
194 |
$( cmake-utils_use openmp OPENMP ) |
195 |
) |
196 |
|
197 |
cmake-utils_src_configure |
198 |
} |
199 |
|
200 |
src_compile() { |
201 |
|
202 |
cmake-utils_src_compile |
203 |
} |
204 |
|
205 |
src_install() { |
206 |
|
207 |
cmake-utils_src_install |
208 |
|
209 |
dodoc Readme.txt |
210 |
if use doc; then |
211 |
dodoc -r docs/ActionReplay docs/DSP docs/WiiMote |
212 |
fi |
213 |
|
214 |
doicon Source/Core/DolphinWX/resources/Dolphin.xpm |
215 |
make_desktop_entry "dolphin-emu" "Dolphin" "Dolphin" "Game;" |
216 |
|
217 |
prepgamesdirs |
218 |
} |
219 |
|
220 |
pkg_postinst() { |
221 |
# Add pax markings for hardened systems |
222 |
pax-mark -m "${EPREFIX}"/usr/games/bin/"${PN}"-emu |
223 |
|
224 |
if ! use portaudio; then |
225 |
ewarn "If you want microphone capabilities in dolphin-emu, rebuild with" |
226 |
ewarn "USE=\"portaudio\"" |
227 |
fi |
228 |
} |