diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-06-24 06:08:33 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-06-24 06:08:33 +0000 |
commit | 924b5d4e7b8f2dc7a7d307b4f96429fae1a6ace5 (patch) | |
tree | 522a490280ba1e6d5c986c7f5c8b017fb5721d75 /games-fps | |
parent | clean old versions (diff) | |
download | historical-924b5d4e7b8f2dc7a7d307b4f96429fae1a6ace5.tar.gz historical-924b5d4e7b8f2dc7a7d307b4f96429fae1a6ace5.tar.bz2 historical-924b5d4e7b8f2dc7a7d307b4f96429fae1a6ace5.zip |
disable SDL support for now since the code wants sdl-mixer internal functions
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/doomlegacy/ChangeLog | 8 | ||||
-rw-r--r-- | games-fps/doomlegacy/Manifest | 16 | ||||
-rw-r--r-- | games-fps/doomlegacy/doomlegacy-1.42.ebuild | 65 |
3 files changed, 42 insertions, 47 deletions
diff --git a/games-fps/doomlegacy/ChangeLog b/games-fps/doomlegacy/ChangeLog index 0532c0872455..2022a2e8e424 100644 --- a/games-fps/doomlegacy/ChangeLog +++ b/games-fps/doomlegacy/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-fps/doomlegacy -# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/doomlegacy/ChangeLog,v 1.9 2004/07/21 02:22:31 vapier Exp $ +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/doomlegacy/ChangeLog,v 1.10 2005/06/24 06:08:33 mr_bones_ Exp $ + + 24 Jun 2005; Michael Sterrett <mr_bones_@gentoo.org> + doomlegacy-1.42.ebuild: + disable SDL support for now since the code wants sdl-mixer internal functions *doomlegacy-1.42 (20 Jul 2004) diff --git a/games-fps/doomlegacy/Manifest b/games-fps/doomlegacy/Manifest index 9c11283f38ac..5248de34921d 100644 --- a/games-fps/doomlegacy/Manifest +++ b/games-fps/doomlegacy/Manifest @@ -1,17 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 dc86d30f1873cd6b0109c8e95dd48daa ChangeLog 1807 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 -MD5 d0be0b58acac6f6ea623ec89d3d0fa27 doomlegacy-1.42.ebuild 2617 -MD5 bb9b722c1950d5def8c8b9acdaf97e50 files/digest-doomlegacy-1.42 131 +MD5 cee0e04ae4bef299bfa17a429066a607 ChangeLog 1973 +MD5 7867c8d0c1ca4502a5dcb7b22fb54c3f doomlegacy-1.42.ebuild 2782 MD5 0d6de7188dfe337db9cd0b99fc2dcf05 files/1.42-errno.patch 1327 MD5 e816487fa8ac743f0b6e9691e79bac01 files/1.42-makefile.patch 4465 MD5 939a6e8bb2387591d70d271c6a5c55be files/1.42-sdl-gentoo-paths.patch 495 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.9.10 (GNU/Linux) - -iD8DBQFBhHRDHTu7gpaalycRAgu5AKD0Q2rlzE1ZxfPgXXWx8RAc31ua+gCg4JAd -OK+SPahgxkqv/Z4JVM7QMp4= -=Iq6g ------END PGP SIGNATURE----- +MD5 bb9b722c1950d5def8c8b9acdaf97e50 files/digest-doomlegacy-1.42 131 diff --git a/games-fps/doomlegacy/doomlegacy-1.42.ebuild b/games-fps/doomlegacy/doomlegacy-1.42.ebuild index bfeeb2ad1ca3..f7a0192215ca 100644 --- a/games-fps/doomlegacy/doomlegacy-1.42.ebuild +++ b/games-fps/doomlegacy/doomlegacy-1.42.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/doomlegacy/doomlegacy-1.42.ebuild,v 1.1 2004/07/21 02:22:31 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/doomlegacy/doomlegacy-1.42.ebuild,v 1.2 2005/06/24 06:08:33 mr_bones_ Exp $ inherit eutils games @@ -11,35 +11,35 @@ SRC_URI="mirror://sourceforge/doomlegacy/legacy_${PV/.}_src.tar.gz LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 ppc" -IUSE="sdl X dga esd" +KEYWORDS="ppc x86" +IUSE="X dga esd" #sdl - broken with recent sdl-mixer releases RDEPEND=" virtual/opengl virtual/x11 - esd? ( media-sound/esound ) - sdl? ( - media-libs/libsdl - media-libs/sdl-mixer - )" + esd? ( media-sound/esound )" + # broken with recent sdl-mixer releases + #sdl? ( + #media-libs/libsdl + #media-libs/sdl-mixer + #)" DEPEND="${RDEPEND} - x86? ( >=dev-lang/nasm-0.98 ) - >=sys-apps/sed-4" + x86? ( >=dev-lang/nasm-0.98 )" S=${WORKDIR}/doomlegacy_${PV/.}_src src_unpack() { unpack ${A} mkdir bin - cd ${S} - epatch ${FILESDIR}/${PV}-errno.patch - epatch ${FILESDIR}/${PV}-makefile.patch - epatch ${FILESDIR}/${PV}-sdl-gentoo-paths.patch + cd "${S}" + epatch "${FILESDIR}"/${PV}-errno.patch + epatch "${FILESDIR}"/${PV}-makefile.patch + epatch "${FILESDIR}"/${PV}-sdl-gentoo-paths.patch # disable logfile writing sed -i \ -e 's:#define LOGMESSAGES::' doomdef.h \ - || die 'sed doomdef.h failed' + || die 'sed failed' # make sure the games can find the wads/data files sed -i \ @@ -47,13 +47,13 @@ src_unpack() { linux_x/i_system.c || die "sed linux_x/i_system.c failed" sed -i \ -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/doom-data:" \ - sdl/i_system.c || die "sed sdl/i_system.c failed" + sdl/i_system.c || die "sed failed" # move opengl lib file because it's not useful to anyone else sed -i \ -e "s:\"r_opengl:\"${GAMES_LIBDIR}/${PN}/r_opengl:" \ linux_x/i_video_xshm.c \ - || die "sed linux_x/i_video_xshm.c failed" + || die "sed failed" cd linux_x/musserv make -f Makefile.linux clean @@ -61,16 +61,17 @@ src_unpack() { src_compile() { # this is ugly but it's late (here) and it works - local makeopts="" - local interfaces="" - use sdl && interfaces="${interfaces} SDL" + local makeopts i interfaces + + # broken with recent sdl-mixer releases + #use sdl && interfaces="${interfaces} SDL" use X && interfaces="${interfaces} X" [ -z "${interfaces}" ] && interfaces="X" - mkdir ${WORKDIR}/my-bins + mkdir "${WORKDIR}"/my-bins for i in ${interfaces} ; do case ${i} in SDL) - makeopts="SDL=1";; + makeopts="LINUX=1 SDL=1 HAVE_MIXER=1" ;; X) makeopts="LINUX=1 X=1" use x86 && makeopts="${makeopts} USEASM=1" @@ -79,11 +80,11 @@ src_compile() { esac emake EXTRAOPTS="${CFLAGS}" ${makeopts} || die "build failed" mv \ - ${WORKDIR}/bin/* \ + "${WORKDIR}"/bin/* \ linux_x/musserv/linux/musserver \ linux_x/sndserv/linux/llsndserv \ - ${WORKDIR}/my-bins/ - rm ${WORKDIR}/objs/* + "${WORKDIR}"/my-bins/ + rm "${WORKDIR}"/objs/* done } @@ -92,14 +93,14 @@ src_install() { rm _doc/*.html dodoc _doc/* - cd ${WORKDIR} - exeinto ${GAMES_LIBDIR}/${PN} - doexe my-bins/r_opengl.so + cd "${WORKDIR}" + exeinto "${GAMES_LIBDIR}/${PN}" + doexe my-bins/r_opengl.so || die "doexe failed" rm my-bins/r_opengl.so - dogamesbin my-bins/* + dogamesbin my-bins/* || die "dogamesbin failed" - insinto ${GAMES_DATADIR}/doom-data - newins legacy-${PV}.dat legacy.dat || die + insinto "${GAMES_DATADIR}/doom-data" + newins legacy-${PV}.dat legacy.dat || die "newins failed" prepgamesdirs } |