summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2008-01-05 21:57:39 +0000
committerTristan Heaven <tristan@gentoo.org>2008-01-05 21:57:39 +0000
commita502062eb3a72ef515fcdf96cc8ee03c65623fc4 (patch)
treeacb14733d044942c9a1d8e0dad2b2dbc4aec6d7c /games-action/geki2-KXL
parentuse laptop useflag as per requests from a few people (diff)
downloadhistorical-a502062eb3a72ef515fcdf96cc8ee03c65623fc4.tar.gz
historical-a502062eb3a72ef515fcdf96cc8ee03c65623fc4.tar.bz2
historical-a502062eb3a72ef515fcdf96cc8ee03c65623fc4.zip
Use autotools eclass, bug #204394; install menu entry, bug #159752; move score file to $GAMES_STATEDIR
Package-Manager: portage-2.1.4_rc14
Diffstat (limited to 'games-action/geki2-KXL')
-rw-r--r--games-action/geki2-KXL/ChangeLog11
-rw-r--r--games-action/geki2-KXL/Manifest30
-rw-r--r--games-action/geki2-KXL/files/digest-geki2-KXL-2.0.3-r26
-rw-r--r--games-action/geki2-KXL/files/geki2-KXL-2.0.3-paths.patch44
-rw-r--r--games-action/geki2-KXL/geki2-KXL-2.0.3-r2.ebuild43
5 files changed, 128 insertions, 6 deletions
diff --git a/games-action/geki2-KXL/ChangeLog b/games-action/geki2-KXL/ChangeLog
index 53cb864d9836..d8cc4b7f400a 100644
--- a/games-action/geki2-KXL/ChangeLog
+++ b/games-action/geki2-KXL/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for games-action/geki2-KXL
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/geki2-KXL/ChangeLog,v 1.7 2006/11/27 01:22:03 blubb Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/geki2-KXL/ChangeLog,v 1.8 2008/01/05 21:57:38 nyhm Exp $
+
+*geki2-KXL-2.0.3-r2 (05 Jan 2008)
+
+ 05 Jan 2008; Tristan Heaven <nyhm@gentoo.org>
+ +files/geki2-KXL-2.0.3-paths.patch, +geki2-KXL-2.0.3-r2.ebuild:
+ Use autotools eclass, bug #204394; install menu entry, bug #159752; move
+ score file to $GAMES_STATEDIR
27 Nov 2006; <blubb@gentoo.org> geki2-KXL-2.0.3-r1.ebuild:
stable on amd64
diff --git a/games-action/geki2-KXL/Manifest b/games-action/geki2-KXL/Manifest
index 73e22a57eaee..d10b0afbf8ac 100644
--- a/games-action/geki2-KXL/Manifest
+++ b/games-action/geki2-KXL/Manifest
@@ -1,16 +1,28 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX 2.0.3-gentoo-paths.patch 2359 RMD160 1c66838841f23bf1d1f7e8d2431d866d14e812d7 SHA1 ddfe1bf5bad6a6e4a740db699ab732aebd6753fa SHA256 722da3ac649fe12af22c8e6147afba09602b30683dfc73455d9e6b7b476ef3fa
MD5 8d4602f475b0a1ba3eac9c3e0c44ce32 files/2.0.3-gentoo-paths.patch 2359
RMD160 1c66838841f23bf1d1f7e8d2431d866d14e812d7 files/2.0.3-gentoo-paths.patch 2359
SHA256 722da3ac649fe12af22c8e6147afba09602b30683dfc73455d9e6b7b476ef3fa files/2.0.3-gentoo-paths.patch 2359
+AUX geki2-KXL-2.0.3-paths.patch 1560 RMD160 0c8d9c4bc0bfd7cb9da6ca47383efb23b887f83f SHA1 2dcee2e4bba94be0ea101c0fed3168046fb02c20 SHA256 ac061631632a38cc070f7c94e0df96d8d8b1fead66c980122c2710fcb380d861
+MD5 8b17f91e7d2ff0980caabccb3b0e4f97 files/geki2-KXL-2.0.3-paths.patch 1560
+RMD160 0c8d9c4bc0bfd7cb9da6ca47383efb23b887f83f files/geki2-KXL-2.0.3-paths.patch 1560
+SHA256 ac061631632a38cc070f7c94e0df96d8d8b1fead66c980122c2710fcb380d861 files/geki2-KXL-2.0.3-paths.patch 1560
DIST geki2-KXL-2.0.3.tar.gz 708419 RMD160 b1c743a0946f16c7934f55ff478d15b5c22e4e06 SHA1 ab529fc358de997d469d28f4b03e31219ad4fc43 SHA256 24338682c9a10d5d796ffad352983481c440ee625d713ef4cc9b51b9da0c5391
+DIST geki2-KXL.png 883 RMD160 79ccfc0ec6a89586c485badda77a5c2377574088 SHA1 50929bc48bece6822f5ba0b68f776f2b46972e92 SHA256 b4b314907aa0e563a60b25c4ab25d91dab872f4c2110a0ef3e487aa4855793fe
EBUILD geki2-KXL-2.0.3-r1.ebuild 794 RMD160 5e0a593513318c3cd90e8b7d28623ebeabd74e63 SHA1 b8092eecf0eb4d450b483f2e193bc8e038b18d35 SHA256 d5a48fdc1e2e01bab1b91401c1c1e5baaf115b6d1de08354d523886a0efc36e7
MD5 cbc3a0ce10c7eaff743f494c0783f4c2 geki2-KXL-2.0.3-r1.ebuild 794
RMD160 5e0a593513318c3cd90e8b7d28623ebeabd74e63 geki2-KXL-2.0.3-r1.ebuild 794
SHA256 d5a48fdc1e2e01bab1b91401c1c1e5baaf115b6d1de08354d523886a0efc36e7 geki2-KXL-2.0.3-r1.ebuild 794
-MISC ChangeLog 899 RMD160 d4b42553d82f2e9ed91ee4206e072864584399f6 SHA1 0b4e52dfd8cb7552452124815714bf95185c7885 SHA256 edfd0e881beb1f94e3bce9fb55daee31aa533b1405e7cbad00e4fd648d28b486
-MD5 b57d53a5a737df04fb6d90739bd3a806 ChangeLog 899
-RMD160 d4b42553d82f2e9ed91ee4206e072864584399f6 ChangeLog 899
-SHA256 edfd0e881beb1f94e3bce9fb55daee31aa533b1405e7cbad00e4fd648d28b486 ChangeLog 899
+EBUILD geki2-KXL-2.0.3-r2.ebuild 1097 RMD160 c0de9bb2fc7dd9b7589f948aeee686411c0a9062 SHA1 7cb0c23afc473292cc61ebcf7685fee76705e211 SHA256 6568dee208247a2628e0a7abe9f2f126fbd9e717a7f0b09e96046867510dc309
+MD5 be6088a3578d97fb71f54db9bb3056c4 geki2-KXL-2.0.3-r2.ebuild 1097
+RMD160 c0de9bb2fc7dd9b7589f948aeee686411c0a9062 geki2-KXL-2.0.3-r2.ebuild 1097
+SHA256 6568dee208247a2628e0a7abe9f2f126fbd9e717a7f0b09e96046867510dc309 geki2-KXL-2.0.3-r2.ebuild 1097
+MISC ChangeLog 1155 RMD160 ced16505eaff6c6c77339baeeab22385643ce6ad SHA1 8ef6ff65dbda8df50258f8b76c51b3e670e0a8a0 SHA256 74cacf78841641b35456beab632775f2020496efe4c603b18a5f456e758034fe
+MD5 df379e8b567271f575c76ea9f48357c3 ChangeLog 1155
+RMD160 ced16505eaff6c6c77339baeeab22385643ce6ad ChangeLog 1155
+SHA256 74cacf78841641b35456beab632775f2020496efe4c603b18a5f456e758034fe ChangeLog 1155
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
@@ -18,3 +30,13 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata
MD5 7b512ea21b5b1f4b9b4a2be62647bb5b files/digest-geki2-KXL-2.0.3-r1 247
RMD160 a7865a2bb3937aa96a739744e45cb1020e935613 files/digest-geki2-KXL-2.0.3-r1 247
SHA256 fd8d5ac2a9071a8b136a1d72aced1787a2a98867db844f1450abc5fc1b05795f files/digest-geki2-KXL-2.0.3-r1 247
+MD5 57d2c7fd7c7d8765349e9e3b02d6ece1 files/digest-geki2-KXL-2.0.3-r2 458
+RMD160 4f129592cd3715436e31ea9e1b2800854b8b269e files/digest-geki2-KXL-2.0.3-r2 458
+SHA256 d68f6873ee8160f6d3cee1606558f2c0b752f758a6fd55d37729aabca6148fee files/digest-geki2-KXL-2.0.3-r2 458
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.8 (GNU/Linux)
+
+iEYEARECAAYFAkd//VgACgkQdz7hIScOURHaMACgsc0XmS3bOp3YnApLjK2lFBbg
+ZswAn3xjj2DVaEVqym6SuoVnKXHlI65o
+=xnGc
+-----END PGP SIGNATURE-----
diff --git a/games-action/geki2-KXL/files/digest-geki2-KXL-2.0.3-r2 b/games-action/geki2-KXL/files/digest-geki2-KXL-2.0.3-r2
new file mode 100644
index 000000000000..a455aae90dc3
--- /dev/null
+++ b/games-action/geki2-KXL/files/digest-geki2-KXL-2.0.3-r2
@@ -0,0 +1,6 @@
+MD5 9bb542ea15a4e6b5f51164c19cc0a674 geki2-KXL-2.0.3.tar.gz 708419
+RMD160 b1c743a0946f16c7934f55ff478d15b5c22e4e06 geki2-KXL-2.0.3.tar.gz 708419
+SHA256 24338682c9a10d5d796ffad352983481c440ee625d713ef4cc9b51b9da0c5391 geki2-KXL-2.0.3.tar.gz 708419
+MD5 5d5d749b9eed9192259b777513d05a61 geki2-KXL.png 883
+RMD160 79ccfc0ec6a89586c485badda77a5c2377574088 geki2-KXL.png 883
+SHA256 b4b314907aa0e563a60b25c4ab25d91dab872f4c2110a0ef3e487aa4855793fe geki2-KXL.png 883
diff --git a/games-action/geki2-KXL/files/geki2-KXL-2.0.3-paths.patch b/games-action/geki2-KXL/files/geki2-KXL-2.0.3-paths.patch
new file mode 100644
index 000000000000..1e4d7dba67d8
--- /dev/null
+++ b/games-action/geki2-KXL/files/geki2-KXL-2.0.3-paths.patch
@@ -0,0 +1,44 @@
+--- bmp/Makefile.am
++++ bmp/Makefile.am
+@@ -1,4 +1,4 @@
+-bmpdir = $(prefix)/share/geki2/bmp
++bmpdir = $(BMP_PATH)
+ bmp_DATA = back1.bmp boss2.bmp enemyshot4.bmp kuru.bmp myshot.bmp back2.bmp\
+ boss3.bmp enemyshot5.bmp mboss.bmp uraura.bmp back3.bmp\
+ boss3laser.bmp flash.bmp uturn.bmp back4.bmp back6.bmp boss6.bmp\
+--- configure.in
++++ configure.in
+@@ -25,9 +25,9 @@
+ BMP_PATH=/usr/local/share/geki2/bmp
+ WAV_PATH=/usr/local/share/geki2/wav
+ else
+- DATA_PATH=$prefix/share/geki2/data
+- BMP_PATH=$prefix/share/geki2/bmp
+- WAV_PATH=$prefix/share/geki2/wav
++ DATA_PATH=$datadir/geki2/data
++ BMP_PATH=$datadir/geki2/bmp
++ WAV_PATH=$datadir/geki2/wav
+ fi
+ AC_DEFINE_UNQUOTED(DATA_PATH,"$DATA_PATH")
+ AC_DEFINE_UNQUOTED(BMP_PATH,"$BMP_PATH")
+--- data/Makefile.am
++++ data/Makefile.am
+@@ -1,9 +1,7 @@
+-datadir = $(prefix)/share/geki2/data
++datadir = $(DATA_PATH)
+ data_DATA = stage1.dat stage2.dat stage3.dat stage4.dat stage5.dat stage6.dat\
+ map1.dat map2.dat map3.dat map4.dat map5.dat map6.dat
+ EXTRA_DIST = stage1.dat stage2.dat stage3.dat stage4.dat stage5.dat stage6.dat\
+ map1.dat map2.dat map3.dat map4.dat map5.dat map6.dat .score
+
+-install:
+- $(INSTALL) -c -m 666 ./.score $(DESTDIR)$(DATA_PATH)
+
+--- wav/Makefile.am
++++ wav/Makefile.am
+@@ -1,4 +1,4 @@
+-wavdir = $(prefix)/share/geki2/wav
++wavdir = $(WAV_PATH)
+ wav_DATA = bgm1.wav bgm2.wav bgm3.wav bgm4.wav bgm5.wav\
+ bomb.wav laser5.wav warning.wav boss.wav open.wav\
+ laser.wav pow.wav go.wav bgm6.wav
diff --git a/games-action/geki2-KXL/geki2-KXL-2.0.3-r2.ebuild b/games-action/geki2-KXL/geki2-KXL-2.0.3-r2.ebuild
new file mode 100644
index 000000000000..4aaa97897d15
--- /dev/null
+++ b/games-action/geki2-KXL/geki2-KXL-2.0.3-r2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/geki2-KXL/geki2-KXL-2.0.3-r2.ebuild,v 1.1 2008/01/05 21:57:38 nyhm Exp $
+
+inherit autotools eutils games
+
+DESCRIPTION="2D length scroll shooting game"
+HOMEPAGE="http://kxl.hn.org/"
+SRC_URI="http://kxl.hn.org/download/${P}.tar.gz
+ mirror://gentoo/${PN}.png"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-games/KXL"
+RDEPEND="${DEPEND}
+ media-fonts/font-bitstream-75dpi"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ rm -f missing
+ sed -i \
+ -e '1i #include <string.h>' \
+ -e "s:DATA_PATH \"/.score\":\"${GAMES_STATEDIR}/${PN}\":" \
+ src/ranking.c \
+ || die "sed failed"
+ epatch "${FILESDIR}"/${P}-paths.patch
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ insinto "${GAMES_STATEDIR}"
+ newins data/.score ${PN} || die "newins failed"
+ fperms g+w "${GAMES_STATEDIR}"/${PN}
+ doicon "${DISTDIR}"/${PN}.png
+ make_desktop_entry geki2 Geki2
+ dodoc ChangeLog README
+ prepgamesdirs
+}