diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2014-09-06 00:54:29 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2014-09-06 00:54:29 +0000 |
commit | dde1f8d75179da25a5d58e7a438dccb5467054fc (patch) | |
tree | 71b95a923f458bfab622562a1d70a7df312ff613 /games-action/powermanga | |
parent | Mask app-doc/djbdns-man for removal in 30 days. (diff) | |
download | gentoo-2-dde1f8d75179da25a5d58e7a438dccb5467054fc.tar.gz gentoo-2-dde1f8d75179da25a5d58e7a438dccb5467054fc.tar.bz2 gentoo-2-dde1f8d75179da25a5d58e7a438dccb5467054fc.zip |
version bump
(Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-action/powermanga')
7 files changed, 103 insertions, 11 deletions
diff --git a/games-action/powermanga/ChangeLog b/games-action/powermanga/ChangeLog index daea1d5c39bb..b2ef8a8c2768 100644 --- a/games-action/powermanga/ChangeLog +++ b/games-action/powermanga/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for games-action/powermanga # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/powermanga/ChangeLog,v 1.31 2014/09/05 20:44:28 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/powermanga/ChangeLog,v 1.32 2014/09/06 00:54:29 mr_bones_ Exp $ + +*powermanga-0.92 (06 Sep 2014) + + 06 Sep 2014; Michael Sterrett <mr_bones_@gentoo.org> + +files/powermanga-0.92-flags.patch, +powermanga-0.92.ebuild, + files/powermanga-0.90-segfault.patch, files/powermanga-0.90-underlink.patch, + files/powermanga-0.91-automake-1.13.patch, files/powermanga-0.91-flags.patch, + files/powermanga-0.91-segfault.patch, files/powermanga-0.91-underlink.patch: + version bump 05 Sep 2014; Michael Sterrett <mr_bones_@gentoo.org> powermanga-0.91.ebuild: fix savegame dir with patch from Samuel BAUER via bug #515676 diff --git a/games-action/powermanga/files/powermanga-0.90-segfault.patch b/games-action/powermanga/files/powermanga-0.90-segfault.patch index 573a5794e399..58c47ed59571 100644 --- a/games-action/powermanga/files/powermanga-0.90-segfault.patch +++ b/games-action/powermanga/files/powermanga-0.90-segfault.patch @@ -1,7 +1,7 @@ https://bugs.gentoo.org/show_bug.cgi?id=422915 ---- tmp/powermanga-0.90.orig/src/shots.c 2007-08-24 00:55:17.000000000 -0700 -+++ powermanga-0.90-dfsg/src/shots.c 2011-12-26 21:10:28.000000000 -0800 +--- tmp/powermanga-0.90.orig/src/shots.c ++++ powermanga-0.90-dfsg/src/shots.c @@ -447,8 +447,6 @@ { bullet->img_angle = (Sint16) (bullet->angle / PI_SUR_16); diff --git a/games-action/powermanga/files/powermanga-0.90-underlink.patch b/games-action/powermanga/files/powermanga-0.90-underlink.patch index 8afd5ef8ef6f..f335430cc633 100644 --- a/games-action/powermanga/files/powermanga-0.90-underlink.patch +++ b/games-action/powermanga/files/powermanga-0.90-underlink.patch @@ -1,5 +1,5 @@ ---- configure.ac.old 2011-05-19 07:52:47.862129502 +0200 -+++ configure.ac 2011-05-19 07:52:59.780877256 +0200 +--- configure.ac.old ++++ configure.ac @@ -31,14 +31,11 @@ @@ -15,8 +15,8 @@ dnl ttf and sdl_image for shareware version only dnl AC_CHECK_LIB(SDL_ttf,TTF_Init,,[AC_MSG_ERROR([SDL_ttf])]) ---- src/Makefile.am.old 2011-05-19 07:58:50.128783975 +0200 -+++ src/Makefile.am 2011-05-19 07:58:55.639128359 +0200 +--- src/Makefile.am.old ++++ src/Makefile.am @@ -7,7 +7,7 @@ powermanga_SOURCES = $(SOURCES_MAIN) $(SOURCES_EXTRA) #powermanga_CXXFLAGS = -DPREFIX=\"$(prefix)\" -DSCOREFILE=\"$(scoredir)/$(score)\" @XLIB_CFLAGS@ @SDL_CFLAGS@ diff --git a/games-action/powermanga/files/powermanga-0.91-segfault.patch b/games-action/powermanga/files/powermanga-0.91-segfault.patch index 2413c8913a63..2b6d177373de 100644 --- a/games-action/powermanga/files/powermanga-0.91-segfault.patch +++ b/games-action/powermanga/files/powermanga-0.91-segfault.patch @@ -1,7 +1,7 @@ https://bugs.gentoo.org/show_bug.cgi?id=422915 ---- src/shots.c 2007-08-24 00:55:17.000000000 -0700 -+++ src/shots.c 2011-12-26 21:10:28.000000000 -0800 +--- src/shots.c ++++ src/shots.c @@ -490,8 +490,6 @@ { bullet->img_angle = (Sint16) (bullet->angle / PI_BY_16); diff --git a/games-action/powermanga/files/powermanga-0.91-underlink.patch b/games-action/powermanga/files/powermanga-0.91-underlink.patch index ddede6970c94..bb6f832cbd4c 100644 --- a/games-action/powermanga/files/powermanga-0.91-underlink.patch +++ b/games-action/powermanga/files/powermanga-0.91-underlink.patch @@ -1,5 +1,5 @@ ---- src/Makefile.am.old 2011-05-19 07:58:50.128783975 +0200 -+++ src/Makefile.am 2011-05-19 07:58:55.639128359 +0200 +--- src/Makefile.am.old ++++ src/Makefile.am @@ -8,7 +8,7 @@ powermanga_CFLAGS = -DPREFIX=\"$(prefix)\" \ -DSCOREFILE=\"$(scoredir)/$(score)\" \ diff --git a/games-action/powermanga/files/powermanga-0.92-flags.patch b/games-action/powermanga/files/powermanga-0.92-flags.patch new file mode 100644 index 000000000000..85fca94a7049 --- /dev/null +++ b/games-action/powermanga/files/powermanga-0.92-flags.patch @@ -0,0 +1,11 @@ +--- configure.ac ++++ configure.ac +@@ -54,7 +54,7 @@ + AC_DEFINE(USE_MALLOC_WRAPPER, 1, Define to use a malloc wrapper) + CFLAGS="-Wall -Werror -pedantic -Wextra -std=gnu99 -g" + else +- CFLAGS="-O3 -Werror -Wall -pedantic -Wextra -std=gnu99" ++ CFLAGS="$CFLAGS -Wall -Wextra -std=gnu99" + fi + + dnl Check for SDL_mixer diff --git a/games-action/powermanga/powermanga-0.92.ebuild b/games-action/powermanga/powermanga-0.92.ebuild new file mode 100644 index 000000000000..e2fc53a39faf --- /dev/null +++ b/games-action/powermanga/powermanga-0.92.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/powermanga/powermanga-0.92.ebuild,v 1.1 2014/09/06 00:54:29 mr_bones_ Exp $ + +EAPI=5 +inherit eutils autotools games + +DESCRIPTION="An arcade 2D shoot-em-up game" +HOMEPAGE="http://linux.tlk.fr/" +SRC_URI="http://linux.tlk.fr/games/Powermanga/download/${P}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=">=media-libs/libsdl-1.2[sound,joystick,video] + media-libs/libpng:0 + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXxf86dga + media-libs/sdl-mixer[mod]" +DEPEND="${RDEPEND}" + +src_prepare() { + local f + for f in src/assembler.S src/assembler_opt.S ; do + einfo "patching $f" + cat <<-EOF >> ${f} + #if defined(__linux__) && defined(__ELF__) + .section .note.GNU-stack,"",%progbits + #endif + EOF + done + epatch "${FILESDIR}"/${P}-flags.patch + sed -i \ + -e "/scoredir/s#/var/games/powermanga#${GAMES_STATEDIR}#" \ + src/Makefile.am || die + eautoreconf +} + +src_configure() { + egamesconf --prefix=/usr +} + +src_install() { + newgamesbin src/powermanga powermanga.bin + doman powermanga.6 + dodoc AUTHORS CHANGES README + + insinto "${GAMES_DATADIR}/powermanga" + doins -r data sounds graphics texts + + find "${D}${GAMES_DATADIR}/powermanga/" -name "Makefil*" -execdir rm -f \{\} + + + insinto "${GAMES_STATEDIR}" + local f + for f in powermanga.hi-easy powermanga.hi powermanga.hi-hard ; do + touch "${D}${GAMES_STATEDIR}/${f}" || die + fperms 660 "${GAMES_STATEDIR}/${f}" + done + + games_make_wrapper powermanga powermanga.bin "${GAMES_DATADIR}/powermanga" + make_desktop_entry powermanga Powermanga + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + ewarn "NOTE: The highscore file format has changed." + ewarn "Older highscores will not be retained." +} |