1 |
hasufell 14/02/23 03:27:16 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: higan-094.ebuild |
5 |
Log: |
6 |
version bump wrt #501520 |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key E73C35B3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 games-emulation/higan/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/higan/metadata.xml?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/higan/metadata.xml?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/higan/metadata.xml?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/games-emulation/higan/metadata.xml,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- metadata.xml 9 Jun 2013 19:15:58 -0000 1.1 |
24 |
+++ metadata.xml 23 Feb 2014 03:27:16 -0000 1.2 |
25 |
@@ -13,6 +13,7 @@ |
26 |
Compile a binary with balanced optimization</flag> |
27 |
<flag name='profile_performance'> |
28 |
Compile a binary optimized for performance</flag> |
29 |
+ <flag name='udev'>Enable udev based input</flag> |
30 |
</use> |
31 |
</pkgmetadata> |
32 |
|
33 |
|
34 |
|
35 |
|
36 |
1.4 games-emulation/higan/ChangeLog |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/higan/ChangeLog?rev=1.4&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/higan/ChangeLog?rev=1.4&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/higan/ChangeLog?r1=1.3&r2=1.4 |
41 |
|
42 |
Index: ChangeLog |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/games-emulation/higan/ChangeLog,v |
45 |
retrieving revision 1.3 |
46 |
retrieving revision 1.4 |
47 |
diff -u -r1.3 -r1.4 |
48 |
--- ChangeLog 28 Aug 2013 11:14:00 -0000 1.3 |
49 |
+++ ChangeLog 23 Feb 2014 03:27:16 -0000 1.4 |
50 |
@@ -1,6 +1,12 @@ |
51 |
# ChangeLog for games-emulation/higan |
52 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/higan/ChangeLog,v 1.3 2013/08/28 11:14:00 ago Exp $ |
54 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
55 |
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/higan/ChangeLog,v 1.4 2014/02/23 03:27:16 hasufell Exp $ |
56 |
+ |
57 |
+*higan-094 (23 Feb 2014) |
58 |
+ |
59 |
+ 23 Feb 2014; Julian Ospald <hasufell@g.o> +higan-094.ebuild, |
60 |
+ +files/higan-094-QA.patch, metadata.xml: |
61 |
+ version bump wrt #501520 |
62 |
|
63 |
28 Aug 2013; Agostino Sarubbo <ago@g.o> higan-092.ebuild: |
64 |
Stable for x86, wrt bug #480788 |
65 |
|
66 |
|
67 |
|
68 |
1.1 games-emulation/higan/higan-094.ebuild |
69 |
|
70 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/higan/higan-094.ebuild?rev=1.1&view=markup |
71 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/higan/higan-094.ebuild?rev=1.1&content-type=text/plain |
72 |
|
73 |
Index: higan-094.ebuild |
74 |
=================================================================== |
75 |
# Copyright 1999-2014 Gentoo Foundation |
76 |
# Distributed under the terms of the GNU General Public License v2 |
77 |
# $Header: /var/cvsroot/gentoo-x86/games-emulation/higan/higan-094.ebuild,v 1.1 2014/02/23 03:27:16 hasufell Exp $ |
78 |
|
79 |
EAPI=5 |
80 |
|
81 |
inherit eutils gnome2-utils toolchain-funcs games |
82 |
|
83 |
MY_P=${PN}_v${PV}-source |
84 |
|
85 |
DESCRIPTION="A Nintendo multi-system emulator formerly known as bsnes" |
86 |
HOMEPAGE="http://byuu.org/higan/ https://code.google.com/p/higan/" |
87 |
SRC_URI="http://byuu.org/files/${MY_P}.tar.xz" |
88 |
|
89 |
LICENSE="GPL-3" |
90 |
SLOT="0" |
91 |
KEYWORDS="~amd64 ~x86" |
92 |
IUSE="ao +alsa openal opengl oss profile_accuracy +profile_balanced profile_performance pulseaudio qt4 +sdl udev xv" |
93 |
REQUIRED_USE="|| ( ao openal alsa pulseaudio oss ) |
94 |
|| ( xv opengl sdl ) |
95 |
|| ( profile_accuracy profile_balanced profile_performance )" |
96 |
|
97 |
RDEPEND=" |
98 |
x11-libs/libX11 |
99 |
x11-libs/libXext |
100 |
ao? ( media-libs/libao ) |
101 |
openal? ( media-libs/openal ) |
102 |
alsa? ( media-libs/alsa-lib ) |
103 |
pulseaudio? ( media-sound/pulseaudio ) |
104 |
xv? ( x11-libs/libXv ) |
105 |
opengl? ( virtual/opengl ) |
106 |
sdl? ( media-libs/libsdl[X,joystick,video] ) |
107 |
udev? ( virtual/udev ) |
108 |
!qt4? ( x11-libs/gtk+:2 ) |
109 |
qt4? ( >=dev-qt/qtgui-4.5:4 )" |
110 |
DEPEND="${RDEPEND} |
111 |
virtual/pkgconfig" |
112 |
|
113 |
S=${WORKDIR}/${MY_P} |
114 |
|
115 |
disable_module() { |
116 |
sed -i \ |
117 |
-e "s|$1\b||" \ |
118 |
"${S}"/target-ethos/Makefile || die |
119 |
} |
120 |
|
121 |
src_prepare() { |
122 |
local i |
123 |
|
124 |
epatch "${FILESDIR}"/${P}-QA.patch |
125 |
|
126 |
sed -i \ |
127 |
-e "/handle/s#/usr/local/lib#/usr/$(get_libdir)#" \ |
128 |
nall/dl.hpp || die "fixing libdir failed!" |
129 |
|
130 |
# audio modules |
131 |
use ao || disable_module audio.ao |
132 |
use openal || disable_module audio.openal |
133 |
use pulseaudio || { disable_module audio.pulseaudio |
134 |
disable_module audio.pulseaudiosimple ;} |
135 |
use oss || disable_module audio.oss |
136 |
use alsa || disable_module audio.alsa |
137 |
|
138 |
# video modules |
139 |
use opengl || disable_module video.glx |
140 |
use xv || disable_module video.xv |
141 |
use sdl || disable_module video.sdl |
142 |
|
143 |
# input modules |
144 |
use sdl || disable_module input.sdl |
145 |
use udev || disable_module input.udev |
146 |
|
147 |
# regenerate .moc if needed |
148 |
if use qt4; then |
149 |
cd phoenix/qt || die |
150 |
moc -i -I. -o platform.moc platform.moc.hpp || die |
151 |
fi |
152 |
|
153 |
for i in profile_accuracy profile_balanced profile_performance ; do |
154 |
if use ${i} ; then |
155 |
cp -dRP "${S}" "${S}_${i}" || die |
156 |
fi |
157 |
done |
158 |
} |
159 |
|
160 |
src_compile() { |
161 |
local mytoolkit i |
162 |
|
163 |
if use qt4; then |
164 |
mytoolkit="qt" |
165 |
else |
166 |
mytoolkit="gtk" |
167 |
fi |
168 |
|
169 |
for i in profile_accuracy profile_balanced profile_performance ; do |
170 |
if use ${i} ; then |
171 |
cd "${S}_${i}" || die |
172 |
emake \ |
173 |
platform="linux" \ |
174 |
compiler="$(tc-getCXX)" \ |
175 |
profile="${i#profile_}" \ |
176 |
phoenix="${mytoolkit}" |
177 |
|
178 |
sed \ |
179 |
-e "s:%GAMES_DATADIR%:${GAMES_DATADIR}:" \ |
180 |
< "${FILESDIR}"/${PN}-wrapper \ |
181 |
> out/${PN}-wrapper || die "generating wrapper failed!" |
182 |
fi |
183 |
done |
184 |
} |
185 |
|
186 |
src_install() { |
187 |
local i |
188 |
|
189 |
for i in profile_accuracy profile_balanced profile_performance ; do |
190 |
if use ${i} ; then |
191 |
# install higan |
192 |
newgamesbin "${S}_${i}"/out/${PN} ${PN}-${i#profile_}.bin |
193 |
newgamesbin "${S}_${i}"/out/${PN}-wrapper ${PN}-${i#profile_} |
194 |
make_desktop_entry "${PN}-${i#profile_}" "${PN} (${i#profile_})" |
195 |
fi |
196 |
done |
197 |
|
198 |
# copy home directory stuff to a global location |
199 |
insinto "${GAMES_DATADIR}"/${PN} |
200 |
doins -r data/cheats.bml profile/* |
201 |
|
202 |
# install shaders |
203 |
if use opengl; then |
204 |
insinto "${GAMES_DATADIR}/${PN}/Video Shaders" |
205 |
doins -r shaders/*.shader |
206 |
fi |
207 |
|
208 |
doicon -s 48 data/${PN}.png |
209 |
|
210 |
prepgamesdirs |
211 |
} |
212 |
|
213 |
pkg_preinst() { |
214 |
games_pkg_preinst |
215 |
gnome2_icon_savelist |
216 |
} |
217 |
|
218 |
pkg_postinst() { |
219 |
elog "optional dependencies:" |
220 |
elog " dev-games/higan-ananke (extra rom load options)" |
221 |
elog " games-util/higan-purify (Rom purifier)" |
222 |
|
223 |
games_pkg_postinst |
224 |
gnome2_icon_cache_update |
225 |
} |
226 |
|
227 |
pkg_postrm() { |
228 |
gnome2_icon_cache_update |
229 |
} |