diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-arcade/pachi | |
download | gentoo-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-arcade/pachi')
-rw-r--r-- | games-arcade/pachi/Manifest | 1 | ||||
-rw-r--r-- | games-arcade/pachi/files/1.0-autotools.patch | 46 | ||||
-rw-r--r-- | games-arcade/pachi/metadata.xml | 9 | ||||
-rw-r--r-- | games-arcade/pachi/pachi-1.0.ebuild | 38 |
4 files changed, 94 insertions, 0 deletions
diff --git a/games-arcade/pachi/Manifest b/games-arcade/pachi/Manifest new file mode 100644 index 000000000000..8800305c6ad2 --- /dev/null +++ b/games-arcade/pachi/Manifest @@ -0,0 +1 @@ +DIST pachi-1.0.tar.bz2 3101484 SHA256 756c8e21a7b497162003932003ec94a85b3ed9f1fa11c944a0d1e931f9d15139 SHA512 9b09baa47ceb051d80ea621d2449afd2d9de959e707d2a1b3119ce8f0c623ebc1afb1678389c647b066fb2211f3f7eb27d713ee33514e2739ba48f9bf14c7952 WHIRLPOOL 665663766f97855b17911184ccee6861391cab3d8512ffc7b0aa9da9e6b1119ad3b6c19fd6ea15c75e14155ae4ebe8d7a2e19d3ea3c95ddb2e586e2636f5f246 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..b4647c10eaf6 --- /dev/null +++ b/games-arcade/pachi/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +<maintainer> +<email>mr_bones_@gentoo.org</email> +<name>Michael Sterrett</name> +</maintainer> +</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..eb5f07833f36 --- /dev/null +++ b/games-arcade/pachi/pachi-1.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 ppc 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 +} |