Gentoo Archives: gentoo-commits

From: "Julian Ospald (hasufell)" <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-action/powermanga: ChangeLog powermanga-0.91.ebuild
Date: Fri, 01 Feb 2013 00:13:10
Message-Id: 20130201001307.302522171E@flycatcher.gentoo.org
1 hasufell 13/02/01 00:13:07
2
3 Modified: ChangeLog
4 Added: powermanga-0.91.ebuild
5 Log:
6 version bump wrt #452296
7
8 (Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
9
10 Revision Changes Path
11 1.25 games-action/powermanga/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/powermanga/ChangeLog?rev=1.25&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/powermanga/ChangeLog?rev=1.25&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/powermanga/ChangeLog?r1=1.24&r2=1.25
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-action/powermanga/ChangeLog,v
20 retrieving revision 1.24
21 retrieving revision 1.25
22 diff -u -r1.24 -r1.25
23 --- ChangeLog 24 Aug 2012 06:59:11 -0000 1.24
24 +++ ChangeLog 1 Feb 2013 00:13:06 -0000 1.25
25 @@ -1,6 +1,13 @@
26 # ChangeLog for games-action/powermanga
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-action/powermanga/ChangeLog,v 1.24 2012/08/24 06:59:11 mr_bones_ Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/games-action/powermanga/ChangeLog,v 1.25 2013/02/01 00:13:06 hasufell Exp $
31 +
32 +*powermanga-0.91 (31 Jan 2013)
33 +
34 + 31 Jan 2013; Julian Ospald <hasufell@g.o> +powermanga-0.91.ebuild,
35 + +files/powermanga-0.91-flags.patch, +files/powermanga-0.91-segfault.patch,
36 + +files/powermanga-0.91-underlink.patch:
37 + version bump wrt #452296
38
39 24 Aug 2012; Michael Sterrett <mr_bones_@g.o> powermanga-0.90.ebuild:
40 any mod support will do
41
42
43
44 1.1 games-action/powermanga/powermanga-0.91.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/powermanga/powermanga-0.91.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/powermanga/powermanga-0.91.ebuild?rev=1.1&content-type=text/plain
48
49 Index: powermanga-0.91.ebuild
50 ===================================================================
51 # Copyright 1999-2013 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/games-action/powermanga/powermanga-0.91.ebuild,v 1.1 2013/02/01 00:13:06 hasufell Exp $
54
55 EAPI=5
56 inherit eutils autotools games
57
58 DESCRIPTION="An arcade 2D shoot-em-up game"
59 HOMEPAGE="http://linux.tlk.fr/"
60 SRC_URI="http://linux.tlk.fr/games/Powermanga/download/${P}.tgz"
61
62 LICENSE="GPL-3"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~x86"
65 IUSE=""
66
67 RDEPEND=">=media-libs/libsdl-1.2[audio,joystick,video]
68 media-libs/libpng:0
69 x11-libs/libX11
70 x11-libs/libXext
71 x11-libs/libXxf86dga
72 media-libs/sdl-mixer[mod]"
73 DEPEND="${RDEPEND}"
74
75 src_prepare() {
76 local f
77 for f in src/assembler.S src/assembler_opt.S ; do
78 einfo "patching $f"
79 cat <<-EOF >> ${f}
80 #if defined(__linux__) && defined(__ELF__)
81 .section .note.GNU-stack,"",%progbits
82 #endif
83 EOF
84 done
85 epatch \
86 "${FILESDIR}"/${P}-underlink.patch \
87 "${FILESDIR}"/${P}-segfault.patch \
88 "${FILESDIR}"/${P}-flags.patch
89 sed -i \
90 -e "/scoredir/s#/var/games/powermanga#${GAMES_DATADIR}/powermanga#" \
91 src/Makefile.am || die
92 eautoreconf
93 }
94
95 src_configure() {
96 egamesconf --prefix=/usr
97 }
98
99 src_install() {
100 newgamesbin src/powermanga powermanga.bin
101 doman powermanga.6
102 dodoc AUTHORS CHANGES README
103
104 insinto "${GAMES_DATADIR}/powermanga"
105 doins -r data sounds graphics texts
106
107 find "${D}${GAMES_DATADIR}/powermanga/" -name "Makefil*" -execdir rm -f \{\} +
108
109 insinto "${GAMES_STATEDIR}"
110 local f
111 for f in powermanga.hi-easy powermanga.hi powermanga.hi-hard ; do
112 touch "${D}${GAMES_STATEDIR}/${f}" || die
113 fperms 660 "${GAMES_STATEDIR}/${f}"
114 done
115
116 games_make_wrapper powermanga powermanga.bin "${GAMES_DATADIR}/powermanga"
117 make_desktop_entry powermanga Powermanga
118 prepgamesdirs
119 }
120
121 pkg_postinst() {
122 games_pkg_postinst
123 ewarn "NOTE: The highscore file format has changed."
124 ewarn "Older highscores will not be retained."
125 }