Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/files/, licenses/, games-fps/eduke32/
Date: Sun, 13 May 2018 09:54:54
Message-Id: 1526205282.c2a2a8527c626e6f5d1f92dc0a4cac3b48e2a79f.chewi@gentoo
1 commit: c2a2a8527c626e6f5d1f92dc0a4cac3b48e2a79f
2 Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
3 AuthorDate: Fri May 11 00:35:05 2018 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sun May 13 09:54:42 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2a2a852
7
8 games-fps/eduke32: Bump to version 20180508.6885 and drop old
9
10 Closes: https://bugs.gentoo.org/640488
11 Package-Manager: Portage-2.3.36, Repoman-2.3.9
12 Closes: https://github.com/gentoo/gentoo/pull/8340
13
14 games-fps/eduke32/Manifest | 13 +-
15 games-fps/eduke32/eduke32-20131119.4169.ebuild | 218 -------------------
16 games-fps/eduke32/eduke32-20180508.6885.ebuild | 233 +++++++++++++++++++++
17 .../eduke32/files/eduke32-20131119.4169-QA.patch | 150 -------------
18 games-fps/eduke32/files/eduke32-bin | 12 ++
19 games-fps/eduke32/files/fix-build-transpal.patch | 20 ++
20 games-fps/eduke32/files/log-to-tmpdir.patch | 11 +
21 games-fps/eduke32/files/search-duke3d-path.patch | 11 +
22 games-fps/eduke32/metadata.xml | 42 ++--
23 licenses/{hrp_art => HRP} | 152 +++++++-------
24 10 files changed, 395 insertions(+), 467 deletions(-)
25
26 diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
27 index b5003630304..6ebc26603a1 100644
28 --- a/games-fps/eduke32/Manifest
29 +++ b/games-fps/eduke32/Manifest
30 @@ -1,6 +1,7 @@
31 -DIST duke3d_hrp_5.2.zip 709961560 BLAKE2B 3b436e729a04c0794c6f766bdadd2eaed6a046f8eae6a3bba03c56c7e3e5838f1d9e826d71a071142fc13042523d6513cabc3ba1fc648e827decb3195e8fc01b SHA512 6b80739082d01e879ee77c85d3702269a605bc5f5b9393ce2f391d50c2a14e8fd0cd274a7e3010636646c3b7725591f45f107503c04a84655621a197f5f3c69e
32 -DIST duke3d_mus_3.0.zip 129992841 BLAKE2B 93e8c30769ffb79a4831fccbab62c410338bb845b5f9b7967bd5c85eab24c09270bed811ec9f1fd637b8e3f0df014671cc5fdfc8c65b6b9341014fd4d91890b4 SHA512 9b782a2b6bb006a01e7ca2a8c395fcbe0884cc7648fce03f7760d67e67e4b03d73e31fff5964a604270ffddf09df69f306147dffd115efcd738de416939060cf
33 -DIST duke3d_musopl_2.0.zip 266444907 BLAKE2B 1f087851a9cdb1d4f3fc1cb78d49b8bcedf746248e7b623469cca803c49dc6a56ac578f5a38f8f4efd2ba194b1ae6ef90b6cb90a809de784d6152af48679a1ff SHA512 e9ae69727f84ff71bf9abffa283fda1fcaf56fd6ae6b865d12f138d64b0fca0d36fd9695b1e60a64716154055373eecd6499ebd8801a4ecb55ddc4722208eff7
34 -DIST duke3d_xxx_1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
35 -DIST eduke32-icons.tar 102400 BLAKE2B d53d43ce2479e21db6d7771de875fac3fb631f35e3a00c70813ba3da4518c3bae61daf9db6df6def24b4066ec93f16ea9cbbced2345ebd7e6a0aa282d603f742 SHA512 797f76cfc0e253ce3364e80f70b616fc004811c08519020727871addc90c7780b475ee7769398e13859f93893ccbb916bd4229a39f4c119169a69231e6fd411c
36 -DIST eduke32_src_20131119-4169.tar.xz 12228040 BLAKE2B 6a0574689b5de921424802a32c4820987279f249afdcae2754b1de765085a025a9a8087709b88214d44304dce07667eddf6e395271bd4590d9e75e336305bb88 SHA512 6ab7babc18c80e111603b9b731f37963f3bfe2ee753a2e383d58a21e77ad5a561cf95f5392adcf76259e6ded2dcd5eb5d0fc484edf65ec6887a746c4f422f292
37 +DIST duke3d_hrp-5.4.zip 933440151 BLAKE2B 20749d6e1bdd07d0e5f28ac2f7e3aff60e8638223b934795320046922311533d6ecaefa3923650568aaa4e026927b53087032415d2d343fc4bd179c9e9ddd640 SHA512 fd5aba0a09193ccd49781d3f06a040000a134ad90f099ab7bf10a8abe474c3a742f922f8fa31522b8993828d516bdd0b5ded327e9c4615c2c101fe655d533f4d
38 +DIST duke3d_music-sc55-4.02.zip 155441427 BLAKE2B 7fa0c98927dd9a18411ad473269a795d1bc809fa8f9479deef06e12cd0dc97953680e7519c9d22e2d32b6ff79726682746820f78429ad11cb5edf1b64d2e4fe7 SHA512 70d3d7b4705e30cdb19ddc95e11a88afff1dc01dfc6495a488ea665f8097c1200695ec67246ac47a2480d0e68cd7d74e1d61c2120485f53bb93d9c0fb16ba9b2
39 +DIST duke3d_musopl-2.01.zip 266444823 BLAKE2B 5255c671782279c7723fb1f848a331645a89fdc8dd5336250d06e6eed5b63511c37bfbb07d22d7e7ce29707efe2c55406f2ee81522374de3633f2b448c7dbd6b SHA512 08308b672516a6f3a3b9b85fd836f2a29a24c8fa5f353953f5f55a281dea370046817ccfb8467b4ce25385277ced8afd83c00882e8a246b03afa5e0e349efd35
40 +DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c17b1163107e1f8c6eab4be2b5a2ed74f302604f5769d3bb71d3ce8355b69b75352dc470918ebd5c0c73d68665 SHA512 e98f3bbfb2055fa72c4376ebbdb64814b1bca7c66968ffea8ca4d980d432f59f6ae013c889a57a28b2961bbeca2cc80b83b573dc0cbc2550cd9f428cf9d2a625
41 +DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
42 +DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
43 +DIST eduke32_src_20180508-6885.tar.xz 14703224 BLAKE2B 8b90bf5771c2c27701316df8b9e738082d03552dddbd4d8be7e25195fd2da746afb2857e166ac6e6c0c78ad43e3c21f809538f0c54936ce82b5f2a3f93f80f94 SHA512 2b1be82a1bfbb0cf2a9b7bb0b73e69232bc2ce7adf343e25319b16c4240a6b3acf0fb8708e6ab8c7daa18f5a3039772472fd6542f6ea6dbe0530c8c3361c791c
44
45 diff --git a/games-fps/eduke32/eduke32-20131119.4169.ebuild b/games-fps/eduke32/eduke32-20131119.4169.ebuild
46 deleted file mode 100644
47 index a5884e14d05..00000000000
48 --- a/games-fps/eduke32/eduke32-20131119.4169.ebuild
49 +++ /dev/null
50 @@ -1,218 +0,0 @@
51 -# Copyright 1999-2014 Gentoo Foundation
52 -# Distributed under the terms of the GNU General Public License v2
53 -
54 -# TODO/FIXME:
55 -# lunatic broken
56 -# lunatic? ( >=dev-lang/luajit-2.0.0_beta10:2 )
57 -# $(usex lunatic "LUNATIC=1" "LUNATIC=0")
58 -#
59 -# extras? ( games-fps/${PN}-extras )
60 -
61 -EAPI=5
62 -
63 -inherit eutils gnome2-utils games
64 -
65 -MY_PV=${PV%.*}
66 -MY_BUILD=${PV#*.}
67 -
68 -# extensions
69 -MY_HRP=5.2
70 -MY_SC55=3.0
71 -MY_OPL=2.0
72 -MY_XXX=1.33
73 -
74 -DESCRIPTION="Port of Duke Nukem 3D for SDL"
75 -HOMEPAGE="http://www.eduke32.com/ http://hrp.duke4.net/"
76 -SRC_URI="http://dukeworld.duke4.net/eduke32/synthesis/${MY_PV}-${MY_BUILD}/${PN}_src_${MY_PV}-${MY_BUILD}.tar.xz
77 - https://dev.gentoo.org/~hasufell/distfiles/eduke32-icons.tar
78 - textures? ( http://www.duke4.org/files/nightfright/duke3d_hrp.zip -> duke3d_hrp_${MY_HRP}.zip )
79 - sc55-musicpack? ( http://www.duke4.org/files/nightfright/music/duke3d_mus.zip -> duke3d_mus_${MY_SC55}.zip )
80 - opl-musicpack? ( http://www.duke4.org/files/nightfright/music/duke3d_musopl.zip -> duke3d_musopl_${MY_OPL}.zip )
81 - offensive? ( http://www.duke4.org/files/nightfright/duke3d_xxx.zip -> duke3d_xxx_${MY_XXX}.zip )"
82 -
83 -LICENSE="GPL-2 BUILDLIC textures? ( hrp_art )"
84 -SLOT="0"
85 -KEYWORDS="~amd64 ~x86"
86 -IUSE="cdinstall debug demo gtk offensive +opengl opl-musicpack +png samples sc55-musicpack +server textures tools +vpx"
87 -REQUIRED_USE="?? ( opl-musicpack sc55-musicpack )"
88 -
89 -RDEPEND="media-libs/flac
90 - media-libs/libogg
91 - media-libs/libsdl[X,joystick,opengl?,video]
92 - media-libs/libvorbis
93 - media-libs/sdl-mixer[timidity]
94 - sys-libs/zlib
95 - gtk? ( x11-libs/gtk+:2 )
96 - opengl? (
97 - virtual/glu
98 - virtual/opengl
99 - vpx? ( media-libs/libvpx )
100 - )
101 - png? ( media-libs/libpng:0=
102 - sys-libs/zlib )
103 - "
104 -DEPEND="${RDEPEND}
105 - app-arch/unzip
106 - app-arch/xz-utils
107 - x86? ( dev-lang/nasm )"
108 -PDEPEND="cdinstall? ( games-fps/duke3d-data )
109 - demo? ( games-fps/duke3d-demodata )"
110 -
111 -S=${WORKDIR}/${PN}_${MY_PV}-${MY_BUILD}
112 -
113 -src_unpack() {
114 - unpack ${PN}_src_${MY_PV}-${MY_BUILD}.tar.xz eduke32-icons.tar
115 -
116 - if use textures; then
117 - unzip -q "${DISTDIR}"/duke3d_hrp_${MY_HRP}.zip "hrp_readme.txt" \
118 - || die "unzip hrp readme"
119 - if use offensive; then
120 - unzip -q "${DISTDIR}"/duke3d_xxx_${MY_XXX}.zip "xxx_readme.txt" \
121 - || die "unzip xxx readme"
122 - fi
123 - fi
124 - if use opl-musicpack; then
125 - unzip -q "${DISTDIR}"/duke3d_musopl_${MY_OPL}.zip "readme.txt" \
126 - || die "unzip musopl readme"
127 - mv readme.txt musopl_readme.txt || die "mv musopl_readme"
128 - elif use sc55-musicpack; then
129 - unzip -q "${DISTDIR}"/duke3d_mus_${MY_SC55}.zip "music_readme.txt" \
130 - || die "unzip mus readme"
131 - fi
132 -}
133 -
134 -src_prepare() {
135 - epatch "${FILESDIR}"/${P}-QA.patch
136 -
137 - # Point eduke32 to data files in shared duke3d folder.
138 - # Multiple search paths can be defined, so that with the default configuration as of
139 - # the 20130128 release, this adds /usr/share/games/duke3d in ADDITION to
140 - # /usr/share/games/eduke32 so that eduke32 and duke3d's base data can be kept separate.
141 - # also redirect log file so it's not always written in $PWD
142 - sed -i \
143 - -e "s;/usr/local/share/games/${PN};${GAMES_DATADIR}/duke3d;" \
144 - source/common.c || die "sed common.c path update failed"
145 - sed -i \
146 - -e "/OSD_SetLogFile/s;mapster32.log;${GAMES_LOGDIR}/mapster32.log;" \
147 - source/astub.c || die "sed astub.c path update failed"
148 - sed -i \
149 - -e "/OSD_SetLogFile/s;${PN}.log;${GAMES_LOGDIR}/${PN}.log;" \
150 - source/game.c || die "sed game.c path update failed"
151 -}
152 -
153 -src_compile() {
154 - local MY_OPTS=(
155 - AS=$(type -P nasm)
156 - ARCH=
157 - SYSARCH=
158 - LTO=0
159 - PRETTY_OUTPUT=0
160 - RELEASE=1
161 - LUNATIC=0
162 - STRIP=touch
163 - LINKED_GTK=1
164 - CPLUSPLUS=0
165 - SDL_TARGET=1
166 - F_JUMP_TABLES=""
167 - $(usex gtk "WITHOUT_GTK=0" "WITHOUT_GTK=1")
168 - $(usex debug "DEBUGANYWAY=1" "DEBUGANYWAY=0")
169 - $(usex x86 "NOASM=0" "NOASM=1")
170 - $(usex server "NETCODE=1" "NETCODE=0")
171 - $(usex opengl "USE_OPENGL=1 POLYMER=1" "USE_OPENGL=0 POLYMER=0")
172 - $(usex png "USE_LIBPNG=1" "USE_LIBPNG=0")
173 - $(usex opengl "$(usex vpx "USE_LIBVPX=1" "USE_LIBVPX=0")" "USE_LIBVPX=0")
174 - )
175 -
176 - emake ${MY_OPTS[@]}
177 -
178 - if use tools; then
179 - emake -C build ${MY_OPTS[@]}
180 - fi
181 -}
182 -
183 -src_install() {
184 - local ARGS
185 -
186 - newgamesbin ${PN} ${PN}.bin
187 - dogamesbin mapster32
188 -
189 - if use tools; then
190 - dobin build/{arttool,bsuite,cacheinfo,generateicon,givedepth,kextract,kgroup,kmd2tool,md2tool,mkpalette,transpal,unpackssi,wad2art,wad2map}
191 - dodoc build/doc/*.txt
192 - fi
193 -
194 - insinto "${GAMES_DATADIR}/${PN}"
195 - # Install optional components
196 - if use textures; then
197 - newins "${DISTDIR}"/duke3d_hrp_${MY_HRP}.zip duke3d_hrp.zip
198 - dodoc "${WORKDIR}"/hrp_readme.txt
199 - ARGS+=" -g duke3d_hrp.zip"
200 -
201 - if use offensive; then
202 - newins "${DISTDIR}"/duke3d_xxx_${MY_XXX}.zip duke3d_xxx.zip
203 - dodoc "${WORKDIR}"/xxx_readme.txt
204 - ARGS+=" -g duke3d_xxx.zip"
205 - fi
206 - fi
207 -
208 - if use opl-musicpack; then
209 - newins "${DISTDIR}"/duke3d_musopl_${MY_OPL}.zip duke3d_musopl.zip
210 - dodoc "${WORKDIR}"/musopl_readme.txt
211 - ARGS+=" -g duke3d_musopl.zip"
212 - elif use sc55-musicpack; then
213 - newins "${DISTDIR}"/duke3d_mus_${MY_SC55}.zip duke3d_mus.zip
214 - dodoc "${WORKDIR}"/music_readme.txt
215 - ARGS+=" -g duke3d_mus.zip"
216 - fi
217 -
218 - # Install game data
219 - doins package/sdk/{SEHELP.HLP,STHELP.HLP,m32help.hlp,names.h,tiles.cfg}
220 - use samples && doins -r package/samples
221 -
222 - local i
223 - for i in 16 32 128 256 ; do
224 - newicon -s ${i} "${WORKDIR}"/${PN}_${i}x${i}x32.png ${PN}.png
225 - newicon -s ${i} "${WORKDIR}"/mapster32_${i}x${i}x32.png mapster32.png
226 - done
227 -
228 - games_make_wrapper "${PN}" "${GAMES_BINDIR}/${PN}.bin ${ARGS}"
229 - make_desktop_entry ${PN} EDuke32 ${PN}
230 - make_desktop_entry mapster32 Mapster32 mapster32
231 -
232 - dodoc build/buildlic.txt
233 -
234 - keepdir "${GAMES_LOGDIR}"
235 -
236 - prepgamesdirs
237 -}
238 -
239 -pkg_preinst() {
240 - games_pkg_preinst
241 - gnome2_icon_savelist
242 -}
243 -
244 -pkg_postinst() {
245 - games_pkg_postinst
246 - gnome2_icon_cache_update
247 -
248 - use cdinstall || use demo || {
249 - elog "Note: You must also install the game data files, either manually or with"
250 - elog "games-fps/duke3d-demodata or games-fps/duke3d-data before playing."
251 - }
252 -
253 - einfo
254 - elog "${PN} reads data files from ${GAMES_DATADIR}/duke3d"
255 - einfo
256 -
257 - [[ -e ${ROOT}/${GAMES_LOGDIR} ]] || mkdir -p "${ROOT}/${GAMES_LOGDIR}"
258 - touch "${ROOT}/${GAMES_LOGDIR}"/${PN}.log
259 - touch "${ROOT}/${GAMES_LOGDIR}"/mapster32.log
260 - chown ${GAMES_USER}:${GAMES_GROUP} "${ROOT}/${GAMES_LOGDIR}"/${PN}.log
261 - chown ${GAMES_USER}:${GAMES_GROUP} "${ROOT}/${GAMES_LOGDIR}"/mapster32.log
262 - chmod g+w "${ROOT}/${GAMES_LOGDIR}"/${PN}.log
263 - chmod g+w "${ROOT}/${GAMES_LOGDIR}"/mapster32.log
264 -}
265 -
266 -pkg_postrm() {
267 - gnome2_icon_cache_update
268 -}
269
270 diff --git a/games-fps/eduke32/eduke32-20180508.6885.ebuild b/games-fps/eduke32/eduke32-20180508.6885.ebuild
271 new file mode 100644
272 index 00000000000..c7c7bba616d
273 --- /dev/null
274 +++ b/games-fps/eduke32/eduke32-20180508.6885.ebuild
275 @@ -0,0 +1,233 @@
276 +# Copyright 1999-2018 Gentoo Foundation
277 +# Distributed under the terms of the GNU General Public License v2
278 +
279 +EAPI=6
280 +
281 +inherit desktop eapi7-ver gnome2-utils toolchain-funcs
282 +
283 +MY_BUILD="$(ver_cut 2)"
284 +MY_DATE="$(ver_cut 1)"
285 +
286 +MY_PN_HRP="duke3d_hrp"
287 +MY_PN_OPL="duke3d_musopl"
288 +MY_PN_PSX="duke3d_psx"
289 +MY_PN_SC55="duke3d_music-sc55"
290 +MY_PN_XXX="duke3d_xxx"
291 +
292 +MY_PV_HRP="5.4"
293 +MY_PV_OPL="2.01"
294 +MY_PV_PSX="1.11"
295 +MY_PV_SC55="4.02"
296 +MY_PV_XXX="1.33"
297 +
298 +DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
299 +HOMEPAGE="http://www.eduke32.com/"
300 +SRC_URI="http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
301 + http://www.eduke32.com/images/eduke32_classic.png
302 + hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> ${MY_PN_HRP}-${MY_PV_HRP}.zip )
303 + offensive? ( http://www.duke4.org/files/nightfright/related/${MY_PN_XXX}.zip -> ${MY_PN_XXX}-${MY_PV_XXX}.zip )
304 + opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> ${MY_PN_OPL}-${MY_PV_OPL}.zip )
305 + psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> ${MY_PN_PSX}-${MY_PV_PSX}.zip )
306 + sc-55? ( http://www.duke4.org/files/nightfright/music/${MY_PN_SC55}.zip -> ${MY_PN_SC55}-${MY_PV_SC55}.zip )"
307 +
308 +KEYWORDS="~amd64 ~x86"
309 +LICENSE="BUILDLIC GPL-2 HRP"
310 +SLOT="0"
311 +IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis vpx xmp"
312 +REQUIRED_USE="cdinstall? ( !demo )
313 + demo? ( !cdinstall )
314 + hrp? ( ^^ ( demo cdinstall ) )
315 + offensive? ( ^^ ( demo cdinstall ) )
316 + opl? ( ^^ ( demo cdinstall )
317 + !sc-55 )
318 + psx? ( ^^ ( demo cdinstall ) )
319 + sc-55? ( ^^ ( demo cdinstall )
320 + !opl )
321 + vpx? ( opengl )"
322 +
323 +S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
324 +
325 +MY_DEPEND_RDEPEND="media-libs/libsdl2[joystick,opengl?,sound,video,X]
326 + media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
327 + sys-libs/zlib:=
328 + flac? ( media-libs/flac )
329 + gtk? ( x11-libs/gtk+:2 )
330 + opengl? ( virtual/glu
331 + virtual/opengl )
332 + png? ( media-libs/libpng:0= )
333 + timidity? ( media-sound/timidity-freepats )
334 + vpx? ( media-libs/libvpx:= )
335 + vorbis? ( media-libs/libogg
336 + media-libs/libvorbis )
337 + xmp? ( media-libs/exempi:= )"
338 +
339 +RDEPEND="${MY_DEPEND_RDEPEND}
340 + cdinstall? ( games-fps/duke3d-data )
341 + demo? ( games-fps/duke3d-demodata )"
342 +
343 +DEPEND="${MY_DEPEND_RDEPEND}
344 + app-arch/unzip
345 + x86? ( dev-lang/nasm )"
346 +
347 +PATCHES=( "${FILESDIR}/fix-build-transpal.patch" "${FILESDIR}/log-to-tmpdir.patch" "${FILESDIR}/search-duke3d-path.patch" )
348 +
349 +src_unpack() {
350 + # Extract only the eduke32 archive
351 + unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
352 +
353 + # Unpack only the documentation
354 + if use hrp; then
355 + unzip -q "${DISTDIR}"/${MY_PN_HRP}-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
356 + fi
357 + if use offensive; then
358 + unzip -q "${DISTDIR}"/${MY_PN_XXX}-${MY_PV_XXX}.zip xxx_readme.txt || die
359 + fi
360 + if use opl; then
361 + unzip -q "${DISTDIR}"/${MY_PN_OPL}-${MY_PV_OPL}.zip readme.txt || die
362 + fi
363 + if use sc-55; then
364 + unzip -q "${DISTDIR}"/${MY_PN_SC55}-${MY_PV_SC55}.zip readme/music_readme.txt || die
365 + fi
366 +}
367 +
368 +src_compile() {
369 + local myemakeopts=(
370 + ALLOCACHE_AS_MALLOC=0
371 + AS=$(tc-getAS)
372 + CC=$(tc-getCC)
373 + CXX=$(tc-getCXX)
374 + CLANG=0
375 + CPLUSPLUS=1
376 + CUSTOMOPT=""
377 + DEBUGANYWAY=0
378 + F_JUMP_TABLES=""
379 + FORCEDEBUG=0
380 + HAVE_FLAC=$(usex flac 1 0)
381 + HAVE_GTK2=$(usex gtk 1 0)
382 + HAVE_VORBIS=$(usex vorbis 1 0)
383 + HAVE_XMP=$(usex xmp 1 0)
384 + LINKED_GTK=$(usex gtk 1 0)
385 + LTO=1
386 + LUNATIC=0
387 + KRANDDEBUG=0
388 + MEMMAP=0
389 + MIXERTYPE=SDL
390 + NETCODE=$(usex server 1 0)
391 + NOASM=0
392 + OPTLEVEL=0
393 + OPTOPT=""
394 + PACKAGE_REPOSITORY=1
395 + POLYMER=$(usex opengl 1 0)
396 + PRETTY_OUTPUT=0
397 + PROFILER=0
398 + RELEASE=1
399 + RENDERTYPE=SDL
400 + SDL_TARGET=2
401 + SIMPLE_MENU=0
402 + STRIP=""
403 + TANDALONE=0
404 + STARTUP_WINDOW=$(usex gtk 1 0)
405 + USE_OPENGL=$(usex opengl 1 0)
406 + USE_LIBVPX=$(usex vpx 1 0)
407 + USE_LIBPNG=$(usex png 1 0)
408 + USE_LUAJIT_2_1=0
409 + WITHOUT_GTK=$(usex gtk 0 1)
410 + )
411 +
412 + emake "${myemakeopts[@]}"
413 +
414 + if use tools; then
415 + emake utils "${myemakeopts[@]}"
416 + fi
417 +}
418 +
419 +src_install() {
420 + local binary
421 + local binaries=(
422 + eduke32
423 + mapster32
424 + "${FILESDIR}"/eduke32-bin
425 + )
426 + for binary in "${binaries[@]}"; do
427 + dobin "${binary}"
428 + done
429 +
430 + if use tools; then
431 + local tool
432 + local tools=(
433 + arttool
434 + bsuite
435 + cacheinfo
436 + generateicon
437 + givedepth
438 + ivfrate
439 + kextract
440 + kgroup
441 + kmd2tool
442 + makesdlkeytrans
443 + map2stl
444 + md2tool
445 + mkpalette
446 + transpal
447 + unpackssi
448 + wad2art
449 + wad2map
450 + )
451 + for tool in "${tools[@]}"; do
452 + dobin ${tool}
453 + done
454 + fi
455 +
456 + keepdir /usr/share/games/eduke32
457 + insinto /usr/share/games/eduke32
458 + if use hrp; then
459 + doins "${DISTDIR}"/${MY_PN_HRP}-${MY_PV_HRP}.zip
460 + fi
461 + if use offensive; then
462 + doins "${DISTDIR}"/${MY_PN_XXX}-${MY_PV_XXX}.zip
463 + fi
464 + if use opl; then
465 + doins "${DISTDIR}"/${MY_PN_OPL}-${MY_PV_OPL}.zip
466 + fi
467 + if use psx; then
468 + doins "${DISTDIR}"/${MY_PN_PSX}-${MY_PV_PSX}.zip
469 + fi
470 + if use sc-55; then
471 + doins "${DISTDIR}"/${MY_PN_SC55}-${MY_PV_SC55}.zip
472 + fi
473 + if use sdk; then
474 + doins -r package/sdk
475 + fi
476 +
477 + newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
478 +
479 + make_desktop_entry eduke32-bin EDuke32 eduke32 Game
480 + make_desktop_entry mapster32 Mapster32 eduke32 Game
481 +
482 + local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
483 + if use hrp; then
484 + DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
485 + fi
486 + if use offensive; then
487 + DOCS+=( "${WORKDIR}"/xxx_readme.txt )
488 + fi
489 + if use opl; then
490 + DOCS+=( "${WORKDIR}"/readme.txt )
491 + fi
492 + if use sc-55; then
493 + DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
494 + fi
495 + einstalldocs
496 +}
497 +
498 +pkg_preinst() {
499 + gnome2_icon_savelist
500 +}
501 +
502 +pkg_postinst() {
503 + gnome2_icon_cache_update
504 +}
505 +
506 +pkg_postrm() {
507 + gnome2_icon_cache_update
508 +}
509
510 diff --git a/games-fps/eduke32/files/eduke32-20131119.4169-QA.patch b/games-fps/eduke32/files/eduke32-20131119.4169-QA.patch
511 deleted file mode 100644
512 index 38e9b36fa2b..00000000000
513 --- a/games-fps/eduke32/files/eduke32-20131119.4169-QA.patch
514 +++ /dev/null
515 @@ -1,150 +0,0 @@
516 -From: Julian Ospald <hasufell@g.o>
517 -Date: Sat Feb 2 01:16:21 UTC 2013
518 -Subject: build system
519 -
520 - respect CC/CXX etc and CFLAGS/CXXFLAGS/LDFLAGS
521 -
522 ---- eduke32_20130201-3453/Makefile
523 -+++ eduke32_20130201-3453/Makefile
524 -@@ -311,10 +311,10 @@
525 - endif
526 -
527 - COMPILER=$(CC) $(OURCONLYFLAGS)
528 --LINKER=$(L_CC)
529 -+LINKER=$(L_CC) $(OURCFLAGS) $(OURCONLYFLAGS)
530 - ifneq ($(CPLUSPLUS),0)
531 - COMPILER=$(CXX) $(OURCXXFLAGS)
532 -- LINKER=$(L_CXX)
533 -+ LINKER=$(L_CXX) $(OURCXXFLAGS)
534 - endif
535 -
536 - ifeq ($(PRETTY_OUTPUT),1)
537 ---- eduke32_20130201-3453/Makefile.common
538 -+++ eduke32_20130201-3453/Makefile.common
539 -@@ -10,13 +10,14 @@
540 -
541 - # Tools
542 - CROSS=
543 --CC=$(CROSS)gcc
544 --CXX=$(CROSS)g++
545 --AS=$(CROSS)nasm
546 --AR=$(CROSS)ar
547 --RC=$(CROSS)windres
548 --RANLIB=$(CROSS)ranlib
549 --STRIP=$(CROSS)strip
550 -+CC ?= $(CROSS)gcc
551 -+CXX ?= $(CROSS)g++
552 -+AS ?= $(CROSS)nasm
553 -+AR ?= $(CROSS)ar
554 -+RC ?= $(CROSS)windres
555 -+RANLIB ?= $(CROSS)ranlib
556 -+STRIP ?= $(CROSS)strip
557 -+PKG_CONFIG ?= pkgconfig
558 -
559 - L_CC=$(CC)
560 - L_CXX=$(CXX)
561 -@@ -164,7 +165,6 @@
562 - # FORCEWARNINGS - 1 = do not disable any compiler warnings within the source
563 - # KRANDDEBUG - 1 = include logging of krand() calls for debugging the demo system
564 - # EFENCE - 1 = compile with Electric Fence for malloc() debugging
565 --# OPTLEVEL - 0..3 = GCC optimization strategy
566 - # LTO - 1 = enable link-time optimization, for GCC 4.5 and up
567 - #
568 - CPLUSPLUS?=0
569 -@@ -178,13 +178,6 @@
570 - PROFILER?=0
571 - MUDFLAP?=0
572 -
573 --# Select the default optimization level for release and debug builds.
574 --ifeq ($(RELEASE),0)
575 -- OPTLEVEL?=0
576 --else
577 -- OPTLEVEL?=2
578 --endif
579 --
580 - ifeq ($(RELEASE),0)
581 - override STRIP=
582 - endif
583 -@@ -293,10 +286,9 @@
584 -
585 - # compiler flags etc.
586 - BASECFLAGS=
587 --BASECONLYFLAGS=-Wimplicit -Wdeclaration-after-statement
588 --BASECXXFLAGS= -fno-exceptions -fno-rtti -fpermissive -Wno-write-strings
589 --BASEASFLAGS=-s #-g
590 --BASELDFLAGS=
591 -+BASECONLYFLAGS = $(CFLAGS) -std=gnu89 -Wimplicit -Wdeclaration-after-statement
592 -+BASECXXFLAGS = $(CXXFLAGS) -fno-exceptions -fno-rtti -fpermissive -Wno-write-strings -Wno-narrowing
593 -+BASELDFLAGS = $(LDFLAGS)
594 -
595 -
596 - ifeq (1,$(strip $(shell expr $(GCC_MAJOR) \>= 4)))
597 -@@ -330,19 +322,6 @@
598 - endif
599 -
600 -
601 --ifneq ($(RELEASE)$(DEBUGANYWAY),10)
602 -- # debug build or DEBUGANYWAY=1 --> -g flag
603 -- ifneq (0,$(CLANG))
604 -- debug=-g
605 -- else ifeq ($(PLATFORM), WII)
606 -- debug=-g
607 -- else
608 -- debug=-ggdb
609 -- endif
610 --endif
611 --
612 --debug+= -O$(OPTLEVEL)
613 --
614 - # See http://clang.llvm.org/docs/UsersManual.html#controlling-code-generation
615 - # for a list of possible UBSan options.
616 - # Clang 3.2 does only supports -fsanitize=address for the AddressSanitizer
617 -@@ -458,7 +437,7 @@
618 -
619 - #### Lunatic development
620 - # LuaJIT standalone interpreter executable:
621 --LUAJIT:=luajit
622 -+LUAJIT:=$(shell command -v luajit || command -v luajit-2 || command -v luajit-2.0)
623 - # Options to "luajit -b" for synthesis. Since it runs on Linux, we need to tell
624 - # the native LuaJIT to emit PE object files.
625 - ifneq ($(SYNTHESIS),0)
626 -@@ -487,7 +466,8 @@
627 - ifeq ($(PLATFORM),WINDOWS)
628 - BASELIBS+= -lluajit
629 - else
630 -- BASELIBS+= -lluajit-5.1
631 -+ BASECOMMONFLAGS+= $(shell $(PKG_CONFIG) --cflags luajit 2>/dev/null || $(PKG_CONFIG) --cflags luajit-2.0)
632 -+ BASELIBS+= $(shell $(PKG_CONFIG) --libs luajit 2>/dev/null || $(PKG_CONFIG) --libs luajit-2.0)
633 - endif
634 - endif
635 -
636 ---- eduke32_20130201-3453/build/Makefile
637 -+++ eduke32_20130201-3453/build/Makefile
638 -@@ -167,13 +167,15 @@
639 - OURCOMMONFLAGS+= $(BUILDCOMMONFLAGS)
640 -
641 - COMPILER=$(CC) $(OURCONLYFLAGS)
642 --LINKER=$(L_CC)
643 -+LINKER=$(L_CC) $(OURCFLAGS) $(OURCONLYFLAGS)
644 - ifneq ($(CPLUSPLUS),0)
645 - COMPILER=$(CXX) $(OURCXXFLAGS)
646 -- LINKER=$(L_CXX)
647 -+ LINKER=$(L_CXX) $(OURCXXFLAGS)
648 - endif
649 -
650 --.SILENT:
651 -+ifeq ($(PRETTY_OUTPUT),1)
652 -+ .SILENT:
653 -+endif
654 - .PHONY: clean cleanutils veryclean all utils dxutils sdlutils printutils printsdlutils printdxutils enginelib editorlib
655 -
656 - # TARGETS
657 -@@ -266,7 +268,7 @@
658 - if $(LINKER) -o $@ $^ $(OURLDFLAGS) $(UTILLIBS) -I$(SDLROOT)/include -I$(SDLROOT)/include/SDL; then $(ONESTEP_OK); else $(ONESTEP_FAILED); fi
659 - arttool$(EXESUFFIX): $(OBJ)/arttool.$o $(UTILADDOBJS)
660 - $(ONESTEP_STATUS)
661 -- if $(L_CXX) -o $@ $^ $(OURLDFLAGS) $(STATICSTDCPP) $(STDCPPLIB) $(UTILLIBS); then $(ONESTEP_OK); else $(ONESTEP_FAILED); fi
662 -+ if $(L_CXX) $(OURCXXFLAGS) -o $@ $^ $(OURLDFLAGS) $(STATICSTDCPP) $(STDCPPLIB) $(UTILLIBS); then $(ONESTEP_OK); else $(ONESTEP_FAILED); fi
663 - givedepth$(EXESUFFIX): $(OBJ)/givedepth.$o $(UTILADDOBJS)
664 - $(ONESTEP_STATUS)
665 - if $(LINKER) -o $@ $^ $(OURLDFLAGS) $(UTILLIBS); then $(ONESTEP_OK); else $(ONESTEP_FAILED); fi
666
667 diff --git a/games-fps/eduke32/files/eduke32-bin b/games-fps/eduke32/files/eduke32-bin
668 new file mode 100755
669 index 00000000000..18e5b08e1ea
670 --- /dev/null
671 +++ b/games-fps/eduke32/files/eduke32-bin
672 @@ -0,0 +1,12 @@
673 +#!/bin/sh
674 +
675 +# Get all installed zip files
676 +zips=$(ls /usr/share/games/eduke32/*.zip)
677 +
678 +# Create opts for eduke32
679 +for zip in ${zips[@]}; do
680 + opts+="-g ${zip} "
681 +done
682 +
683 +# Switch to /tmp, for writing there the log file and run eduke32 with set opts
684 +cd /tmp && eduke32 ${opts}
685
686 diff --git a/games-fps/eduke32/files/fix-build-transpal.patch b/games-fps/eduke32/files/fix-build-transpal.patch
687 new file mode 100644
688 index 00000000000..3c22bc40550
689 --- /dev/null
690 +++ b/games-fps/eduke32/files/fix-build-transpal.patch
691 @@ -0,0 +1,20 @@
692 +--- a/source/tools/src/transpal.cpp 2017-02-01 11:01:11.000000000 +0100
693 ++++ b/source/tools/src/transpal.cpp 2018-05-11 00:06:37.329712454 +0200
694 +@@ -26,7 +26,7 @@
695 + r = ((ptr[0]*t+32768)>>16);
696 + g = ((ptr[1]*t+32768)>>16);
697 + b = ((ptr[2]*t+32768)>>16);
698 +- return(getclosestcol(r,g,b));
699 ++ return(paletteGetClosestColor(r,g,b));
700 + }
701 +
702 + static char gettrans(char dat1, char dat2, int datransratio)
703 +@@ -39,7 +39,7 @@
704 + r = ptr[0]; r += (((ptr2[0]-r)*datransratio+128)>>8);
705 + g = ptr[1]; g += (((ptr2[1]-g)*datransratio+128)>>8);
706 + b = ptr[2]; b += (((ptr2[2]-b)*datransratio+128)>>8);
707 +- return(getclosestcol(r,g,b));
708 ++ return(paletteGetClosestColor(r,g,b));
709 + }
710 +
711 + int main(int argc, char **argv)
712
713 diff --git a/games-fps/eduke32/files/log-to-tmpdir.patch b/games-fps/eduke32/files/log-to-tmpdir.patch
714 new file mode 100644
715 index 00000000000..24cec1b00af
716 --- /dev/null
717 +++ b/games-fps/eduke32/files/log-to-tmpdir.patch
718 @@ -0,0 +1,11 @@
719 +--- a/source/duke3d/src/game.cpp 2018-05-08 19:32:19.000000000 +0200
720 ++++ b/source/duke3d/src/game.cpp 2018-05-10 23:46:21.540213019 +0200
721 +@@ -6234,7 +6234,7 @@
722 + }
723 + else
724 + #endif
725 +- OSD_SetLogFile(APPBASENAME ".log");
726 ++ OSD_SetLogFile("/tmp/" APPBASENAME ".log");
727 +
728 + OSD_SetFunctions(GAME_drawosdchar,
729 + GAME_drawosdstr,
730
731 diff --git a/games-fps/eduke32/files/search-duke3d-path.patch b/games-fps/eduke32/files/search-duke3d-path.patch
732 new file mode 100644
733 index 00000000000..c35af40c749
734 --- /dev/null
735 +++ b/games-fps/eduke32/files/search-duke3d-path.patch
736 @@ -0,0 +1,11 @@
737 +--- a/source/duke3d/src/common.cpp 2018-04-12 23:03:47.000000000 +0200
738 ++++ b/source/duke3d/src/common.cpp 2018-05-11 00:04:36.590712915 +0200
739 +@@ -794,6 +794,8 @@
740 +
741 + addsearchpath("/usr/share/games/jfduke3d");
742 + addsearchpath("/usr/local/share/games/jfduke3d");
743 ++ addsearchpath("/usr/share/games/duke3d");
744 ++ addsearchpath("/usr/share/duke3d");
745 + addsearchpath("/usr/share/games/eduke32");
746 + addsearchpath("/usr/local/share/games/eduke32");
747 + #elif defined EDUKE32_OSX
748
749 diff --git a/games-fps/eduke32/metadata.xml b/games-fps/eduke32/metadata.xml
750 index 418a07b7ce8..801a1769ecb 100644
751 --- a/games-fps/eduke32/metadata.xml
752 +++ b/games-fps/eduke32/metadata.xml
753 @@ -1,27 +1,35 @@
754 <?xml version="1.0" encoding="UTF-8"?>
755 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
756 <pkgmetadata>
757 + <maintainer type="person">
758 + <email>ck+gentoo@××××××××.de</email>
759 + <name>Conrad Kostecki</name>
760 + </maintainer>
761 <maintainer type="project">
762 <email>games@g.o</email>
763 <name>Gentoo Games Project</name>
764 </maintainer>
765 + <maintainer type="project">
766 + <email>proxy-maint@g.o</email>
767 + <name>Proxy Maintainers</name>
768 + </maintainer>
769 + <longdescription>
770 + EDuke32 is an awesome, free homebrew game engine and source port
771 + of the classic PC first person shooter Duke Nukem 3D - Duke3D
772 + for short to Windows, Linux, Mac OS X, FreeBSD and several handhelds.
773 + </longdescription>
774 <use>
775 - <flag name="demo">Install <pkg>games-fps/duke3d-demodata</pkg>
776 - as well</flag>
777 - <flag name="gtk">Compile with gtk launcher</flag>
778 - <flag name="offensive">Include optional XXX texture pack
779 - (needs USE 'textures')</flag>
780 - <flag name="opl-musicpack">Include optional OPL (AdLib)
781 - music pack</flag>
782 - <flag name="samples">Install samples</flag>
783 - <flag name="sc55-musicpack">Include optional Roland SC-55
784 - music pack</flag>
785 - <flag name="server">Compile with server support</flag>
786 - <flag name="textures">Include optional high-resolution
787 - textures (needs USE 'opengl')</flag>
788 - <flag name="tools">Build several tools for modding and
789 - development</flag>
790 - <flag name="vpx">Enable support for WebM VP8 Codecs
791 - (needs USE 'opengl')</flag>
792 + <flag name="demo">Install the Duke Nukem 3D demo files, provided by <pkg>games-fps/duke3d-demodata</pkg>.</flag>
793 + <flag name="fluidsynth">Install <pkg>media-libs/sdl2-mixer</pkg> with fluidsynth support.</flag>
794 + <flag name="hrp">Install the Duke Nukem 3D High Resolution Pack.</flag>
795 + <flag name="offensive">Install the Duke Nukem 3D XXX Pack.</flag>
796 + <flag name="opl">Install the Duke Nukem 3D OPL music files.</flag>
797 + <flag name="psx">Install the Duke Nukem 3D PSX high resolution voice files.</flag>
798 + <flag name="sc-55">Install the Duke Nukem 3D Roland SC-55 music files.</flag>
799 + <flag name="server">Enable support for multiplayer.</flag>
800 + <flag name="sdk">Install the SDK files.</flag>
801 + <flag name="tools">Install the support tools for mapster32.</flag>
802 + <flag name="vpx">Enable support for <pkg>media-libs/libvpx</pkg>.</flag>
803 + <flag name="xmp">Enable support for <pkg>media-libs/exempi</pkg>.</flag>
804 </use>
805 </pkgmetadata>
806
807 diff --git a/licenses/hrp_art b/licenses/HRP
808 similarity index 97%
809 rename from licenses/hrp_art
810 rename to licenses/HRP
811 index eb8dc3c251c..ad4a6e6849e 100644
812 --- a/licenses/hrp_art
813 +++ b/licenses/HRP
814 @@ -1,76 +1,76 @@
815 -High Resolution Pack Art License
816 -
817 -This Work is provided under the terms of this License.
818 -The Work is protected by copyright and/or other applicable law. Any use of the
819 -Work other than as authorized under this license is prohibited by law.
820 -
821 -BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE
822 -BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED
823 -TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN
824 -CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
825 -
826 -
827 -Definitions:
828 -------------
829 -
830 -"Adaptation" means a work based upon the Work, or upon the Work and other
831 -pre-existing works, such as a translation, modification, derivative work,
832 -arrangement or other alterations of an artistic work, or phonogram or
833 -performance and includes cinematographic adaptations or any other form in
834 -which the Work may be recast, transformed, or adapted including in any form
835 -recognizably derived from the original.
836 -
837 -"Distribute" means to make available to the public the original and copies of
838 -the Work or Adaptation, as appropriate, through any transfer of ownership.
839 -
840 -"Licensor" means the individual, individuals, entity or entities that offer(s)
841 -the Work under the terms of this License.
842 -
843 -"Author" means, in the case of a literary or artistic work, the individual,
844 -individuals, entity or entities who created the Work or if no individual or
845 -entity can be identified, the publisher.
846 -
847 -"Work" means the artistic and/or musical content offered under the terms of
848 -this License including without limitation any production in the literary,
849 -scientific and artistic domain, whatever may be the mode or form of its
850 -expression including digital form.
851 -
852 -"You" means an individual or entity exercising rights under this License who
853 -has not previously violated the terms of this License with respect to the Work,
854 -or who has received express permission from the Licensor to exercise rights
855 -under this License despite a previous violation.
856 -
857 -"Reproduce" means to make copies of the Work by any means.
858 -
859 -
860 -Terms:
861 -------
862 -
863 -You are free to copy, alter, distribute, reproduce and transmit this Work,
864 -subject to the following conditions:
865 -
866 -1. You may not use this Work or anything contained in this Work for commercial
867 - purposes.
868 -
869 -2. You must attribute this Work in the manner specified by the authors or
870 - licensor.
871 -
872 -3. Any likenesses, characters, sounds, phrases or references specific to
873 - Duke Nukem, 3D Realms Entertainment, or Apogee Software Ltd. appear in this
874 - Work courtesy of 3D Realms Entertainment and are the exclusive property of
875 - 3D Realms Entertainment, and are provided only to be used with a legally
876 - acquired copy of Duke Nukem 3D. You may not alter, transform, build upon or
877 - adapt any portion of this Work specifically related to or derived from the
878 - Duke Nukem intellectual property, including likenesses, characters, sounds,
879 - phrases or references for any purpose other than use with a legally acquired
880 - copy of Duke Nukem 3D.
881 -
882 -4. Any works based upon altered, transformed, or copied parts of this Work must
883 - be distributed under a license identical or similar to this one.
884 -
885 -5. For any reuse or distribution of this Work, you must make clear to others
886 - the license terms of this Work.
887 -
888 -6. The producers and/or authors of this Work explicity reject any liability for
889 - any damages resulting from use or misuse of this Work by any Licensee or
890 - other third party.
891 +High Resolution Pack Art License
892 +
893 +This Work is provided under the terms of this License.
894 +The Work is protected by copyright and/or other applicable law. Any use of the
895 +Work other than as authorized under this license is prohibited by law.
896 +
897 +BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE
898 +BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED
899 +TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN
900 +CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
901 +
902 +
903 +Definitions:
904 +------------
905 +
906 +"Adaptation" means a work based upon the Work, or upon the Work and other
907 +pre-existing works, such as a translation, modification, derivative work,
908 +arrangement or other alterations of an artistic work, or phonogram or
909 +performance and includes cinematographic adaptations or any other form in
910 +which the Work may be recast, transformed, or adapted including in any form
911 +recognizably derived from the original.
912 +
913 +"Distribute" means to make available to the public the original and copies of
914 +the Work or Adaptation, as appropriate, through any transfer of ownership.
915 +
916 +"Licensor" means the individual, individuals, entity or entities that offer(s)
917 +the Work under the terms of this License.
918 +
919 +"Author" means, in the case of a literary or artistic work, the individual,
920 +individuals, entity or entities who created the Work or if no individual or
921 +entity can be identified, the publisher.
922 +
923 +"Work" means the artistic and/or musical content offered under the terms of
924 +this License including without limitation any production in the literary,
925 +scientific and artistic domain, whatever may be the mode or form of its
926 +expression including digital form.
927 +
928 +"You" means an individual or entity exercising rights under this License who
929 +has not previously violated the terms of this License with respect to the Work,
930 +or who has received express permission from the Licensor to exercise rights
931 +under this License despite a previous violation.
932 +
933 +"Reproduce" means to make copies of the Work by any means.
934 +
935 +
936 +Terms:
937 +------
938 +
939 +You are free to copy, alter, distribute, reproduce and transmit this Work,
940 +subject to the following conditions:
941 +
942 +1. You may not use this Work or anything contained in this Work for commercial
943 + purposes.
944 +
945 +2. You must attribute this Work in the manner specified by the authors or
946 + licensor.
947 +
948 +3. Any likenesses, characters, sounds, phrases or references specific to
949 + Duke Nukem, 3D Realms Entertainment, or Apogee Software Ltd. appear in this
950 + Work courtesy of 3D Realms Entertainment and are the exclusive property of
951 + 3D Realms Entertainment, and are provided only to be used with a legally
952 + acquired copy of Duke Nukem 3D. You may not alter, transform, build upon or
953 + adapt any portion of this Work specifically related to or derived from the
954 + Duke Nukem intellectual property, including likenesses, characters, sounds,
955 + phrases or references for any purpose other than use with a legally acquired
956 + copy of Duke Nukem 3D.
957 +
958 +4. Any works based upon altered, transformed, or copied parts of this Work must
959 + be distributed under a license identical or similar to this one.
960 +
961 +5. For any reuse or distribution of this Work, you must make clear to others
962 + the license terms of this Work.
963 +
964 +6. The producers and/or authors of this Work explicity reject any liability for
965 + any damages resulting from use or misuse of this Work by any Licensee or
966 + other third party.