------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX 20040817-credits.patch 1267 RMD160 bef48612e6e7176e1f7a252bfd837f177814e80b SHA1 2ec3f180611c45c7fe29ab2ccaa2d35822dc1ef3 SHA256 ea4d7540790ea937d97d5e87abdfa893e58b699fcb16abb30e84529edce061a9
MD5 6ba6bae3aa96076fbb7dc72e06d93d3d files/20040817-credits.patch 1267
RMD160 bef48612e6e7176e1f7a252bfd837f177814e80b files/20040817-credits.patch 1267
MD5 bdb7fc3ed5f825c4c1976e40a6900645 duke3d-20040817-r1.ebuild 3460
RMD160 6f7267887f4708b787c3dd170cd5eae230e11b50 duke3d-20040817-r1.ebuild 3460
SHA256 77899d80e85cdf68b2a1f1ad7b060519f37a1ca633d8486d9fcbdba994adac5f duke3d-20040817-r1.ebuild 3460
-EBUILD duke3d-20040817.ebuild 3023 RMD160 ebafc7266cea3008024e0b6538f7aab0374e5e78 SHA1 e0b34cb7778755f28a7c6435f97b096dc3a813a0 SHA256 534e3600b073c3968901d1e66cf653cdfed6cd627cb8823e7d233f5057000e3a
-MD5 6661baa9a3bb0e4d352af6c8b12b5150 duke3d-20040817.ebuild 3023
-RMD160 ebafc7266cea3008024e0b6538f7aab0374e5e78 duke3d-20040817.ebuild 3023
-SHA256 534e3600b073c3968901d1e66cf653cdfed6cd627cb8823e7d233f5057000e3a duke3d-20040817.ebuild 3023
MISC ChangeLog 4120 RMD160 6e4c09229fb0b5dd95074165ae4cafdc52e2c60b SHA1 8ba86a382f8b12b9f97af06c8f4f99c515b25b6f SHA256 a30a92e0e85c7330fb87d816d16890763ace6473c18d1b79969000dc22a1bb03
MD5 a9b6b02b339be8b573243b08f088d66c ChangeLog 4120
RMD160 6e4c09229fb0b5dd95074165ae4cafdc52e2c60b ChangeLog 4120
MD5 ecc5dda531ee4b1b2bba02e1e17d180e metadata.xml 2594
RMD160 03b8a770a9e33a078974b028df60891c1d9f27ae metadata.xml 2594
SHA256 1f9ff9ce704c510d6893b20e9db8bdeff02beae7076d8eb2d48e5a6344ac116a metadata.xml 2594
-MD5 cb2ae6358edd17a006e2710cff1c51ef files/digest-duke3d-20040817 253
-RMD160 6bd0909ebd86c76dfd263bb4a9ff8a5a3e2b18fc files/digest-duke3d-20040817 253
-SHA256 77b6a97da9f5c6344f9c509c52e44f28446e76b135c0d7bcc2fd6fc4031ba91d files/digest-duke3d-20040817 253
MD5 cb2ae6358edd17a006e2710cff1c51ef files/digest-duke3d-20040817-r1 253
RMD160 6bd0909ebd86c76dfd263bb4a9ff8a5a3e2b18fc files/digest-duke3d-20040817-r1 253
SHA256 77b6a97da9f5c6344f9c509c52e44f28446e76b135c0d7bcc2fd6fc4031ba91d files/digest-duke3d-20040817-r1 253
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.2 (GNU/Linux)
-
-iD8DBQFF9Wad6J2i8a8J4okRAhBrAKCBwZFbDYmLdH5d1sRgqVcFsEWA0QCgmNaY
-uJ/JO0x1jVykr7gfu1v4BWY=
-=CuIr
------END PGP SIGNATURE-----
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/duke3d/duke3d-20040817.ebuild,v 1.11 2007/03/12 14:37:15 genone Exp $
-
-fromcvs=0
-ECVS_MODULE="duke3d"
-if [[ ${fromcvs} -eq 1 ]] ; then
- ECVS_PASS="anonymous"
- ECVS_SERVER="icculus.org:/cvs/cvsroot"
- inherit cvs eutils flag-o-matic games
-else
- inherit eutils flag-o-matic games
-fi
-
-DESCRIPTION="port of the original DukeNukem 3D"
-HOMEPAGE="http://icculus.org/projects/duke3d/"
-SRC_URI="mirror://gentoo/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="hppa ppc x86"
-IUSE="pic perl opengl"
-
-RDEPEND="media-libs/libsdl
- media-libs/sdl-mixer
- media-sound/timidity++
- media-sound/timidity-eawpatches
- perl? ( dev-lang/perl )
- opengl? ( virtual/opengl )"
-DEPEND="${RDEPEND}
- !pic? ( x86? ( dev-lang/nasm ) )"
-
-S="${WORKDIR}/${ECVS_MODULE}"
-
-use_tf() { useq ${1} && echo "true" || echo "false"; }
-
-src_unpack() {
- if [[ ${fromcvs} -eq 1 ]] ; then
- cvs_src_unpack
- cd duke3d/source
- ECVS_MODULE="buildengine"
- cvs_src_unpack
- else
- unpack ${A}
- fi
-
- # configure buildengine
- cd "${S}/source/buildengine"
- sed -i \
- -e "/^useperl := / s:=.*:= $(use_tf perl):" \
- -e "/^useopengl := / s:=.*:= $(use_tf opengl):" \
- -e "/^usephysfs := / s:=.*:= false:" \
- -e 's:-O3::' -e 's: -g : :' \
- -e 's:/usr/lib/perl5/i386-linux/CORE/libperl.a::' \
- Makefile \
- || die "sed build Makefile failed"
- epatch "${FILESDIR}/${PV}-endian.patch"
-
- # configure duke3d
- cd "${S}/source"
- epatch "${FILESDIR}/${PV}-credits.patch"
- # need to sync features with build engine
- epatch "${FILESDIR}/${PV}-duke3d-makefile-opts.patch"
- epatch "${FILESDIR}/${PV}-gcc34.patch" # compile fixes for GCC 3.4
- epatch "${FILESDIR}/${PV}-gcc4.patch" # compile fixes for GCC 4.0/4.1 by Mark Loeser
- sed -i \
- -e "/^use_opengl := / s:=.*:= $(use_tf opengl):" \
- -e "/^use_physfs := / s:=.*:= false:" \
- Makefile \
- || die "sed duke3d Makefile failed"
- if ! use pic && use x86 ; then
- sed -i \
- -e 's:^#USE_ASM:USE_ASM:' buildengine/Makefile \
- || die "sed failed"
- sed -i \
- -e '/^#use_asm := /s:#::' Makefile \
- || die "sed failed"
- fi
-
- # causes crazy redefine errors with gcc-3.[2-4].x
- replace-flags -O3 -O2
-}
-
-src_compile() {
- emake -C source/buildengine OPTFLAGS="${CFLAGS}" || die "buildengine failed"
- emake -C source OPTIMIZE="${CFLAGS}" || die "duke3d failed"
-}
-
-src_install() {
- games_make_wrapper duke3d "${GAMES_BINDIR}/duke3d.bin" "${GAMES_DATADIR}/${PN}"
- newgamesbin source/duke3d duke3d.bin || die "newgamesbin failed"
-
- dodoc readme.txt
-
- cd testdata
- insinto "${GAMES_DATADIR}/${PN}"
- newins defs.con DEFS.CON
- newins game.con GAME.CON
- newins user.con USER.CON
- doins "${FILESDIR}/network.cfg"
- insinto "${GAMES_SYSCONFDIR}"
- doins "${FILESDIR}/duke3d.cfg"
- dosym "${GAMES_SYSCONFDIR}/duke3d.cfg" "${GAMES_DATADIR}/${PN}/DUKE3D.CFG"
-
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
- elog "Just put the data files in ${GAMES_DATADIR}/${PN}"
- elog "before playing !"
-}