diff options
Diffstat (limited to 'games-arcade/pacmanarena')
-rw-r--r-- | games-arcade/pacmanarena/Manifest | 5 | ||||
-rw-r--r-- | games-arcade/pacmanarena/files/pacmanarena-0.15-underlink.patch | 10 | ||||
-rw-r--r-- | games-arcade/pacmanarena/metadata.xml | 11 | ||||
-rw-r--r-- | games-arcade/pacmanarena/pacmanarena-0.15-r1.ebuild | 56 |
4 files changed, 82 insertions, 0 deletions
diff --git a/games-arcade/pacmanarena/Manifest b/games-arcade/pacmanarena/Manifest new file mode 100644 index 000000000000..3cc584225bec --- /dev/null +++ b/games-arcade/pacmanarena/Manifest @@ -0,0 +1,5 @@ +AUX pacmanarena-0.15-underlink.patch 317 BLAKE2B e0cd8d59918c75a149abf32b5d1979d29ed15189c57a4e13858442de826cb23aa2abb094c03055481cfb1dc750d01967b115e56ca032d275d6a37d7dfc282e80 SHA512 afffb103e4394f7cd367e4fe1b2acab034786539b025f6d86118bbf88610b49cb60975ba92be0534fb025def49973e3442df325a00fd11b742c765cbcd2611e1 +DIST pacman-arena-0.15.tar.bz2 100112 BLAKE2B c4324ec83ad5033a40061935c8cfe982b4f36e7e466fbd10e836728fd0cdf01bda812a86f9cdfbd33c2a4f67b577026a836390e9ce61953372aab7dcded6aa19 SHA512 40e8092cf223d075dbb5654766f095ce57d61ff329aee5dc0f3c95655e3894ac507d8b48014326b7fd9265c81b9340624aaa349641efbdcde55bda0b1098f398 +DIST pacman-data-0.0.zip 11994364 BLAKE2B cc83c490387bfe859bb7e41068c00ea4c4f7fd4ed8ab718cff3d1fbb6c5eb5590837eb73b43a6b3be8cd76e3ef8f8b6b3ca8229a2bb645c48580cc302f02b88e SHA512 f3619ab876ff9c0f354fff9e9b0acefaa1a1a094e8ef215fe1b57f617f79540ae87681dae0ec3c1df672615064be345f74e52a6f2f241bfe70d78f5b8c7fadc7 +EBUILD pacmanarena-0.15-r1.ebuild 1156 BLAKE2B fcc651259b78970cbb6265d264a7774d0eebe55edd0a5c60ac313a6eceec221c71ecd255cc7a3ba355226e76f6cfbab3ee8700cc7829b61d9f6a88576d6404da SHA512 9140cc8a57f6873d8f858b949e8169e9b91204906e50b3f3cd745056ab68cd93075321345aceb943d9120a1a232537d107b55c42ba1354a7cfc51ba0fe59c601 +MISC metadata.xml 334 BLAKE2B 034963dd5af81911ac555bc717bbedf63c92413161b71d0771774ee6ad88317aaccfdee893c17a8a630a14aad726fc7dc9acbb19383b21468dd29f3b768e6780 SHA512 0ac8a4136638b425aa6122eaedb145adde764ecbe83e0388800c1f690abb27be59dd9b49933849e56111df0fc9741d71d8fe580f923bc6bf504ea8c66bd523c9 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..6c32d8793be7 --- /dev/null +++ b/games-arcade/pacmanarena/files/pacmanarena-0.15-underlink.patch @@ -0,0 +1,10 @@ +--- a/configure.ac.old 2011-05-24 08:45:49.197656941 +0200 ++++ b/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..45f414393de5 --- /dev/null +++ b/games-arcade/pacmanarena/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">pacmanarena</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/pacmanarena/pacmanarena-0.15-r1.ebuild b/games-arcade/pacmanarena/pacmanarena-0.15-r1.ebuild new file mode 100644 index 000000000000..e803d7748359 --- /dev/null +++ b/games-arcade/pacmanarena/pacmanarena-0.15-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools desktop + +DESCRIPTION="3D Pacman clone 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() { + default + sed -i \ + -e "/^CFLAGS/ s:pacman:${PN}:" \ + -e '1i CC=@CC@' \ + Makefile.in || die + sed -i \ + -e '/CFLAGS/s:-g::' \ + configure || die + eapply "${FILESDIR}"/${P}-underlink.patch + eautoreconf +} + +src_install() { + newbin pacman ${PN} + insinto /usr/share/${PN} + doins -r gfx sfx + newicon gfx/pacman_arena1.tga ${PN}.tga + make_desktop_entry ${PN} "Pacman Arena" /usr/share/pixmaps/${PN}.tga + einstalldocs +} |