summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-arcade/pacmanarena
downloadgentoo-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/pacmanarena')
-rw-r--r--games-arcade/pacmanarena/Manifest2
-rw-r--r--games-arcade/pacmanarena/files/pacmanarena-0.15-underlink.patch10
-rw-r--r--games-arcade/pacmanarena/metadata.xml8
-rw-r--r--games-arcade/pacmanarena/pacmanarena-0.15.ebuild54
4 files changed, 74 insertions, 0 deletions
diff --git a/games-arcade/pacmanarena/Manifest b/games-arcade/pacmanarena/Manifest
new file mode 100644
index 000000000000..037ab71645c1
--- /dev/null
+++ b/games-arcade/pacmanarena/Manifest
@@ -0,0 +1,2 @@
+DIST pacman-arena-0.15.tar.bz2 100112 SHA256 3f151518f3d4a9595ea03f9ef681e8a8829e88e76fb5d39bab0249906121fc23 SHA512 40e8092cf223d075dbb5654766f095ce57d61ff329aee5dc0f3c95655e3894ac507d8b48014326b7fd9265c81b9340624aaa349641efbdcde55bda0b1098f398 WHIRLPOOL 0fa5baa937ad0a4c3e7a61547e9ebe918d5c3f31bb78c32262a0f26bc8d3ce5a123e4850578d1b40fe4c66efdcceec14b7ce3d91800ddfe0e7f14c2bae6f0ef9
+DIST pacman-data-0.0.zip 11994364 SHA256 7949f080ca0ba4c02d737c5bb365856c3e66f103838329be8c1857d6c297b9b8 SHA512 f3619ab876ff9c0f354fff9e9b0acefaa1a1a094e8ef215fe1b57f617f79540ae87681dae0ec3c1df672615064be345f74e52a6f2f241bfe70d78f5b8c7fadc7 WHIRLPOOL 8e8b71f27a6cd8d1a6cb1bc76d95be12c574afda1016f746b88dfe217606202fad737fe86827ba577984845f1fcf2e39eb63126b415b0834e64a3a82038d5a07
diff --git a/games-arcade/pacmanarena/files/pacmanarena-0.15-underlink.patch b/games-arcade/pacmanarena/files/pacmanarena-0.15-underlink.patch
new file mode 100644
index 000000000000..08c2a54dd1f2
--- /dev/null
+++ b/games-arcade/pacmanarena/files/pacmanarena-0.15-underlink.patch
@@ -0,0 +1,10 @@
+--- configure.ac.old 2011-05-24 08:45:49.197656941 +0200
++++ configure.ac 2011-05-24 08:46:13.685193761 +0200
+@@ -101,6 +101,7 @@
+ AC_CHECK_LIB(GLU, gluNewQuadric, [ LDFLAGS="$LDFLAGS -lGLU" ],
+ [AC_MSG_ERROR([OpenGL libraries not found])
+ ])
++LDFLAGS="$LDFLAGS -lm"
+
+ AC_CONFIG_FILES([Makefile])
+ AC_OUTPUT
diff --git a/games-arcade/pacmanarena/metadata.xml b/games-arcade/pacmanarena/metadata.xml
new file mode 100644
index 000000000000..884b0e2a1b66
--- /dev/null
+++ b/games-arcade/pacmanarena/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="sourceforge">pacmanarena</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-arcade/pacmanarena/pacmanarena-0.15.ebuild b/games-arcade/pacmanarena/pacmanarena-0.15.ebuild
new file mode 100644
index 000000000000..f7a4c744a7be
--- /dev/null
+++ b/games-arcade/pacmanarena/pacmanarena-0.15.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils autotools games
+
+DESCRIPTION="a Pacman clone in full 3D with a few surprises. Rockets, bombs and explosions abound"
+HOMEPAGE="http://pacmanarena.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/pacman-arena-${PV}.tar.bz2
+ mirror://sourceforge/${PN}/pacman-data-0.0.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 x86"
+IUSE=""
+
+RDEPEND="virtual/opengl
+ virtual/glu
+ media-libs/libsdl[sound]
+ media-libs/sdl-mixer[vorbis]
+ media-libs/sdl-net"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S=${WORKDIR}/pacman
+
+src_unpack() {
+ unpack pacman-arena-${PV}.tar.bz2
+ cd "${S}"
+ unpack pacman-data-0.0.zip
+}
+
+src_prepare() {
+ sed -i \
+ -e "/^CFLAGS/ s:pacman:${PN}:" \
+ -e '1i CC=@CC@' \
+ Makefile.in || die
+ sed -i \
+ -e '/CFLAGS/s:-g::' \
+ configure || die
+ epatch "${FILESDIR}"/${P}-underlink.patch
+ eautoreconf
+}
+
+src_install() {
+ newgamesbin pacman ${PN} || die
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r gfx sfx || die
+ newicon gfx/pacman_arena1.tga ${PN}.tga
+ make_desktop_entry ${PN} "Pacman Arena" /usr/share/pixmaps/${PN}.tga
+ dodoc README
+ prepgamesdirs
+}