summaryrefslogtreecommitdiff
path: root/games-arcade/blockrage
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-arcade/blockrage
reinit the tree, so we can have metadata
Diffstat (limited to 'games-arcade/blockrage')
-rw-r--r--games-arcade/blockrage/Manifest6
-rw-r--r--games-arcade/blockrage/blockrage-0.2.3.ebuild29
-rw-r--r--games-arcade/blockrage/files/blockrage-0.2.3-config.patch30
-rw-r--r--games-arcade/blockrage/metadata.xml14
4 files changed, 79 insertions, 0 deletions
diff --git a/games-arcade/blockrage/Manifest b/games-arcade/blockrage/Manifest
new file mode 100644
index 000000000000..2abe8afa1f5a
--- /dev/null
+++ b/games-arcade/blockrage/Manifest
@@ -0,0 +1,6 @@
+AUX blockrage-0.2.3-config.patch 949 SHA256 7b664a789dea52131a757c7457672c7e2e6192a11f2c67571853ce9eadbff950 SHA512 41b9446bbd0f1a5f0c9c740a3208ed01ec0f6b80bbce0c68e4e24b05b6e5c3bd22a308bc2ef72969dab95faffe20a9456a07e62e110378b4ad2034f9f7676f16 WHIRLPOOL 256b634f6c9be5438a63697090e61d30e5c964774bb0174b1a6ea938c214005c454fa5750b784e01ad08aa5921cd0a28a1e227bd5be9c25ed2c0eaf0d4769632
+DIST blockrage-0.2.3.tar.gz 75620 SHA256 f9722e519fb74be2ecb9377fd2470c94382088a67df33acea215fd0a5a0b4cb6 SHA512 20ad63cb75f6f3afe482b54c5dc0487615ed9ac9a43fa3819b1da43f343c8dde6c3eb817b46b586bbfdca6ad9c9e9cb3c220f5ab536397e407250daf9fd61aa2 WHIRLPOOL 897bb7ea402ca0b79cf1246bc157853575664f22219518d905418bf838e47c31531e64a508028e3e22319e49a4cd2534482abe8affeaa4caf38875e2510a7366
+EBUILD blockrage-0.2.3.ebuild 616 SHA256 920f96e57852d397b3f6161fe028e50de7827dd183846dbc1d7a2f958b682522 SHA512 cd4a265b2fda44bf587f4d4af24732b91c6148ffc5965faaf0e3b70eea01d1ef08cd735524d760eb54e01b5f2646fc225ce7aaedc2d095e487f7d5dc929d4655 WHIRLPOOL b46c3c04f5e9e0fe4502351b18b229b7300e0b18c5d8ded6d9dd440495b5bd60dc17f4fb5bb6160d975894798ef2e3d5d136c872a2d363c1edcff8a7aa058ba4
+MISC ChangeLog 2619 SHA256 8cb1f63fa5c1c4f18f7ecc86b1abf0bda3e13e997bb1b7a35aeef0eef0734e99 SHA512 d7e08f55734e1d33487f4950341fe7a1da376c4dfe8992311b100c6bacb16e83008660bdb032b72a07da61841dd07b46335b72d40438b6bf3a2fe288b9bcdabb WHIRLPOOL 61141051281d3fbf3b4435c45a24c528e54e88cbda0ca20b67e5177d00238dbbcc080f69b5bfde96cc39860ca2751e6298cdabb7ff495a5b09d22e3ff2d31f68
+MISC ChangeLog-2015 1315 SHA256 f34233c050603062677e67a6b787dd58fa5834a6ca0aac8a6ef796baef94cfee SHA512 5a244c5688b705aa702e1eab868d8044b6ca05b18126b8bbbd3bbccb5fa3982ca6b1b2a0f76082515a770f20f62c11721f5c0b6680a1019d4bfbe91e68c5044b WHIRLPOOL 6ff258896263c36fd79c45ba363f74617ac824ee48d6cfbaeb1e659c9b8c43e2a45556b3265dcbe0b9e17870eb5859f75bf523ad19cd14de74ae6d510e69410c
+MISC metadata.xml 448 SHA256 8f11ca98c1133f1a91ababf8e39f652b2feb051c307103799a3fc8949e6d3558 SHA512 803f6a13513f89d982db1995fc96d8a9f430b2fd23fedc7dd63da2a2b864326108ce2156ae0a7432afb1fbffe8588db9b3b3b81f8ede2e3c62eb8675e2356101 WHIRLPOOL ace64b25148c047f04bc9797088da224323e51c9a989adf43fe81b5be5d7413f75ae88e6245534385c3e83ee21215c41df7c21074394e50f1dad3a8ba7e05ff6
diff --git a/games-arcade/blockrage/blockrage-0.2.3.ebuild b/games-arcade/blockrage/blockrage-0.2.3.ebuild
new file mode 100644
index 000000000000..11dc84a87fd4
--- /dev/null
+++ b/games-arcade/blockrage/blockrage-0.2.3.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="Falling-blocks arcade game with a 2-player hotseat mode"
+HOMEPAGE="http://blockrage.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl[video]"
+RDEPEND=${DEPEND}
+
+# Removing error due to wrong detection of cross-compile mode
+DOCS=( ChangeLog KNOWN_BUGS README TODO )
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}"-config.patch
+}
+
+src_install() {
+ default
+ prepgamesdirs
+}
diff --git a/games-arcade/blockrage/files/blockrage-0.2.3-config.patch b/games-arcade/blockrage/files/blockrage-0.2.3-config.patch
new file mode 100644
index 000000000000..dc1875fc28e8
--- /dev/null
+++ b/games-arcade/blockrage/files/blockrage-0.2.3-config.patch
@@ -0,0 +1,30 @@
+--- configure
++++ configure
+@@ -40,7 +40,7 @@
+ SOUND_OPT=
+
+ MYCC=gcc
+-MYCFLAGS='-s -O2 -Wall `sdl-config --cflags`'" $SOUND_OPT -DSYSCONFDIR=\\\"\${sysconfdir}/\${progname}\\\""
++MYCFLAGS='-Wall `sdl-config --cflags`'" $SOUND_OPT -DSYSCONFDIR=\\\"\${sysconfdir}/\${progname}\\\""
+
+ if test -z "$CC" ; then
+ CC="$MYCC";
+@@ -75,7 +75,6 @@
+ --build=*) build_alias="$cfg_optarg";;
+ --host=*) if test ."$build_alias" != ."$cfg_optarg" ; then
+ printf "configure: cross-compiling not supported\n" >&2
+- exit 1
+ fi;;
+
+ --bindir=*) bindir="$cfg_optarg";;
+--- src/Makefile.in
++++ src/Makefile.in
+@@ -1,7 +1,7 @@
+ OBJS = main.o gfxout.o gfxlib.o menus.o keyboard.o bg.o sound.o global.o timer.o
+
+ $(progname)$(XSUF): $(OBJS)
+- gcc -s -o $(progname)$(XSUF) $(OBJS) $(LIBS)
++ $(CC) $(CFLAGS) -o $(progname)$(XSUF) $(OBJS) $(LIBS) $(LDFLAGS)
+
+ bg.o: bg.c bg.h global.h main.h
+ gfxlib.o: gfxlib.c gfxlib.h global.h gfxout.h
diff --git a/games-arcade/blockrage/metadata.xml b/games-arcade/blockrage/metadata.xml
new file mode 100644
index 000000000000..13e8bd0d6026
--- /dev/null
+++ b/games-arcade/blockrage/metadata.xml
@@ -0,0 +1,14 @@
+<?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>
+ <longdescription lang="en">
+An arcade game with addictive gameplay and a 2-player hotseat mode.
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">blockrage</remote-id>
+ </upstream>
+</pkgmetadata>