summaryrefslogtreecommitdiff
path: root/games-arcade/pachi
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/pachi
reinit the tree, so we can have metadata
Diffstat (limited to 'games-arcade/pachi')
-rw-r--r--games-arcade/pachi/Manifest6
-rw-r--r--games-arcade/pachi/files/1.0-autotools.patch46
-rw-r--r--games-arcade/pachi/metadata.xml15
-rw-r--r--games-arcade/pachi/pachi-1.0.ebuild37
4 files changed, 104 insertions, 0 deletions
diff --git a/games-arcade/pachi/Manifest b/games-arcade/pachi/Manifest
new file mode 100644
index 000000000000..0678f6561cbf
--- /dev/null
+++ b/games-arcade/pachi/Manifest
@@ -0,0 +1,6 @@
+AUX 1.0-autotools.patch 1161 SHA256 4fa5d4f5e5f90bf091667fe4e5f6fb8fc7968f441839bbbb207a0bbafd7fb361 SHA512 45f3818c4bf9a0fae123b11f3641f47be77886eb85849984b1a8fe391ae1b333ee7ac0d5ffe294ee986efe262762d995e2ff5b2786a9dc2c26123c200cfb3c57 WHIRLPOOL d12eef1657c4b6bfe197c6a4eae35f168421f46e5efc3c65340c5cdc90773041593851bde58606da3fff074b1a9a5c1087ce6da129c0274f6502b08f1979c476
+DIST pachi-1.0.tar.bz2 3101484 SHA256 756c8e21a7b497162003932003ec94a85b3ed9f1fa11c944a0d1e931f9d15139 SHA512 9b09baa47ceb051d80ea621d2449afd2d9de959e707d2a1b3119ce8f0c623ebc1afb1678389c647b066fb2211f3f7eb27d713ee33514e2739ba48f9bf14c7952 WHIRLPOOL 665663766f97855b17911184ccee6861391cab3d8512ffc7b0aa9da9e6b1119ad3b6c19fd6ea15c75e14155ae4ebe8d7a2e19d3ea3c95ddb2e586e2636f5f246
+EBUILD pachi-1.0.ebuild 939 SHA256 44063db86aca1a70a8cc459210d3a8f51bd61ce241859b6775dc148798435ef4 SHA512 0965e02db4ffa70de8e10045b5dbb0dd49e3cf2ec415c80746309105447e4968a2e7d43cacaebe0da61e792e5d310649f5671f38c3fa57fe470aafff45662cb6 WHIRLPOOL 3422795cffc61dfea9bb8975a6635e3592966de2fb5344e631fcd8d0ac4184e7a67fac8605f0c38d02056ed3059ca6a65efb715684dfde9029722565c8ba1b76
+MISC ChangeLog 2995 SHA256 bca1fa7f33f7d092df27f32b1abdf11f0175c6bbc42596dea9927269a7d65796 SHA512 f1b840459ad0cab776605884bb01fc4b391852311ae084680585d8f0d134b9fcf824e74018e6a7b6e1149bd1d4b34f672b51b7795ff881edc8000375b632f2cf WHIRLPOOL bf0c7c9122a7a4a64f54b9e8c4d4efc2db07747dca98f1c4a083e8a3d52ed4807762f9263f4351155a56abffd6eb6ae1ae4e911a35cfb3d161fc782501f00ac7
+MISC ChangeLog-2015 1501 SHA256 8f9e85e3b1a7853703e83350192568b9275d2825ed034fb1029b320d10f0e3ae SHA512 a1ac7451e3d723de2b908449c61ce19170918d5dd572fdec07dd13adee2df700982b844d587733af990849bb01c4810c98de8397add4cf93fa49a2924b3a5a20 WHIRLPOOL 3a2d0a718b7d57d11fc8e08e780ebde7f230078fecd68b5e57b83e2804b87a3cc4897260fcef3e10265c3472f5e0b03063c726ee9f7ecde1df717a3dc01bdb16
+MISC metadata.xml 446 SHA256 5a7abe62ba0adc21820e09439d00b8b1e6886e937356c35365ad187a875043a0 SHA512 6fee6e81adbf03902d42fd1f7703d31437d6735d7528079b95047905aea5520e496eb0e41688189f395a00ad458351ef5209371a817f7f76ab9adfc4c6eae862 WHIRLPOOL 8ee79c7a4a666c302ff65620a7e5440d780001d26b087da38aa8d3313595f1ae3085bef5e65c66667e2cbfc117846c33e6ec63e80bc237e9e393c9269dc48f71
diff --git a/games-arcade/pachi/files/1.0-autotools.patch b/games-arcade/pachi/files/1.0-autotools.patch
new file mode 100644
index 000000000000..0d0185f142f3
--- /dev/null
+++ b/games-arcade/pachi/files/1.0-autotools.patch
@@ -0,0 +1,46 @@
+--- configure.in
++++ configure.in
+@@ -1,5 +1,7 @@
+ # Process this file with autoconf to produce a configure script.
++AC_PREREQ([2.54])
+ AC_INIT(src/faes.cpp, 0.1, T-1000@Bigfoot.com)
++AC_CANONICAL_SYSTEM
+ AM_INIT_AUTOMAKE(pachi, 0.1)
+ AM_CONFIG_HEADER(config.h)
+
+@@ -44,7 +46,7 @@
+ SCOREDIR="."
+ else
+ DATADIR="$datadir/$PACKAGE"
+- SCOREDIR="/var/lib/games/$PACKAGE"
++ SCOREDIR="$localstatedir/$PACKAGE"
+ fi
+
+ eval DATAPATH=`eval echo "$DATADIR"`
+--- data/Makefile.am
++++ data/Makefile.am
+@@ -10,13 +10,13 @@
+ objects_v2.dat \
+ rooms_v2.dat
+
+-score_DATA = \
++score_DATA_ = \
+ scores.dat
+
+-EXTRA_DIST = $(dat_DATA) $(score_DATA)
++EXTRA_DIST = $(dat_DATA) $(score_DATA_)
+
+ install-data-local:
+- for file in $(score_DATA); do\
+- chgrp $(group) $(scoredir)/$$file; \
+- chmod $(perms) $(scoredir)/$$file; \
+- done
++ $(mkinstalldirs) $(DESTDIR)$(scoredir)
++ for file in $(score_DATA_); do \
++ $(INSTALL) -g $(group) -m $(perms) $$file $(DESTDIR)$(scoredir); \
++ done
+--- Makefile.am
++++ Makefile.am
+@@ -1 +1 @@
+-SUBDIRS = src Tgfx data fonts music sounds docs
++SUBDIRS = src Tgfx data fonts music sounds
diff --git a/games-arcade/pachi/metadata.xml b/games-arcade/pachi/metadata.xml
new file mode 100644
index 000000000000..58a283b69710
--- /dev/null
+++ b/games-arcade/pachi/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mr_bones_@gentoo.org</email>
+ <name>Michael Sterrett</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">dragontech</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-arcade/pachi/pachi-1.0.ebuild b/games-arcade/pachi/pachi-1.0.ebuild
new file mode 100644
index 000000000000..ad13b6da3c1c
--- /dev/null
+++ b/games-arcade/pachi/pachi-1.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils games
+
+DESCRIPTION="platform game inspired by games like Manic Miner and Jet Set Willy"
+HOMEPAGE="http://dragontech.sourceforge.net/index.php?main=pachi&lang=en"
+# Upstream doesn't version their releases.
+# (should be downloaded and re-compressed with tar -jcvf)
+#SRC_URI="mirror://sourceforge/dragontech/pachi_source.tgz"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl[joystick,sound,video]
+ media-libs/sdl-mixer[mod]"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/Pachi
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PV}-autotools.patch
+ rm -f missing
+ mv configure.in configure.ac || die
+ eautoreconf
+}
+
+src_install() {
+ default
+ newicon Tgfx/icon.bmp ${PN}.bmp
+ make_desktop_entry ${PN} Pachi /usr/share/pixmaps/${PN}.bmp
+ prepgamesdirs
+}