summaryrefslogtreecommitdiff
path: root/games-puzzle/pipepanic
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-puzzle/pipepanic
reinit the tree, so we can have metadata
Diffstat (limited to 'games-puzzle/pipepanic')
-rw-r--r--games-puzzle/pipepanic/Manifest6
-rw-r--r--games-puzzle/pipepanic/files/pipepanic-0.1.3-gentoo.patch21
-rw-r--r--games-puzzle/pipepanic/metadata.xml8
-rw-r--r--games-puzzle/pipepanic/pipepanic-0.1.3.ebuild41
4 files changed, 76 insertions, 0 deletions
diff --git a/games-puzzle/pipepanic/Manifest b/games-puzzle/pipepanic/Manifest
new file mode 100644
index 000000000000..d80db8b30e29
--- /dev/null
+++ b/games-puzzle/pipepanic/Manifest
@@ -0,0 +1,6 @@
+AUX pipepanic-0.1.3-gentoo.patch 584 SHA256 e71d9c290a37bdeba2f64d2f371e68ff0c944ec65453e2cd6571ea7807df47b1 SHA512 0fef3b79063bcae38412679ce5644d8d119ba3a86b8a752234d97b7009044373f6cda8e983b53864f266e5c00203fb278c61fa44af432014b1aba5a402d41bab WHIRLPOOL 3664c501a42521c612b80d1159bd888848530ba9ad795084f848e37aeabc47294e054d4a56db25d6b3a6a3de90c67a554037418b95b2c158f05d8506b5a5e24e
+DIST pipepanic-0.1.3-source.tar.gz 232200 SHA256 4b02249c92228b03f4cc3c1d999cacf3fe52c16df53c6bf76fc6c1e2caa74318 SHA512 468f3194976c7030c2fa3d8f30eaa13cc25e0b04feeb48a5d1267d119eb991618bad14ddba0a8268e6b92f38f2a17bc5b119728b222b0ee50494807832ad2ab7 WHIRLPOOL bdbef665dcee14b1360d1726701986991f8adbfe4da1a4f429af725bfa74232efc9736ced944ecbd7a6b216a7af39d698a591fa48d2d279875f953f024020af4
+EBUILD pipepanic-0.1.3.ebuild 913 SHA256 0060554d94e3e571edad7620be61dbc37aa19f3ab17307881c9e2ee1638ab638 SHA512 3b46becea6efd4b420d850f38e091d9d2f6c6d77ff1da87b7ffb585ae56523f26104ffc97c47c7b394d03306b192d7336c2ad1b34441eeeadc87af89f4963ccb WHIRLPOOL d1ecd88bc81f87198cc3f1c1b3630adc67d63b1e8ee05d8d1ebb6053c7318498eff7c264cee914b9ddea8f4e7c899f2b602caf5c504f87609b971ea6adafe910
+MISC ChangeLog 2474 SHA256 ee30a0f098153ea0085493f31e23baf06bcf4455475281a980e779806a6243ef SHA512 ad20898d1d5c796cdfc8c405d80ac34d0ef9e05180e02f70dd47f821ef054b730a9644f00e5fcd18ba416285b4da9d6b420d2f1fd26d02829a62f4aad083b66a WHIRLPOOL f2bd50502b00b5268994dbf6f242e58116c92e4a7d61894fb6aff274347256e0255f82f15cbc723553449c729f0d5957dac78644616d3305bc5a8a2eb78b4403
+MISC ChangeLog-2015 917 SHA256 0f1bae5351a165a42d67bec088d9efed6c66c465dc2a792ad0ed46cd5ed52392 SHA512 78d77afc48121a31bfc7e4d8e818d778f06bae9a72b83246d098da0c2a0966f74a3ec656eb23c72fa93cf7d62e8eb88aa01d8801f8a63d05e83048990feb193c WHIRLPOOL a176c9b76721bd094f699ca371f018542b1b03e728a69de37394432e8b3aee645b56c818e68a563ed2020ee161ec0b8a599638170e29da8e8f14b2d2776f0031
+MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088
diff --git a/games-puzzle/pipepanic/files/pipepanic-0.1.3-gentoo.patch b/games-puzzle/pipepanic/files/pipepanic-0.1.3-gentoo.patch
new file mode 100644
index 000000000000..1366b7d341c8
--- /dev/null
+++ b/games-puzzle/pipepanic/files/pipepanic-0.1.3-gentoo.patch
@@ -0,0 +1,21 @@
+diff -ru pipepanic-0.1.3-source.orig/Makefile pipepanic-0.1.3-source/Makefile
+--- pipepanic-0.1.3-source.orig/Makefile 2006-05-16 16:11:29.000000000 -0400
++++ pipepanic-0.1.3-source/Makefile 2009-11-03 13:38:52.109137983 -0500
+@@ -3,15 +3,12 @@
+ TARGET=pipepanic
+
+ # Settings for x86.
+-CC=gcc
+-CFLAGS=-O2 -Wall -pedantic `sdl-config --cflags`
+-LINK=gcc
+-LDFLAGS=
++CFLAGS+=`sdl-config --cflags`
+ LIBS=`sdl-config --libs`
+
+ all:
+ $(CC) $(CFLAGS) -c $(SOURCES)
+- $(LINK) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $(TARGET)
++ $(CC) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $(TARGET)
+
+ .PHONY: clean
+
diff --git a/games-puzzle/pipepanic/metadata.xml b/games-puzzle/pipepanic/metadata.xml
new file mode 100644
index 000000000000..78274e0fa550
--- /dev/null
+++ b/games-puzzle/pipepanic/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>
diff --git a/games-puzzle/pipepanic/pipepanic-0.1.3.ebuild b/games-puzzle/pipepanic/pipepanic-0.1.3.ebuild
new file mode 100644
index 000000000000..30c1bebabaee
--- /dev/null
+++ b/games-puzzle/pipepanic/pipepanic-0.1.3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="A simple pipe connecting game"
+HOMEPAGE="http://www.users.waitrose.com/~thunor/pipepanic/"
+SRC_URI="http://www.users.waitrose.com/~thunor/pipepanic/dload/${P}-source.tar.gz"
+
+LICENSE="GPL-2 FreeArt"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl[video]"
+RDEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${P}-source
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+ # change harcoded data paths to match the install directory
+ sed -i \
+ -e "s:/opt/QtPalmtop/share/pipepanic/:${GAMES_DATADIR}/${PN}/:" \
+ main.h \
+ || die "sed failed"
+}
+
+src_install() {
+ dogamesbin "${PN}"
+
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins *.bmp
+ newicon PipepanicIcon64.png ${PN}.png
+ make_desktop_entry ${PN} "Pipepanic"
+
+ dodoc AUTHORS ChangeLog README
+
+ prepgamesdirs
+}