summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2007-03-14 16:23:27 +0000
committerTristan Heaven <tristan@gentoo.org>2007-03-14 16:23:27 +0000
commit978c708185af470bc802dc701578aa654e22fba8 (patch)
tree540de425d7fd904029b74fd655d4c67fc494eee6 /games-action/spacearyarya-kxl
parentVersion bump, bug 169321 also solves bug 148439 (diff)
downloadhistorical-978c708185af470bc802dc701578aa654e22fba8.tar.gz
historical-978c708185af470bc802dc701578aa654e22fba8.tar.bz2
historical-978c708185af470bc802dc701578aa654e22fba8.zip
Install menu entry, bug #159765
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'games-action/spacearyarya-kxl')
-rw-r--r--games-action/spacearyarya-kxl/ChangeLog6
-rw-r--r--games-action/spacearyarya-kxl/Manifest32
-rw-r--r--games-action/spacearyarya-kxl/files/1.0.2-gentoo-paths.patch61
-rw-r--r--games-action/spacearyarya-kxl/spacearyarya-kxl-1.0.2-r1.ebuild27
4 files changed, 80 insertions, 46 deletions
diff --git a/games-action/spacearyarya-kxl/ChangeLog b/games-action/spacearyarya-kxl/ChangeLog
index 92e81cdd6a53..d18010f7aa38 100644
--- a/games-action/spacearyarya-kxl/ChangeLog
+++ b/games-action/spacearyarya-kxl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-action/spacearyarya-kxl
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/spacearyarya-kxl/ChangeLog,v 1.8 2007/02/08 20:50:12 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/spacearyarya-kxl/ChangeLog,v 1.9 2007/03/14 16:23:27 nyhm Exp $
+
+ 14 Mar 2007; Tristan Heaven <nyhm@gentoo.org>
+ spacearyarya-kxl-1.0.2-r1.ebuild:
+ Install menu entry, bug #159765
08 Feb 2007; Chris Gianelloni <wolf31o2@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/games-action/spacearyarya-kxl/Manifest b/games-action/spacearyarya-kxl/Manifest
index d7eaeef9567d..d103d2ea7c18 100644
--- a/games-action/spacearyarya-kxl/Manifest
+++ b/games-action/spacearyarya-kxl/Manifest
@@ -1,19 +1,19 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX 1.0.2-gentoo-paths.patch 2248 RMD160 70e5c9eb0a4eac066003d21219193904687b42ed SHA1 36e0864dc8d014c768d76dfc5535e6d220e0a26c SHA256 1bc9bb87fa5701aaa06c6df05039b2de6754b43735fbd1e703a3cf3842b6a27f
-MD5 4e95897069bd3e42fc1cffb5b7182705 files/1.0.2-gentoo-paths.patch 2248
-RMD160 70e5c9eb0a4eac066003d21219193904687b42ed files/1.0.2-gentoo-paths.patch 2248
-SHA256 1bc9bb87fa5701aaa06c6df05039b2de6754b43735fbd1e703a3cf3842b6a27f files/1.0.2-gentoo-paths.patch 2248
+AUX 1.0.2-gentoo-paths.patch 2364 RMD160 d46c4b8e512f86c2863eae6df765826e1f730f2e SHA1 640147e2fb38ee06cfa48c0785be0d4a0208ce9e SHA256 e902d6430458be4c68475f5f1a44cb18e54b07b283530e6ef0b3b1f39fabb5d2
+MD5 1f55f1cdce5c1811cf514f5af3f0fd69 files/1.0.2-gentoo-paths.patch 2364
+RMD160 d46c4b8e512f86c2863eae6df765826e1f730f2e files/1.0.2-gentoo-paths.patch 2364
+SHA256 e902d6430458be4c68475f5f1a44cb18e54b07b283530e6ef0b3b1f39fabb5d2 files/1.0.2-gentoo-paths.patch 2364
DIST SpaceAryarya-KXL-1.0.2.tar.gz 279894 RMD160 455516145a9d606d72e4545008e31225200b9557 SHA1 970b42c4d3de03199ecd980eb3077a909416bbee SHA256 54cdcbd299fc5cc618ed88d7729db1a64dd48edefbfe569d5352289a9f11ce63
-EBUILD spacearyarya-kxl-1.0.2-r1.ebuild 833 RMD160 da989d7717c1413d2714421e64cadd9d2c8848e1 SHA1 a0d0fc452d4f5d974b36b9591200f35380dae27b SHA256 4cd2a90f1deeed4afc681bb6be6d14956c2c1a268c0c6a09a1e7f1be20c1216b
-MD5 289a54980b92706ea5cd61075eb544a0 spacearyarya-kxl-1.0.2-r1.ebuild 833
-RMD160 da989d7717c1413d2714421e64cadd9d2c8848e1 spacearyarya-kxl-1.0.2-r1.ebuild 833
-SHA256 4cd2a90f1deeed4afc681bb6be6d14956c2c1a268c0c6a09a1e7f1be20c1216b spacearyarya-kxl-1.0.2-r1.ebuild 833
-MISC ChangeLog 1051 RMD160 815555cd7217c61f973f86677f375f344d83cdf9 SHA1 917498a77b3b5251c6a4c6f0a7fa011d907b64cd SHA256 9562121643f6de282f00f3b4ed33e46aed52b7c801b79fed70aeb48d59bd3095
-MD5 a582eb989a4d531a5b5022afa0d87199 ChangeLog 1051
-RMD160 815555cd7217c61f973f86677f375f344d83cdf9 ChangeLog 1051
-SHA256 9562121643f6de282f00f3b4ed33e46aed52b7c801b79fed70aeb48d59bd3095 ChangeLog 1051
+EBUILD spacearyarya-kxl-1.0.2-r1.ebuild 853 RMD160 fda5a901f6316378d676c974fc3b23bc153a8261 SHA1 18df7a0d7c0fbff0b7654d19c5d2b8d1e3c82ef9 SHA256 b636474223da2cd14814bec4c835b58034d9539ce7d83e5df9b8c7ce4123c067
+MD5 93bc2534c1046de34ff682c2fe03055d spacearyarya-kxl-1.0.2-r1.ebuild 853
+RMD160 fda5a901f6316378d676c974fc3b23bc153a8261 spacearyarya-kxl-1.0.2-r1.ebuild 853
+SHA256 b636474223da2cd14814bec4c835b58034d9539ce7d83e5df9b8c7ce4123c067 spacearyarya-kxl-1.0.2-r1.ebuild 853
+MISC ChangeLog 1166 RMD160 6fc95b9c207e09301bbcb5fdadce46302dc3198d SHA1 0debb1551db7b020696c3deef14f86874c9e57b0 SHA256 4cd098d4ce2f0021a173c414dca59affa213811db131b4c583f8a9d08b412d86
+MD5 7554d0d72efc8af4a9e4b228890c892c ChangeLog 1166
+RMD160 6fc95b9c207e09301bbcb5fdadce46302dc3198d ChangeLog 1166
+SHA256 4cd098d4ce2f0021a173c414dca59affa213811db131b4c583f8a9d08b412d86 ChangeLog 1166
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
@@ -22,9 +22,9 @@ MD5 b89c74fdb2abec16760a658936abf0cd files/digest-spacearyarya-kxl-1.0.2-r1 268
RMD160 4a9b7e50fab0098ca26105cbcdaf7c1996d464b0 files/digest-spacearyarya-kxl-1.0.2-r1 268
SHA256 3900efa76eff8e3b53cb03196e4a7134fe6ead57fa293aaea7861da567bbbfdb files/digest-spacearyarya-kxl-1.0.2-r1 268
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.2 (GNU/Linux)
+Version: GnuPG v2.0.3 (GNU/Linux)
-iD8DBQFFy40KkT4lNIS36YERAhzrAJ4kNsn674CtlZwRPwr6m4+zxtc/+QCeMk0+
-+1q/F4yq140QfdFp+oT0IBU=
-=GJu9
+iD8DBQFF+CGHdz7hIScOURERAr0WAKCzuI8tvb1nLz3c3cGHvqS2W+Ao9ACfRLIS
+mfW68yJEGS1G3YPXNxdS08o=
+=nC7V
-----END PGP SIGNATURE-----
diff --git a/games-action/spacearyarya-kxl/files/1.0.2-gentoo-paths.patch b/games-action/spacearyarya-kxl/files/1.0.2-gentoo-paths.patch
index 27af5b86fd01..197dae5e926f 100644
--- a/games-action/spacearyarya-kxl/files/1.0.2-gentoo-paths.patch
+++ b/games-action/spacearyarya-kxl/files/1.0.2-gentoo-paths.patch
@@ -1,16 +1,14 @@
-diff -ur SpaceAryarya-KXL-1.0.2.orig/bmp/Makefile.am SpaceAryarya-KXL-1.0.2/bmp/Makefile.am
---- SpaceAryarya-KXL-1.0.2.orig/bmp/Makefile.am 2003-12-31 11:56:07.715433088 -0500
-+++ SpaceAryarya-KXL-1.0.2/bmp/Makefile.am 2003-12-31 11:54:45.667906000 -0500
+--- bmp/Makefile.am
++++ bmp/Makefile.am
@@ -1,4 +1,4 @@
-bmpdir = $(prefix)/share/SpaceAryarya/bmp
+bmpdir = $(BMP_PATH)
bmp_DATA = my.bmp enemy1.bmp shot.bmp bomb.bmp\
enemy2.bmp kage.bmp wall.bmp wall2.bmp eshot.bmp\
boss1_b.bmp boss1_do.bmp boss1_f.bmp\
-diff -ur SpaceAryarya-KXL-1.0.2.orig/configure.in SpaceAryarya-KXL-1.0.2/configure.in
---- SpaceAryarya-KXL-1.0.2.orig/configure.in 2003-12-31 11:56:07.687437344 -0500
-+++ SpaceAryarya-KXL-1.0.2/configure.in 2003-12-31 11:55:19.708731000 -0500
-@@ -25,9 +25,9 @@
+--- configure.in
++++ configure.in
+@@ -25,17 +25,20 @@
BMP_PATH=/usr/local/share/SpaceAryarya/bmp
WAV_PATH=/usr/local/share/SpaceAryarya/wav
else
@@ -20,24 +18,55 @@ diff -ur SpaceAryarya-KXL-1.0.2.orig/configure.in SpaceAryarya-KXL-1.0.2/configu
+ DATA_PATH=$datadir/SpaceAryarya/data
+ BMP_PATH=$datadir/SpaceAryarya/bmp
+ WAV_PATH=$datadir/SpaceAryarya/wav
++ SCORE_PATH=$localstatedir/SpaceAryarya
fi
AC_DEFINE_UNQUOTED(DATA_PATH,"$DATA_PATH")
AC_DEFINE_UNQUOTED(BMP_PATH,"$BMP_PATH")
-diff -ur SpaceAryarya-KXL-1.0.2.orig/data/Makefile.am SpaceAryarya-KXL-1.0.2/data/Makefile.am
---- SpaceAryarya-KXL-1.0.2.orig/data/Makefile.am 2003-12-31 11:56:07.691436736 -0500
-+++ SpaceAryarya-KXL-1.0.2/data/Makefile.am 2003-12-31 11:54:55.989337000 -0500
-@@ -1,6 +1,6 @@
+ AC_DEFINE_UNQUOTED(WAV_PATH,"$WAV_PATH")
++AC_DEFINE_UNQUOTED(SCORE_PATH,"$SCORE_PATH")
+ AC_DEFINE_UNQUOTED(TITLE,"$PACKAGE $VERSION")
+ AC_SUBST(DATA_PATH)
+ AC_SUBST(BMP_PATH)
+ AC_SUBST(WAV_PATH)
++AC_SUBST(SCORE_PATH)
+
+ AC_OUTPUT([data/Makefile wav/Makefile bmp/Makefile src/Makefile
+ spacearyarya.spec Makefile])
+--- data/Makefile.am
++++ data/Makefile.am
+@@ -1,6 +1,7 @@
-datadir = $(prefix)/share/SpaceAryarya/data
+datadir = $(DATA_PATH)
data_DATA = stage1.dat stage2.dat
EXTRA_DIST = stage1.dat stage2.dat .score
- install:
+-install:
- $(INSTALL) -c -m 666 ./.score $(DESTDIR)$(DATA_PATH)
-+ $(INSTALL) -c -m 660 ./.score $(DESTDIR)$(DATA_PATH)
-diff -ur SpaceAryarya-KXL-1.0.2.orig/wav/Makefile.am SpaceAryarya-KXL-1.0.2/wav/Makefile.am
---- SpaceAryarya-KXL-1.0.2.orig/wav/Makefile.am 2003-12-31 11:56:07.709434000 -0500
-+++ SpaceAryarya-KXL-1.0.2/wav/Makefile.am 2003-12-31 11:55:04.719010000 -0500
++install-data-local:
++ $(mkinstalldirs) $(DESTDIR)$(SCORE_PATH)
++ $(INSTALL) -m 660 .score $(DESTDIR)$(SCORE_PATH)
+--- src/ranking.c
++++ src/ranking.c
+@@ -36,7 +36,7 @@
+ FILE *fp;
+ Uint16 i;
+
+- if ((fp = fopen(DATA_PATH "/.score", "r"))) {
++ if ((fp = fopen(SCORE_PATH "/.score", "r"))) {
+ fscanf(fp, "%d", &(Root->HiScore));
+ for (i = 0; i < 5; i ++)
+ fscanf(fp, "%d %d %s",
+@@ -65,7 +65,7 @@
+ FILE *fp;
+ Uint16 i;
+
+- if ((fp = fopen(DATA_PATH "/.score", "w"))) {
++ if ((fp = fopen(SCORE_PATH "/.score", "w"))) {
+ fprintf(fp, "%d\n", Root->HiScore);
+ for (i = 0; i < 5; i ++)
+ fprintf(fp, "%d %d %s\n",
+--- wav/Makefile.am
++++ wav/Makefile.am
@@ -1,3 +1,3 @@
-wavdir = $(prefix)/share/SpaceAryarya/wav
+wavdir = $(WAV_PATH)
diff --git a/games-action/spacearyarya-kxl/spacearyarya-kxl-1.0.2-r1.ebuild b/games-action/spacearyarya-kxl/spacearyarya-kxl-1.0.2-r1.ebuild
index b9afc5fe6820..e90035013e31 100644
--- a/games-action/spacearyarya-kxl/spacearyarya-kxl-1.0.2-r1.ebuild
+++ b/games-action/spacearyarya-kxl/spacearyarya-kxl-1.0.2-r1.ebuild
@@ -1,33 +1,34 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/spacearyarya-kxl/spacearyarya-kxl-1.0.2-r1.ebuild,v 1.4 2005/08/11 23:45:01 tester Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/spacearyarya-kxl/spacearyarya-kxl-1.0.2-r1.ebuild,v 1.5 2007/03/14 16:23:27 nyhm Exp $
-inherit eutils games
+inherit autotools eutils games
MY_P=SpaceAryarya-KXL-${PV}
-S="${WORKDIR}/${MY_P}"
DESCRIPTION="A 2D/3D shooting game"
-HOMEPAGE="http://kxl.hn.org/"
-SRC_URI="http://kxl.hn.org/download/${MY_P}.tar.gz"
+HOMEPAGE="http://kxl.orz.hm/"
+SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
-KEYWORDS="~amd64 ppc x86"
LICENSE="GPL-2"
SLOT="0"
+KEYWORDS="~amd64 ppc x86"
IUSE=""
DEPEND=">=dev-games/KXL-1.1.4"
+S=${WORKDIR}/${MY_P}
+
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${PV}-gentoo-paths.patch
- aclocal || die "aclocal failed"
- automake -a || die "automake failed"
- autoconf || die "autoconf failed"
+ cd "${S}"
+ epatch "${FILESDIR}"/${PV}-gentoo-paths.patch
+ eautoreconf
}
src_install() {
- make DESTDIR=${D} install || die "make install failed"
+ emake DESTDIR="${D}" install || die "emake install failed"
+ newicon bmp/enemy1.bmp ${PN}.bmp
+ make_desktop_entry spacearyarya SpaceAryarya /usr/share/pixmaps/${PN}.bmp
dodoc ChangeLog README
prepgamesdirs
}