summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/grande-KXL')
-rw-r--r--games-arcade/grande-KXL/Manifest1
-rw-r--r--games-arcade/grande-KXL/files/grande-KXL-0.6-cflags.patch17
-rw-r--r--games-arcade/grande-KXL/files/grande-KXL-0.6-configure.in.patch17
-rw-r--r--games-arcade/grande-KXL/grande-KXL-0.6.ebuild33
-rw-r--r--games-arcade/grande-KXL/metadata.xml5
5 files changed, 73 insertions, 0 deletions
diff --git a/games-arcade/grande-KXL/Manifest b/games-arcade/grande-KXL/Manifest
new file mode 100644
index 000000000000..c21f5ed6c8d0
--- /dev/null
+++ b/games-arcade/grande-KXL/Manifest
@@ -0,0 +1 @@
+DIST grande-KXL-0.6.tar.gz 240869 SHA256 5f85f2f5026f815eb68b58aa3e29615f5ed393ad207c33ef3617c934c07257e4 SHA512 17916e54b2b2bad25d789bc3d4f182f3f104fd4e5cf7b745bb9613f76ec04a2a3d2740ca89b507ecdb653f1d42b793115e76b5b34d53b96fec3d55574632b980 WHIRLPOOL d24954b838d4fa6aaa8ac55bfe274bcb7b14ba34b308f17153193741bab485c8e3d01e14600e592a716a9e24931fde790d56df17be8f583eb779dc5efd282bbe
diff --git a/games-arcade/grande-KXL/files/grande-KXL-0.6-cflags.patch b/games-arcade/grande-KXL/files/grande-KXL-0.6-cflags.patch
new file mode 100644
index 000000000000..ff51e562bcb3
--- /dev/null
+++ b/games-arcade/grande-KXL/files/grande-KXL-0.6-cflags.patch
@@ -0,0 +1,17 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Wed Aug 8 19:37:19 UTC 2012
+Subject: build system
+
+respect CFLAGS
+
+--- src/Makefile.am
++++ src/Makefile.am
+@@ -8,7 +8,7 @@
+
+ SUBDIRS = bmp wav stg
+
+-CFLAGS = @X_CFLAGS@ @KXL_CFLAGS@ @INST_FLAG@ @SCORE_FLAG@
++AM_CFLAGS = @X_CFLAGS@ @KXL_CFLAGS@ @INST_FLAG@ @SCORE_FLAG@
+ LIBS = @X_LIBS@ -lX11 @KXL_LIBS@ -lKXL
+
+ install-data-local:
diff --git a/games-arcade/grande-KXL/files/grande-KXL-0.6-configure.in.patch b/games-arcade/grande-KXL/files/grande-KXL-0.6-configure.in.patch
new file mode 100644
index 000000000000..80cdcd83b898
--- /dev/null
+++ b/games-arcade/grande-KXL/files/grande-KXL-0.6-configure.in.patch
@@ -0,0 +1,17 @@
+--- configure.in
++++ configure.in
+@@ -17,12 +17,8 @@
+ AC_CHECK_HEADERS(unistd.h)
+
+ dnl installation & score path
+-if test "x${prefix}" = "xNONE"; then
+- inst_path="${ac_default_prefix}/games/grande"
+-else
+- inst_path="${prefix}/games/grande"
+-fi
+-score_path="/var/games"
++inst_path="${datadir}/grande"
++score_path="${localstatedir}"
+
+ dnl check if installation was disabled
+ AC_ARG_ENABLE( install,
diff --git a/games-arcade/grande-KXL/grande-KXL-0.6.ebuild b/games-arcade/grande-KXL/grande-KXL-0.6.ebuild
new file mode 100644
index 000000000000..46417cc1a673
--- /dev/null
+++ b/games-arcade/grande-KXL/grande-KXL-0.6.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+inherit autotools eutils games
+
+DESCRIPTION="ZANAC type game"
+HOMEPAGE="http://triring.net/ps2linux/games/kxl/kxlgames.html"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE=""
+
+DEPEND="dev-games/KXL"
+RDEPEND="${DEPEND}
+ media-fonts/font-adobe-100dpi"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-{configure.in,cflags}.patch
+ mv configure.{in,ac}
+ rm aclocal.m4
+ eautoreconf
+}
+
+src_install() {
+ dodir "${GAMES_STATEDIR}"
+ default
+ newicon src/bmp/boss1.bmp ${PN}.bmp
+ make_desktop_entry grande Grande /usr/share/pixmaps/${PN}.bmp
+ prepgamesdirs
+}
diff --git a/games-arcade/grande-KXL/metadata.xml b/games-arcade/grande-KXL/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-arcade/grande-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>