diff options
Diffstat (limited to 'games-arcade/pengupop')
-rw-r--r-- | games-arcade/pengupop/Manifest | 4 | ||||
-rw-r--r-- | games-arcade/pengupop/files/pengupop-2.2.5-underlink.patch | 20 | ||||
-rw-r--r-- | games-arcade/pengupop/metadata.xml | 11 | ||||
-rw-r--r-- | games-arcade/pengupop/pengupop-2.2.5-r1.ebuild | 55 |
4 files changed, 90 insertions, 0 deletions
diff --git a/games-arcade/pengupop/Manifest b/games-arcade/pengupop/Manifest new file mode 100644 index 000000000000..aa5d8149a56b --- /dev/null +++ b/games-arcade/pengupop/Manifest @@ -0,0 +1,4 @@ +AUX pengupop-2.2.5-underlink.patch 569 BLAKE2B c0f08dbd63f97f58cba1bac6553863250c35036452be487c19e4294dcc5df8a9816acc68087a1f02db3e56c718f95c5da17bc47bc2ab4dd95d2fc77bab95cd48 SHA512 c7dac9f94d99b0ef2e42f8d6e409afaeddb29ef6d85e9b01d3a8b4b6a3e4d73808c909e2dbb7f7d0c30dbcc06ed6d72e304b3dc9ada71aedc782982fa49cc444 +DIST pengupop-2.2.5.tar.gz 1676224 BLAKE2B 5527d956a9ae0d3a2c4a31e2bb5f4059bd79c8c6ab2ccc81b2ec35c698f8e40bbdf7a68b6799bd202f39b2e5d39e690de6e71aa97c6ff307d03679f8aae8f755 SHA512 1886898288cb9b2be949a031bf2baae80332c5ca93bead91ed8c50d0aaea81715cf0eaeb09a63af298e82e1409f9f39527742707839526283e57809484be4abf +EBUILD pengupop-2.2.5-r1.ebuild 956 BLAKE2B d3db85dbf59876d8a40c5a26e530210262118bca9ea5a5aa55a9416870134662af7d3ac98b47ddfe18fa969a11a2e37600627de52e1c12fe0528c5e5981a6caa SHA512 f4bc51a6a69351b62f5903215446384e29048697cdd84346838bb817016566912948c8799e32f973ff33bd64696982a21963a9f33b5ed4ef3ddca3628ee9e366 +MISC metadata.xml 329 BLAKE2B 12f9759170dea648244936ee92bb4c3f3777382ff1bfb6866de215b068e79a3d4c20386c6c98af482c711627fc1c068fef9034c46b4fe2b254d5d220897eb90b SHA512 68b5c8588a25954a6f833ada9d10ddaeb9296618fbb84355d6242f41e5a2ea859b8a677f0cefcaafe10a1465012de6f578c0d794e31dd97fa1f9917451240243 diff --git a/games-arcade/pengupop/files/pengupop-2.2.5-underlink.patch b/games-arcade/pengupop/files/pengupop-2.2.5-underlink.patch new file mode 100644 index 000000000000..fbbb704a6a30 --- /dev/null +++ b/games-arcade/pengupop/files/pengupop-2.2.5-underlink.patch @@ -0,0 +1,20 @@ +--- a/Makefile.am.old 2011-06-14 21:44:40.242317771 +0200 ++++ b/Makefile.am 2011-06-14 21:44:49.216882568 +0200 +@@ -17,7 +17,7 @@ + nodist_pengupop_SOURCES = images.h + + if LINUX +-pengupop_LDADD = -lSDL -lz ++pengupop_LDADD = -lSDL -lz -lm + + endif + if WIN32 +@@ -25,7 +25,7 @@ + endif + if DARWIN + pengupop_LDFLAGS = -framework Carbon -framework CoreServices -framework AudioUnit -framework QuickTime -framework Cocoa -framework IOKit -framework OpenGL -framework SDL SDLMain.m +-pengupop_LDADD = -lz -lstdc++ ++pengupop_LDADD = -lz -lstdc++ -lm + + all-local: Pengupop.dmg + diff --git a/games-arcade/pengupop/metadata.xml b/games-arcade/pengupop/metadata.xml new file mode 100644 index 000000000000..cd8cab841358 --- /dev/null +++ b/games-arcade/pengupop/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="freshmeat">pengupop</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/pengupop/pengupop-2.2.5-r1.ebuild b/games-arcade/pengupop/pengupop-2.2.5-r1.ebuild new file mode 100644 index 000000000000..6938c534c5c9 --- /dev/null +++ b/games-arcade/pengupop/pengupop-2.2.5-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools desktop gnome2-utils + +DESCRIPTION="Networked multiplayer-only Puzzle Bubble clone" +HOMEPAGE="http://freshmeat.net/projects/pengupop" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl[sound,video] + sys-libs/zlib" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + eapply "${FILESDIR}"/${P}-underlink.patch + + sed -i \ + -e '/Icon/s/\.png//' \ + -e '/^Encoding/d' \ + -e '/Categories/s/Application;//' \ + pengupop.desktop || die + + sed -i \ + -e 's/-g -Wall -O2/-Wall/' \ + Makefile.am || die + + mv configure.in configure.ac || die + eautoreconf +} + +src_install() { + default + domenu pengupop.desktop + doicon -s 48 pengupop.png +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |