1 |
hasufell 13/11/22 19:44:24 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: eduke32-20131119.4169.ebuild |
5 |
Removed: eduke32-20130317.3572.ebuild |
6 |
eduke32-20130207.3467.ebuild |
7 |
Log: |
8 |
version bump, remove old |
9 |
|
10 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key E73C35B3) |
11 |
|
12 |
Revision Changes Path |
13 |
1.4 games-fps/eduke32/metadata.xml |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/eduke32/metadata.xml?rev=1.4&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/eduke32/metadata.xml?rev=1.4&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/eduke32/metadata.xml?r1=1.3&r2=1.4 |
18 |
|
19 |
Index: metadata.xml |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/games-fps/eduke32/metadata.xml,v |
22 |
retrieving revision 1.3 |
23 |
retrieving revision 1.4 |
24 |
diff -u -r1.3 -r1.4 |
25 |
--- metadata.xml 20 Mar 2013 00:50:49 -0000 1.3 |
26 |
+++ metadata.xml 22 Nov 2013 19:44:23 -0000 1.4 |
27 |
@@ -7,16 +7,23 @@ |
28 |
<name>Julian Ospald</name> |
29 |
</maintainer> |
30 |
<use> |
31 |
- <flag name="demo">Install <pkg>games-fps/duke3d-demodata</pkg> as well</flag> |
32 |
+ <flag name="demo">Install <pkg>games-fps/duke3d-demodata</pkg> |
33 |
+ as well</flag> |
34 |
<flag name="gtk">Compile with gtk launcher</flag> |
35 |
- <flag name="offensive">Include optional XXX texture pack</flag> |
36 |
- <flag name="opl-musicpack">Include optional OPL (AdLib) music pack</flag> |
37 |
+ <flag name="offensive">Include optional XXX texture pack |
38 |
+ (needs USE 'textures')</flag> |
39 |
+ <flag name="opl-musicpack">Include optional OPL (AdLib) |
40 |
+ music pack</flag> |
41 |
<flag name="samples">Install samples</flag> |
42 |
- <flag name="sc55-musicpack">Include optional Roland SC-55 music pack</flag> |
43 |
+ <flag name="sc55-musicpack">Include optional Roland SC-55 |
44 |
+ music pack</flag> |
45 |
<flag name="server">Compile with server support</flag> |
46 |
- <flag name="textures">Include optional high-resolution textures</flag> |
47 |
- <flag name="tools">Build several tools for modding and development</flag> |
48 |
- <flag name="vpx">Enable support for WebM VP8 Codecs</flag> |
49 |
+ <flag name="textures">Include optional high-resolution |
50 |
+ textures (needs USE 'opengl')</flag> |
51 |
+ <flag name="tools">Build several tools for modding and |
52 |
+ development</flag> |
53 |
+ <flag name="vpx">Enable support for WebM VP8 Codecs |
54 |
+ (needs USE 'opengl')</flag> |
55 |
</use> |
56 |
</pkgmetadata> |
57 |
|
58 |
|
59 |
|
60 |
|
61 |
1.9 games-fps/eduke32/ChangeLog |
62 |
|
63 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/eduke32/ChangeLog?rev=1.9&view=markup |
64 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/eduke32/ChangeLog?rev=1.9&content-type=text/plain |
65 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/eduke32/ChangeLog?r1=1.8&r2=1.9 |
66 |
|
67 |
Index: ChangeLog |
68 |
=================================================================== |
69 |
RCS file: /var/cvsroot/gentoo-x86/games-fps/eduke32/ChangeLog,v |
70 |
retrieving revision 1.8 |
71 |
retrieving revision 1.9 |
72 |
diff -u -r1.8 -r1.9 |
73 |
--- ChangeLog 28 Jun 2013 00:07:21 -0000 1.8 |
74 |
+++ ChangeLog 22 Nov 2013 19:44:23 -0000 1.9 |
75 |
@@ -1,6 +1,14 @@ |
76 |
# ChangeLog for games-fps/eduke32 |
77 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
78 |
-# $Header: /var/cvsroot/gentoo-x86/games-fps/eduke32/ChangeLog,v 1.8 2013/06/28 00:07:21 hasufell Exp $ |
79 |
+# $Header: /var/cvsroot/gentoo-x86/games-fps/eduke32/ChangeLog,v 1.9 2013/11/22 19:44:23 hasufell Exp $ |
80 |
+ |
81 |
+*eduke32-20131119.4169 (22 Nov 2013) |
82 |
+ |
83 |
+ 22 Nov 2013; Julian Ospald <hasufell@g.o> |
84 |
+ -eduke32-20130207.3467.ebuild, -files/eduke32-20130207.3467-QA.patch, |
85 |
+ -eduke32-20130317.3572.ebuild, +eduke32-20131119.4169.ebuild, |
86 |
+ +files/eduke32-20131119.4169-QA.patch, metadata.xml: |
87 |
+ version bump, remove old |
88 |
|
89 |
*eduke32-20130627.3905 (28 Jun 2013) |
90 |
|
91 |
|
92 |
|
93 |
|
94 |
1.1 games-fps/eduke32/eduke32-20131119.4169.ebuild |
95 |
|
96 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/eduke32/eduke32-20131119.4169.ebuild?rev=1.1&view=markup |
97 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/eduke32/eduke32-20131119.4169.ebuild?rev=1.1&content-type=text/plain |
98 |
|
99 |
Index: eduke32-20131119.4169.ebuild |
100 |
=================================================================== |
101 |
# Copyright 1999-2013 Gentoo Foundation |
102 |
# Distributed under the terms of the GNU General Public License v2 |
103 |
# $Header: /var/cvsroot/gentoo-x86/games-fps/eduke32/eduke32-20131119.4169.ebuild,v 1.1 2013/11/22 19:44:23 hasufell Exp $ |
104 |
|
105 |
# TODO/FIXME: |
106 |
# lunatic broken |
107 |
# lunatic? ( >=dev-lang/luajit-2.0.0_beta10:2 ) |
108 |
# $(usex lunatic "LUNATIC=1" "LUNATIC=0") |
109 |
# |
110 |
# extras? ( games-fps/${PN}-extras ) |
111 |
|
112 |
EAPI=5 |
113 |
|
114 |
inherit eutils gnome2-utils games |
115 |
|
116 |
MY_PV=${PV%.*} |
117 |
MY_BUILD=${PV#*.} |
118 |
|
119 |
# extensions |
120 |
MY_HRP=5.2 |
121 |
MY_SC55=3.0 |
122 |
MY_OPL=2.0 |
123 |
MY_XXX=1.33 |
124 |
|
125 |
DESCRIPTION="Port of Duke Nukem 3D for SDL" |
126 |
HOMEPAGE="http://www.eduke32.com/ http://hrp.duke4.net/" |
127 |
SRC_URI="http://dukeworld.duke4.net/eduke32/synthesis/${MY_PV}-${MY_BUILD}/${PN}_src_${MY_PV}-${MY_BUILD}.tar.xz |
128 |
http://dev.gentoo.org/~hasufell/distfiles/eduke32-icons.tar |
129 |
textures? ( http://www.duke4.org/files/nightfright/duke3d_hrp.zip -> duke3d_hrp_${MY_HRP}.zip ) |
130 |
sc55-musicpack? ( http://www.duke4.org/files/nightfright/music/duke3d_mus.zip -> duke3d_mus_${MY_SC55}.zip ) |
131 |
opl-musicpack? ( http://www.duke4.org/files/nightfright/music/duke3d_musopl.zip -> duke3d_musopl_${MY_OPL}.zip ) |
132 |
offensive? ( http://www.duke4.org/files/nightfright/duke3d_xxx.zip -> duke3d_xxx_${MY_XXX}.zip )" |
133 |
|
134 |
LICENSE="GPL-2 BUILDLIC textures? ( hrp_art )" |
135 |
SLOT="0" |
136 |
KEYWORDS="~amd64 ~x86" |
137 |
IUSE="cdinstall debug demo gtk offensive +opengl opl-musicpack +png samples sc55-musicpack +server textures tools +vpx" |
138 |
REQUIRED_USE="?? ( opl-musicpack sc55-musicpack )" |
139 |
|
140 |
RDEPEND="media-libs/flac |
141 |
media-libs/libogg |
142 |
media-libs/libsdl[X,joystick,opengl?,video] |
143 |
media-libs/libvorbis |
144 |
media-libs/sdl-mixer[timidity] |
145 |
sys-libs/zlib |
146 |
gtk? ( x11-libs/gtk+:2 ) |
147 |
opengl? ( |
148 |
virtual/glu |
149 |
virtual/opengl |
150 |
vpx? ( media-libs/libvpx ) |
151 |
) |
152 |
png? ( media-libs/libpng:0= |
153 |
sys-libs/zlib ) |
154 |
" |
155 |
DEPEND="${RDEPEND} |
156 |
app-arch/unzip |
157 |
app-arch/xz-utils |
158 |
x86? ( dev-lang/nasm )" |
159 |
PDEPEND="cdinstall? ( games-fps/duke3d-data ) |
160 |
demo? ( games-fps/duke3d-demodata )" |
161 |
|
162 |
S=${WORKDIR}/${PN}_${MY_PV}-${MY_BUILD} |
163 |
|
164 |
src_unpack() { |
165 |
unpack ${PN}_src_${MY_PV}-${MY_BUILD}.tar.xz eduke32-icons.tar |
166 |
|
167 |
if use textures; then |
168 |
unzip -q "${DISTDIR}"/duke3d_hrp_${MY_HRP}.zip "hrp_readme.txt" \ |
169 |
|| die "unzip hrp readme" |
170 |
if use offensive; then |
171 |
unzip -q "${DISTDIR}"/duke3d_xxx_${MY_XXX}.zip "xxx_readme.txt" \ |
172 |
|| die "unzip xxx readme" |
173 |
fi |
174 |
fi |
175 |
if use opl-musicpack; then |
176 |
unzip -q "${DISTDIR}"/duke3d_musopl_${MY_OPL}.zip "readme.txt" \ |
177 |
|| die "unzip musopl readme" |
178 |
mv readme.txt musopl_readme.txt || die "mv musopl_readme" |
179 |
elif use sc55-musicpack; then |
180 |
unzip -q "${DISTDIR}"/duke3d_mus_${MY_SC55}.zip "music_readme.txt" \ |
181 |
|| die "unzip mus readme" |
182 |
fi |
183 |
} |
184 |
|
185 |
src_prepare() { |
186 |
epatch "${FILESDIR}"/${P}-QA.patch |
187 |
|
188 |
# Point eduke32 to data files in shared duke3d folder. |
189 |
# Multiple search paths can be defined, so that with the default configuration as of |
190 |
# the 20130128 release, this adds /usr/share/games/duke3d in ADDITION to |
191 |
# /usr/share/games/eduke32 so that eduke32 and duke3d's base data can be kept separate. |
192 |
# also redirect log file so it's not always written in $PWD |
193 |
sed -i \ |
194 |
-e "s;/usr/local/share/games/${PN};${GAMES_DATADIR}/duke3d;" \ |
195 |
source/common.c || die "sed common.c path update failed" |
196 |
sed -i \ |
197 |
-e "/OSD_SetLogFile/s;mapster32.log;${GAMES_LOGDIR}/mapster32.log;" \ |
198 |
source/astub.c || die "sed astub.c path update failed" |
199 |
sed -i \ |
200 |
-e "/OSD_SetLogFile/s;${PN}.log;${GAMES_LOGDIR}/${PN}.log;" \ |
201 |
source/game.c || die "sed game.c path update failed" |
202 |
} |
203 |
|
204 |
src_compile() { |
205 |
local MY_OPTS=( |
206 |
AS=$(type -P nasm) |
207 |
ARCH= |
208 |
SYSARCH= |
209 |
LTO=0 |
210 |
PRETTY_OUTPUT=0 |
211 |
RELEASE=1 |
212 |
LUNATIC=0 |
213 |
STRIP=touch |
214 |
LINKED_GTK=1 |
215 |
CPLUSPLUS=0 |
216 |
SDL_TARGET=1 |
217 |
$(usex gtk "WITHOUT_GTK=0" "WITHOUT_GTK=1") |
218 |
$(usex debug "DEBUGANYWAY=1" "DEBUGANYWAY=0") |
219 |
$(usex x86 "NOASM=0" "NOASM=1") |
220 |
$(usex server "NETCODE=1" "NETCODE=0") |
221 |
$(usex opengl "USE_OPENGL=1 POLYMER=1" "USE_OPENGL=0 POLYMER=0") |
222 |
$(usex png "USE_LIBPNG=1" "USE_LIBPNG=0") |
223 |
$(usex opengl "$(usex vpx "USE_LIBVPX=1" "USE_LIBVPX=0")" "USE_LIBVPX=0") |
224 |
) |
225 |
|
226 |
emake ${MY_OPTS[@]} |
227 |
|
228 |
if use tools; then |
229 |
emake -C build ${MY_OPTS[@]} |
230 |
fi |
231 |
} |
232 |
|
233 |
src_install() { |
234 |
local ARGS |
235 |
|
236 |
newgamesbin ${PN} ${PN}.bin |
237 |
dogamesbin mapster32 |
238 |
|
239 |
if use tools; then |
240 |
dobin build/{arttool,bsuite,cacheinfo,generateicon,givedepth,kextract,kgroup,kmd2tool,md2tool,mkpalette,transpal,unpackssi,wad2art,wad2map} |
241 |
dodoc build/doc/*.txt |
242 |
fi |
243 |
|
244 |
insinto "${GAMES_DATADIR}/${PN}" |
245 |
# Install optional components |
246 |
if use textures; then |
247 |
newins "${DISTDIR}"/duke3d_hrp_${MY_HRP}.zip duke3d_hrp.zip |
248 |
dodoc "${WORKDIR}"/hrp_readme.txt |
249 |
ARGS+=" -g duke3d_hrp.zip" |
250 |
|
251 |
if use offensive; then |
252 |
newins "${DISTDIR}"/duke3d_xxx_${MY_XXX}.zip duke3d_xxx.zip |
253 |
dodoc "${WORKDIR}"/xxx_readme.txt |
254 |
ARGS+=" -g duke3d_xxx.zip" |
255 |
fi |
256 |
fi |
257 |
|
258 |
if use opl-musicpack; then |
259 |
newins "${DISTDIR}"/duke3d_musopl_${MY_OPL}.zip duke3d_musopl.zip |
260 |
dodoc "${WORKDIR}"/musopl_readme.txt |
261 |
ARGS+=" -g duke3d_musopl.zip" |
262 |
elif use sc55-musicpack; then |
263 |
newins "${DISTDIR}"/duke3d_mus_${MY_SC55}.zip duke3d_mus.zip |
264 |
dodoc "${WORKDIR}"/music_readme.txt |
265 |
ARGS+=" -g duke3d_mus.zip" |
266 |
fi |
267 |
|
268 |
# Install game data |
269 |
doins package/sdk/{SEHELP.HLP,STHELP.HLP,m32help.hlp,names.h,tiles.cfg} |
270 |
use samples && doins -r package/samples |
271 |
|
272 |
local i |
273 |
for i in 16 32 128 256 ; do |
274 |
newicon -s ${i} "${WORKDIR}"/${PN}_${i}x${i}x32.png ${PN}.png |
275 |
newicon -s ${i} "${WORKDIR}"/mapster32_${i}x${i}x32.png mapster32.png |
276 |
done |
277 |
|
278 |
games_make_wrapper "${PN}" "${GAMES_BINDIR}/${PN}.bin ${ARGS}" |
279 |
make_desktop_entry ${PN} EDuke32 ${PN} |
280 |
make_desktop_entry mapster32 Mapster32 mapster32 |
281 |
|
282 |
dodoc build/buildlic.txt |
283 |
|
284 |
keepdir "${GAMES_LOGDIR}" |
285 |
|
286 |
prepgamesdirs |
287 |
} |
288 |
|
289 |
pkg_preinst() { |
290 |
games_pkg_preinst |
291 |
gnome2_icon_savelist |
292 |
} |
293 |
|
294 |
pkg_postinst() { |
295 |
games_pkg_postinst |
296 |
gnome2_icon_cache_update |
297 |
|
298 |
use cdinstall || use demo || { |
299 |
elog "Note: You must also install the game data files, either manually or with" |
300 |
elog "games-fps/duke3d-demodata or games-fps/duke3d-data before playing." |
301 |
} |
302 |
|
303 |
einfo |
304 |
elog "${PN} reads data files from ${GAMES_DATADIR}/duke3d" |
305 |
einfo |
306 |
|
307 |
[[ -e ${ROOT}/${GAMES_LOGDIR} ]] || mkdir -p "${ROOT}/${GAMES_LOGDIR}" |
308 |
touch "${ROOT}/${GAMES_LOGDIR}"/${PN}.log |
309 |
touch "${ROOT}/${GAMES_LOGDIR}"/mapster32.log |
310 |
chown ${GAMES_USER}:${GAMES_GROUP} "${ROOT}/${GAMES_LOGDIR}"/${PN}.log |
311 |
chown ${GAMES_USER}:${GAMES_GROUP} "${ROOT}/${GAMES_LOGDIR}"/mapster32.log |
312 |
chmod g+w "${ROOT}/${GAMES_LOGDIR}"/${PN}.log |
313 |
chmod g+w "${ROOT}/${GAMES_LOGDIR}"/mapster32.log |
314 |
} |
315 |
|
316 |
pkg_postrm() { |
317 |
gnome2_icon_cache_update |
318 |
} |