diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2013-01-30 22:54:12 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2013-01-30 22:54:12 +0000 |
commit | fbbfb8729f41be5a257b81594c79b26435942575 (patch) | |
tree | 11e5ceeb362f0f29b8add24bd804a72d670150f5 /games-action | |
parent | old (diff) | |
download | gentoo-2-fbbfb8729f41be5a257b81594c79b26435942575.tar.gz gentoo-2-fbbfb8729f41be5a257b81594c79b26435942575.tar.bz2 gentoo-2-fbbfb8729f41be5a257b81594c79b26435942575.zip |
old
(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/wordwarvi/ChangeLog | 9 | ||||
-rw-r--r-- | games-action/wordwarvi/files/wordwarvi-0.26-sound.patch | 81 | ||||
-rw-r--r-- | games-action/wordwarvi/wordwarvi-0.26.ebuild | 55 |
3 files changed, 6 insertions, 139 deletions
diff --git a/games-action/wordwarvi/ChangeLog b/games-action/wordwarvi/ChangeLog index dcc438ed0394..6326f773f344 100644 --- a/games-action/wordwarvi/ChangeLog +++ b/games-action/wordwarvi/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-action/wordwarvi -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/wordwarvi/ChangeLog,v 1.11 2012/05/03 03:02:33 jdhore Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/wordwarvi/ChangeLog,v 1.12 2013/01/30 22:54:11 mr_bones_ Exp $ + + 30 Jan 2013; Michael Sterrett <mr_bones_@gentoo.org> + -files/wordwarvi-0.26-sound.patch, -wordwarvi-0.26.ebuild: + old 03 May 2012; Jeff Horelick <jdhore@gentoo.org> wordwarvi-0.26.ebuild, wordwarvi-1.00.ebuild: @@ -54,4 +58,3 @@ 04 Aug 2008; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml, +wordwarvi-0.22.ebuild: initial commit - diff --git a/games-action/wordwarvi/files/wordwarvi-0.26-sound.patch b/games-action/wordwarvi/files/wordwarvi-0.26-sound.patch deleted file mode 100644 index 33742aed093a..000000000000 --- a/games-action/wordwarvi/files/wordwarvi-0.26-sound.patch +++ /dev/null @@ -1,81 +0,0 @@ -diff -ru wordwarvi-0.26.orig/Makefile wordwarvi-0.26/Makefile ---- wordwarvi-0.26.orig/Makefile 2009-08-09 10:33:02.000000000 -0400 -+++ wordwarvi-0.26/Makefile 2010-02-08 17:45:30.977667366 -0500 -@@ -1,5 +1,5 @@ - PREFIX=/usr --DATADIR=${PREFIX}/share/wordwarvi -+DATADIR?=${PREFIX}/share/wordwarvi - MANDIR?=${PREFIX}/share/man - MANPAGEDIR=${MANDIR}/man6 - -@@ -21,18 +21,6 @@ - OGGOBJ= - endif - --# DEBUG=-g --# DEBUG= --# PROFILE_FLAG=-pg --#PROFILE_FLAG= --#OPTIMIZE_FLAG= --# OPTIMIZE_FLAG=-O3 --#OPTIMIZE_FLAG=-O3 -pedantic -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security --OPTIMIZE_FLAG=-O3 -pedantic -- -- --LDFLAGS=${PROFILE_FLAG} -- - DEFINES=${SNDFLAGS} -DDATADIR=\"${DATADIR}/\" - - all: wordwarvi wordwarvi.6.gz -@@ -50,32 +38,32 @@ - endif - - joystick.o: joystick.c joystick.h Makefile -- gcc ${DEBUG} ${PROFILE_FLAG} ${OPTIMIZE_FLAG} -pthread -Wall -c joystick.c -+ $(CC) ${DEBUG} ${PROFILE_FLAG} ${CFLAGS} -pthread -Wall -c joystick.c - - ogg_to_pcm.o: ogg_to_pcm.c ogg_to_pcm.h Makefile -- gcc ${DEBUG} ${PROFILE_FLAG} ${OPTIMIZE_FLAG} `pkg-config --cflags vorbisfile` \ -+ $(CC) ${DEBUG} ${PROFILE_FLAG} ${CFLAGS} `pkg-config --cflags vorbisfile` \ - -pthread -Wall -c ogg_to_pcm.c - - wwviaudio.o: wwviaudio.c wwviaudio.h ogg_to_pcm.h my_point.h Makefile -- gcc -Wall ${DEBUG} ${PROFILE_FLAG} ${OPTIMIZE_FLAG} \ -+ $(CC) -Wall ${DEBUG} ${PROFILE_FLAG} ${CFLAGS} \ - ${DEFINES} \ - -pthread `pkg-config --cflags vorbisfile` \ - -c wwviaudio.c - - rumble.o: rumble.c rumble.h Makefile -- gcc ${DEBUG} ${PROFILE_FLAG} ${OPTIMIZE_FLAG} `pkg-config --cflags vorbisfile` \ -+ $(CC) ${DEBUG} ${PROFILE_FLAG} ${CFLAGS} `pkg-config --cflags vorbisfile` \ - -pthread -Wall -c rumble.c - - wwvi_font.o: wwvi_font.c wwvi_font.h my_point.h Makefile -- gcc ${DEBUG} ${PROFILE_FLAG} ${OPTIMIZE_FLAG} -pthread -Wall -c wwvi_font.c -+ $(CC) ${DEBUG} ${PROFILE_FLAG} ${CFLAGS} -pthread -Wall -c wwvi_font.c - - stamp: stamp.c -- gcc -o stamp stamp.c -+ $(CC) $(LDFLAGS) -o stamp stamp.c - - wordwarvi: wordwarvi.c joystick.o rumble.o ${OGGOBJ} wwviaudio.o wwvi_font.o \ - Makefile version.h stamp levels.h rumble.h - ./stamp > stamp.h -- gcc ${DEBUG} ${PROFILE_FLAG} ${OPTIMIZE_FLAG} ${SCREENSAVERFLAG} -pthread -Wall ${DEFINES} \ -+ $(CC) $(LDFLAGS) ${DEBUG} ${PROFILE_FLAG} ${CFLAGS} ${SCREENSAVERFLAG} -pthread -Wall ${DEFINES} \ - joystick.o \ - rumble.o \ - wwvi_font.o \ -diff -ru wordwarvi-0.26.orig/wwviaudio.c wordwarvi-0.26/wwviaudio.c ---- wordwarvi-0.26.orig/wwviaudio.c 2009-08-09 10:33:02.000000000 -0400 -+++ wordwarvi-0.26/wwviaudio.c 2010-02-08 17:45:07.127666854 -0500 -@@ -124,7 +124,7 @@ - strncpy(filebuf, filename, PATH_MAX); - rc = stat(filebuf, &statbuf); - if (rc != 0) { -- snprintf(filebuf, PATH_MAX, "%s", filename); -+ snprintf(filebuf, PATH_MAX, "GENTOO_DATADIR%s", filename); - rc = stat(filebuf, &statbuf); - if (rc != 0) { - fprintf(stderr, "stat('%s') failed.\n", filebuf); diff --git a/games-action/wordwarvi/wordwarvi-0.26.ebuild b/games-action/wordwarvi/wordwarvi-0.26.ebuild deleted file mode 100644 index 6db027b7f013..000000000000 --- a/games-action/wordwarvi/wordwarvi-0.26.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/wordwarvi/wordwarvi-0.26.ebuild,v 1.4 2012/05/03 03:02:34 jdhore Exp $ - -EAPI=2 -inherit eutils games - -DESCRIPTION="A retro side-scrolling shoot'em up based on the editor war story" -HOMEPAGE="http://wordwarvi.sourceforge.net" -SRC_URI="mirror://sourceforge/wordwarvi/${P}.tar.gz" - -LICENSE="GPL-2 CCPL-Attribution-2.0 CCPL-Attribution-ShareAlike-3.0" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="vorbis" - -RDEPEND="x11-libs/gtk+:2 - vorbis? ( media-libs/libvorbis - >=media-libs/portaudio-19_pre1 )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -src_prepare() { - epatch "${FILESDIR}"/${P}-sound.patch - sed -i \ - -e "/^WITHAUDIO/s/yes/$(use vorbis && echo yes || echo no)/" \ - Makefile \ - || die "sed failed" - sed -i \ - -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}/:" \ - wwviaudio.c \ - || die "sed failed" -} - -src_compile() { - emake \ - PREFIX="${GAMES_PREFIX}" \ - DATADIR="${GAMES_DATADIR}/${PN}" \ - MANDIR="/usr/share/man" \ - || die "emake failed" -} - -src_install() { - emake \ - DESTDIR="${D}" \ - PREFIX="${GAMES_PREFIX}" \ - DATADIR="${GAMES_DATADIR}/${PN}" \ - MANDIR="/usr/share/man" \ - install || die "emake install failed" - use vorbis || rm -rf "${D}${GAMES_DATADIR}/${PN}" - dodoc README AUTHORS changelog.txt AAA_HOW_TO_MAKE_NEW_LEVELS.txt - newicon icons/wordwarvi_icon_128x128.png ${PN}.png - make_desktop_entry ${PN} "Word War vi" - prepgamesdirs -} |