diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-action/geki2-KXL |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-action/geki2-KXL')
-rw-r--r-- | games-action/geki2-KXL/Manifest | 9 | ||||
-rw-r--r-- | games-action/geki2-KXL/files/geki2-KXL-2.0.3-cflags.patch | 9 | ||||
-rw-r--r-- | games-action/geki2-KXL/files/geki2-KXL-2.0.3-paths.patch | 44 | ||||
-rw-r--r-- | games-action/geki2-KXL/geki2-KXL-2.0.3-r2.ebuild | 41 | ||||
-rw-r--r-- | games-action/geki2-KXL/geki2-KXL-2.0.3-r3.ebuild | 51 | ||||
-rw-r--r-- | games-action/geki2-KXL/metadata.xml | 8 |
6 files changed, 162 insertions, 0 deletions
diff --git a/games-action/geki2-KXL/Manifest b/games-action/geki2-KXL/Manifest new file mode 100644 index 000000000000..3bfb7efc7fc8 --- /dev/null +++ b/games-action/geki2-KXL/Manifest @@ -0,0 +1,9 @@ +AUX geki2-KXL-2.0.3-cflags.patch 343 SHA256 391da173f0a36396d5d126e8c6c85bdef9aa123de10864ec70aca012d11dfbea SHA512 8a3226a158bfff91328b53bb203b5de8cb2d1557dc765d41559679ac2e7ec6bc7c3c6e34793a1229331cb7090b7ecf222e09fc0383792188afd190b5f1634540 WHIRLPOOL 909d579f3c16be501c1cc8b48f4483d175f343f8e16f9d43e530d7e4f0a5952e1d2f1a4c2e9b8a0a6a8c41aff246f27532b9fe34ae428fdbe8bf0d34ae891eb4 +AUX geki2-KXL-2.0.3-paths.patch 1576 SHA256 37d0e94c8ec52cf9e55608e8c595d95290a0da202e51f7f21962ee8de9ab4ddb SHA512 6165f119e3fc5359f4e9b674ca4df3b0f6784f6328262a65b714080f37799c3ccc8271df35e7531f13b907c0a7ab2b0bcc01b08a9887a4e81a5923777d86a4ca WHIRLPOOL c824a596717930699ed08b07e88f66e3f6c925dd827edeabd70622b1eb4ecc8459eb6b40d31fe7995607287237fdd7c7438eefa5e346649aa86f6409c9ad1b2a +DIST geki2-KXL-2.0.3.tar.gz 708419 SHA256 24338682c9a10d5d796ffad352983481c440ee625d713ef4cc9b51b9da0c5391 SHA512 15d97e72f7490b0a1fa32f3ce002f99fe88183664cb3833bb6a2513de26a0dfb0cd2e723c59d0b6bdd9620b200da2e0e7612d44c02fd1be8721441417a9cb3e5 WHIRLPOOL 0b35053f535b4fd88f64bed805b8ef099071e7eed436a341a7ef64f19a7b8bb3e4b622852b3ce513c8909d488134d332720fed58279864ff7740d1490fcdafb1 +DIST geki2-KXL.png 883 SHA256 b4b314907aa0e563a60b25c4ab25d91dab872f4c2110a0ef3e487aa4855793fe SHA512 20d58e6cc3fd5b6283e6042f8660c73b5a938157ab871dd78e7a2ea2c1187ecae63bcfd46b885255181028531ebbba2c2bf93138e311adf7be10026497a85b74 WHIRLPOOL 654fc705a64a6eeacae285bcdfdac1e3e0e691ab3351209b3ce63d15cce9091b384667cbb1034280fb082215feff0675e3fca6884673a37201c74d6aa476d0c3 +EBUILD geki2-KXL-2.0.3-r2.ebuild 902 SHA256 6495de56842821d47e4e65f77bd52ed89b6dcddb579ec9646ac4849ba83a55fe SHA512 3c55d480156f1953b02472e7a50c0dcf69ce97ab0708e3e70cc42bf68c60d3899df7d1867a0335729e455f2ee62c7c9a9a130534dec046cf7a1587946245aecd WHIRLPOOL ee5ef463631e96217678ef60ebae85acd24738db03584b310ff073b0ca79d1de25ef2909451ba2728957fbbd2bbcc16f39679ec230900dbfa66b4a8af5b0c98a +EBUILD geki2-KXL-2.0.3-r3.ebuild 996 SHA256 72e9c560ae177fadb46a0c5a8db9f704934191a850b50780e68e8d030ff4b0a7 SHA512 b8b14bd2da8bf17aa9d78d94cccb854d0da2a49089b70bf9846992623bb721ab27a86e3d9a1019789270bbf4d5a648bf8059ba50a219ee500311a05f92355f7f WHIRLPOOL c8b9f0404f97dbb57109035f37887270cbb93fe75a0bdf9739fad571d28392d1befb9d36bf8e8311678392f54f660ec50b1d45d8f3cee198b201ab9d02367d5b +MISC ChangeLog 2994 SHA256 5fb370c99e9ac3d7804a3ac7fcf27eec0072dac90b1ff4081f38a9d572346519 SHA512 ebe0fb32c4fab012ffc81253165d662b45b5d3e8acd4855757297ad35144f4fe3afe23af9a13d5866f621e973154fbd2c544a3a50deb7d7a7982cff1b8089b46 WHIRLPOOL 1b2d1e99823a35da1e84b26dcf5dcd191b0cba29ee966d9a1dff4d267b95e1befb42e9d0f2f2935bf6c37072de6ddd6e03ee62bdf27e52d3112f977894919452 +MISC ChangeLog-2015 1448 SHA256 280d2ef9fcfb597753b306fec1b5b929a9ec1f6e45ee247a09eab70d7361d148 SHA512 7a056e44827f1cf85881a208c2dc9c2221012f4c7c1a74bf4de8b645565cbae4e3ebd240cdc8831d726f16abaa3360b02efef2c399d6434e5c33e61e1db74157 WHIRLPOOL 65ff45cdbc13d107ae207b23980edd9df93ff6f49174eb5779c232dd65069a8415641d5cc6415a32b7a0ea028a8da0feaf2ffc04b00538674e6ffe6773c188f1 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-action/geki2-KXL/files/geki2-KXL-2.0.3-cflags.patch b/games-action/geki2-KXL/files/geki2-KXL-2.0.3-cflags.patch new file mode 100644 index 000000000000..d00f8d439c80 --- /dev/null +++ b/games-action/geki2-KXL/files/geki2-KXL-2.0.3-cflags.patch @@ -0,0 +1,9 @@ +--- a/src/Makefile.am 2012-11-10 21:50:02.159117541 +0100 ++++ b/src/Makefile.am 2012-11-10 21:50:20.658715770 +0100 +@@ -4,5 +4,5 @@ + boss.h extern.h ranking.h your.h game.h\ + geki2.h load.h opening.h my.h misc.h + +-CFLAGS = @X_CFLAGS@ @KXL_CFLAGS@ ++AM_CFLAGS = @X_CFLAGS@ @KXL_CFLAGS@ + LIBS = @X_LIBS@ -lX11 @KXL_LIBS@ -lKXL 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..22844202bb2c --- /dev/null +++ b/games-action/geki2-KXL/files/geki2-KXL-2.0.3-paths.patch @@ -0,0 +1,44 @@ +--- a/bmp/Makefile.am ++++ b/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\ +--- a/configure.in ++++ b/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") +--- a/data/Makefile.am ++++ b/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) + +--- a/wav/Makefile.am ++++ b/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..37ea228f43c2 --- /dev/null +++ b/games-action/geki2-KXL/geki2-KXL-2.0.3-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils games + +DESCRIPTION="2D length scroll shooting game" +HOMEPAGE="http://triring.net/ps2linux/games/kxl/kxlgames.html" +SRC_URI="mirror://gentoo/${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-adobe-100dpi" + +src_prepare() { + rm -f missing + sed -i \ + -e '1i #include <string.h>' \ + -e "s:DATA_PATH \"/.score\":\"${GAMES_STATEDIR}/${PN}\":" \ + src/ranking.c || die + epatch \ + "${FILESDIR}"/${P}-paths.patch \ + "${FILESDIR}"/${P}-cflags.patch + eautoreconf +} + +src_install() { + default + insinto "${GAMES_STATEDIR}" + newins data/.score ${PN} + fperms g+w "${GAMES_STATEDIR}"/${PN} + doicon "${DISTDIR}"/${PN}.png + make_desktop_entry geki2 Geki2 + prepgamesdirs +} diff --git a/games-action/geki2-KXL/geki2-KXL-2.0.3-r3.ebuild b/games-action/geki2-KXL/geki2-KXL-2.0.3-r3.ebuild new file mode 100644 index 000000000000..fe44b06c04b0 --- /dev/null +++ b/games-action/geki2-KXL/geki2-KXL-2.0.3-r3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools eutils user + +DESCRIPTION="2D length scroll shooting game" +HOMEPAGE="http://triring.net/ps2linux/games/kxl/kxlgames.html" +SRC_URI="mirror://gentoo/${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-adobe-100dpi" + +PATCHES=( + "${FILESDIR}"/${P}-cflags.patch + "${FILESDIR}"/${P}-paths.patch +) + +pkg_setup(){ + enewgroup gamestat 36 +} + +src_prepare() { + default + rm -f missing + sed -i \ + -e '1i #include <string.h>' \ + -e "s:DATA_PATH \"/.score\":\"/var/games/${PN}\":" \ + src/ranking.c || die + eautoreconf +} + +src_install() { + default + + insinto /var/games/ + newins data/.score ${PN} + fowners root:gamestat /var/games/${PN} /usr/bin/geki2 + fperms 660 /var/games/${PN} + fperms 2755 /usr/bin/geki2 + + doicon "${DISTDIR}"/${PN}.png + make_desktop_entry geki2 Geki2 +} diff --git a/games-action/geki2-KXL/metadata.xml b/games-action/geki2-KXL/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-action/geki2-KXL/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +</pkgmetadata> |