summaryrefslogtreecommitdiff
path: root/games-puzzle/gnurobbo
diff options
context:
space:
mode:
Diffstat (limited to 'games-puzzle/gnurobbo')
-rw-r--r--games-puzzle/gnurobbo/Manifest6
-rw-r--r--games-puzzle/gnurobbo/files/gnurobbo-0.66-underlink.patch18
-rw-r--r--games-puzzle/gnurobbo/gnurobbo-0.66.ebuild41
-rw-r--r--games-puzzle/gnurobbo/metadata.xml11
4 files changed, 76 insertions, 0 deletions
diff --git a/games-puzzle/gnurobbo/Manifest b/games-puzzle/gnurobbo/Manifest
new file mode 100644
index 000000000000..b9257c6f7660
--- /dev/null
+++ b/games-puzzle/gnurobbo/Manifest
@@ -0,0 +1,6 @@
+AUX gnurobbo-0.66-underlink.patch 854 SHA256 7cafac863a650c0f76aff1912ad4011f99b81ac9a1178db7fe5eac5a4d76862f SHA512 ceb1b173aec2302de8639cd150cae038e14454bf82cdd2389c2c6a183c17e74090c1e1af9023a54d8d53e233ddb996b1ecb73403caba2962508e2f791012b355 WHIRLPOOL 8f6db34683019f938448256368a4ff9c3c706393749979bea38d99717e2a509315920d528c30f3947cf8882de116ea30c206a630a42017c573259f16f91019f2
+DIST gnurobbo-0.66-source.tar.gz 1765034 SHA256 54d2418f49e52b8f49631eb93af7789074b628d308a6d26b00cc795ad0b04d89 SHA512 5f217ba87e8d1c56d9630cca44bde8d405c93929ebb1722c80955fceedec93a5e02ab3dbafd557c3cbedd63a97a73abe6e8aeff115931844a11f6cc1dd00533c WHIRLPOOL f51fd6d27b73dea701d7f3e1b520012f7dafbb40003550c67e34e6c6c46ecf7e910bfb1648b86c9d471d908168a97dded4b042f76f046484eb0d685a651c4e28
+EBUILD gnurobbo-0.66.ebuild 960 SHA256 508b47ff0211ad303cd8c76e1307dcea59268fb5f0b5ad09325da3553e6667d3 SHA512 aabf823f9d9621a4143c5da601f5d7a997a624f0a142f26f6eba0a6e2a167a3b4e0857f4474b03a1f45963d8170e9cadfd265ad352e4ca0ea23ba32cc89803e2 WHIRLPOOL a0ab75dd33c06d8b4d4572a383415242eed82fc808ab2b39dbd4f3059b9240e348bedb06c2ec106b68e3ac6900e1d6e42e148fa65d97210e1d34d761e2a6e666
+MISC ChangeLog 2613 SHA256 4bd50143fe9a0c22061470ed465c436ba18b03d8a5ce58a74e84a9d20cba7112 SHA512 188cf857718f6d4c566b1c9839863c8e26deb81dbd48575d20992867b426c3852c0f1594b751294792eb83e2c726fd7c89468936dc3ae375a8fafdbff2934628 WHIRLPOOL 7ea1a85df22275f5090ffcb93622b07cbbbb628574fca3e3fe0496568ae20f52b630aa60b82aad7586c5ade1911d41f0f00ad0d487ef2de492c8c6eb7f960a30
+MISC ChangeLog-2015 3134 SHA256 e3e34a73730fcec3ec4053cc0c0128e3f2726e7590e334538eff87b40a2e5f69 SHA512 1f8bbd1937f369b1af9d9d8522813cc8df37d45101a4ffa702c8cc63bc1b13c9a9c8b342c7d56955bba688e34cf65ea288f424c7868b2234bb10815d28218785 WHIRLPOOL 717646db750a452c78c2afb33bd51d47592ea1257609eb0be12499fd60cf1172ad4fae38919aed269ce25b99f04c747b3409cacfc041cbc780e8295c8454c93d
+MISC metadata.xml 331 SHA256 be132af6d6e2a7649e1dfeb0f13db56252471044a91634957d3889bae2119ead SHA512 56663c15b5d9135317f5cfdef851959613abd44ced462fc3429540a76be55970f831bfc284d2fe06ace79ea98586109bc64489ba9d12fab9a0909186f40365da WHIRLPOOL ea9df6d2cff93ac79b85296bb31a71c966f0760a36d41f208d32b7ee9bf78b9973d9aa1f24131ab8fd42b7eaa58277d0654cc66d75cc5e6cebbe45b8c4b31f10
diff --git a/games-puzzle/gnurobbo/files/gnurobbo-0.66-underlink.patch b/games-puzzle/gnurobbo/files/gnurobbo-0.66-underlink.patch
new file mode 100644
index 000000000000..9034a6fac0e2
--- /dev/null
+++ b/games-puzzle/gnurobbo/files/gnurobbo-0.66-underlink.patch
@@ -0,0 +1,18 @@
+--- Makefile.old 2011-06-20 21:19:49.578922392 +0200
++++ Makefile 2011-06-20 21:20:28.535421648 +0200
+@@ -39,14 +39,13 @@
+ CFLAGS?=-O3 -pipe
+ CFLAGS+=-Wall `$(SDL_CONFIG) --cflags` -DPLATFORM_PC -DVERSION=\"$(VERSION)\" \
+ -DPACKAGE_DATA_DIR=\"$(PACKAGE_DATA_DIR)\" $(FONT_USE_PIXMAP) $(MUSIC) $(DESIGNER)
+-LDFLAGS=
+ # Use these instead for debugging and/or profiling (mainly intended for GNU Robbo developers)
+ #CFLAGS?=-O0 -pipe -g -pg
+ #CFLAGS+=-Wall `$(SDL_CONFIG) --cflags` -DPLATFORM_PC -DVERSION=\"$(VERSION)\" \
+ # -DPACKAGE_DATA_DIR=\"$(PACKAGE_DATA_DIR)\" $(FONT_USE_PIXMAP) $(MUSIC) $(DESIGNER)
+ #LDFLAGS=-pg
+ LINK=$(CC)
+-LIBS=`$(SDL_CONFIG) --libs` -lSDL_image -lSDL_mixer $(FONT_USE_SDL_TTF)
++LIBS=`$(SDL_CONFIG) --libs` -lSDL_image -lSDL_mixer $(FONT_USE_SDL_TTF) -lm
+
+ # You won't need to alter anything below
+ all: $(SOURCES) $(TARGET)
diff --git a/games-puzzle/gnurobbo/gnurobbo-0.66.ebuild b/games-puzzle/gnurobbo/gnurobbo-0.66.ebuild
new file mode 100644
index 000000000000..5f2da4041d8c
--- /dev/null
+++ b/games-puzzle/gnurobbo/gnurobbo-0.66.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="Robbo, a popular Atari XE/XL game ported to Linux"
+HOMEPAGE="http://gnurobbo.sourceforge.net/"
+SRC_URI="mirror://sourceforge/gnurobbo/${P}-source.tar.gz"
+
+LICENSE="GPL-2 BitstreamVera"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl[sound,video,joystick]
+ media-libs/sdl-image[png]
+ media-libs/sdl-mixer[vorbis]
+ media-libs/sdl-ttf"
+RDEPEND=${DEPEND}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-underlink.patch
+}
+
+src_compile() {
+ emake \
+ PACKAGE_DATA_DIR="${GAMES_DATADIR}/${PN}" \
+ BINDIR="${GAMES_BINDIR}" \
+ DOCDIR="/usr/share/doc/${PF}"
+}
+
+src_install() {
+ dogamesbin gnurobbo
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r data/{levels,skins,locales,rob,sounds}
+ dodoc AUTHORS Bugs ChangeLog README TODO
+ newicon icon32.png ${PN}.png
+ make_desktop_entry ${PN} Gnurobbo
+ prepgamesdirs
+}
diff --git a/games-puzzle/gnurobbo/metadata.xml b/games-puzzle/gnurobbo/metadata.xml
new file mode 100644
index 000000000000..446252dcc733
--- /dev/null
+++ b/games-puzzle/gnurobbo/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">gnurobbo</remote-id>
+ </upstream>
+</pkgmetadata>