summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-action/geki3-KXL
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-action/geki3-KXL')
-rw-r--r--games-action/geki3-KXL/Manifest2
-rw-r--r--games-action/geki3-KXL/files/geki3-KXL-1.0.3-paths.patch41
-rw-r--r--games-action/geki3-KXL/geki3-KXL-1.0.3-r2.ebuild44
-rw-r--r--games-action/geki3-KXL/metadata.xml5
4 files changed, 92 insertions, 0 deletions
diff --git a/games-action/geki3-KXL/Manifest b/games-action/geki3-KXL/Manifest
new file mode 100644
index 000000000000..54fd47dda1d3
--- /dev/null
+++ b/games-action/geki3-KXL/Manifest
@@ -0,0 +1,2 @@
+DIST geki3-KXL-1.0.3.tar.gz 695913 SHA256 5308488d3c31731c75d671d9a6b61ebcfc7e97c651a76f0ef869c8aa3a3865f8 SHA512 23433c40bb800fa6da132a87dc89ed18c156dba44f3479be39b00ac48942cbf9e3ae7318149d3184f4ba8c340c937fa44e334dad5c8e800b9906bd26cdd34fd7 WHIRLPOOL 9c826dc2e821e875aacfbb7184faa79920e40672060a2a17c9792caae0b172510441a970f9c15d534da23e380e7eab23233fbfc52c960a2dd436ff66eb6433c6
+DIST geki3-KXL.png 1142 SHA256 9fc2bc6f5abb44c3b863378d13ddc5f892ff284d4ea6092af3bb55bbf78a6046 SHA512 bb78a188954e530638ebf3ded88a8a19402081d071341924f57b3cc1721de523cf099eac2585ea5a5dd0b86e67f68260d469db06408e86aea68e4950526103bd WHIRLPOOL de1bce90c5b7c36fe202a881f4070d0393d39a534586f0378747caef9c8dbad91b3cc373276777d655a03c2ca385d0f258792cfccd3ab82335eef0fd132236cc
diff --git a/games-action/geki3-KXL/files/geki3-KXL-1.0.3-paths.patch b/games-action/geki3-KXL/files/geki3-KXL-1.0.3-paths.patch
new file mode 100644
index 000000000000..039b185d0b1c
--- /dev/null
+++ b/games-action/geki3-KXL/files/geki3-KXL-1.0.3-paths.patch
@@ -0,0 +1,41 @@
+--- bmp/Makefile.am
++++ bmp/Makefile.am
+@@ -1,4 +1,4 @@
+-bmpdir = $(prefix)/share/geki3/bmp
++bmpdir = $(BMP_PATH)
+ bmp_DATA = back1.bmp boss2.bmp enemyshot1.bmp missile.bmp\
+ pata.bmp back2.bmp boss3.bmp enemyshot2.bmp mogu.bmp\
+ pata_ball.bmp back3.bmp boss4.bmp frame.bmp mogu_ball.bmp\
+--- configure.in
++++ configure.in
+@@ -25,9 +25,9 @@
+ BMP_PATH=/usr/local/share/geki3/bmp
+ WAV_PATH=/usr/local/share/geki3/wav
+ else
+- DATA_PATH=$prefix/share/geki3/data
+- BMP_PATH=$prefix/share/geki3/bmp
+- WAV_PATH=$prefix/share/geki3/wav
++ DATA_PATH=$datadir/geki3/data
++ BMP_PATH=$datadir/geki3/bmp
++ WAV_PATH=$datadir/geki3/wav
+ fi
+ AC_DEFINE_UNQUOTED(DATA_PATH,"$DATA_PATH")
+ AC_DEFINE_UNQUOTED(BMP_PATH,"$BMP_PATH")
+--- data/Makefile.am
++++ data/Makefile.am
+@@ -1,6 +1,4 @@
+-datadir = $(prefix)/share/geki3/data
++datadir = $(DATA_PATH)
+ data_DATA = stage1.dat stage2.dat stage3.dat stage4.dat
+ EXTRA_DIST = stage1.dat stage2.dat stage3.dat stage4.dat .score
+
+-install:
+- $(INSTALL) -c -m 666 ./.score $(DESTDIR)$(DATA_PATH)
+--- wav/Makefile.am
++++ wav/Makefile.am
+@@ -1,4 +1,4 @@
+-wavdir = $(prefix)/share/geki3/wav
++wavdir = $(WAV_PATH)
+ wav_DATA = bgm1.wav bgm2.wav bgm3.wav bgm4.wav boom.wav boss.wav go.wav \
+ laser.wav open.wav pow.wav warning.wav
+ EXTRA_DIST = bgm1.wav bgm2.wav bgm3.wav bgm4.wav boom.wav boss.wav go.wav \
diff --git a/games-action/geki3-KXL/geki3-KXL-1.0.3-r2.ebuild b/games-action/geki3-KXL/geki3-KXL-1.0.3-r2.ebuild
new file mode 100644
index 000000000000..06f91689280c
--- /dev/null
+++ b/games-action/geki3-KXL/geki3-KXL-1.0.3-r2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+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 "sed failed"
+ sed -i -e '/CFLAGS/s/$/ @CFLAGS@/' src/Makefile.am || die #bug 426890
+ epatch "${FILESDIR}"/${P}-paths.patch
+ mv configure.{in,ac}
+ eautoreconf
+}
+
+src_install() {
+ default
+ emake DESTDIR="${D}" install
+ insinto "${GAMES_STATEDIR}"
+ newins data/.score ${PN}
+ fperms g+w "${GAMES_STATEDIR}"/${PN}
+ doicon "${DISTDIR}"/${PN}.png
+ make_desktop_entry geki3 Geki3
+ prepgamesdirs
+}
diff --git a/games-action/geki3-KXL/metadata.xml b/games-action/geki3-KXL/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-action/geki3-KXL/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>