summaryrefslogtreecommitdiff
path: root/games-arcade/abe
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/abe')
-rw-r--r--games-arcade/abe/Manifest6
-rw-r--r--games-arcade/abe/abe-1.1.ebuild47
-rw-r--r--games-arcade/abe/files/abe-1.1-settings.patch12
-rw-r--r--games-arcade/abe/metadata.xml11
4 files changed, 76 insertions, 0 deletions
diff --git a/games-arcade/abe/Manifest b/games-arcade/abe/Manifest
new file mode 100644
index 000000000000..404ed2c180ab
--- /dev/null
+++ b/games-arcade/abe/Manifest
@@ -0,0 +1,6 @@
+AUX abe-1.1-settings.patch 336 SHA256 b037d2d14cc2bd16108b1593c4e524273e2530e6fb4990697347fca02d1bb86e SHA512 a609ec800165859854a132cca4dc1a12407746b832eae2326889212bcf155076f89ceb980e9cf6c678cdd9f160368c915e617d72b7d26bde2ec7fb23a7c05218 WHIRLPOOL 5252236d7c324cf5829401cd90084e74623fc6e619cc51cfefc0225e79cb252d3809aa12d1f51ad1636980fd6bb0c30100542c3c9e06bdd7c17fdded1fc717f3
+DIST abe-1.1.tar.gz 3321075 SHA256 dfc4ea74c04c92175abc5c9d65cfa6aad218209854d87d87758878e303b677f7 SHA512 6106fce9c72554596ac3f94551326381e98c0d40f7a5aa8ae7aeadaa234c113733e8df717bd1b18d2ba835f689982e859607c9d88ab2d59790ec00833a4e48c7 WHIRLPOOL 63cc3554fa9fe5cde344f1a9973dd8d4765e5fb31de26de3d608975efd5cb9de2ef8ee23414ce422a36d87bfbe231b31ba3cc72f2418cc0af46d6792bdd547de
+EBUILD abe-1.1.ebuild 1035 SHA256 be194f09a3aa6088fe4421589806cf27a224b7e6c47049966695c9a60da16d17 SHA512 3109a67a23bfb19b8db75d03fc6b35fba05a6e359c66fedc0636f8cea55ef62faa5a62a50b13d15052e2f4a16f1cc7b709444341cf490d52051f825217faffb5 WHIRLPOOL 9470644d17b45f1e481107977c3f6e57806ac26a043e54cfb99948be7f9aefc562fe00e1de390a797674706f4a53f724c2160ddf2616d9285e470d7e79b76d54
+MISC ChangeLog 2577 SHA256 69890e8fc0ca3d39482fe897f8b245a8025ca01b62b67eb70c6c10ab385bb221 SHA512 816db19ad0330be676f25bf3c22cea05655a2ee00c95e5afbffbcbb4b758522e62af48ff1313ad002ecb631a4372d408622302e17ef2eeef2e29d7fac824f114 WHIRLPOOL 3c6cf8d15d883d939ffbb86335b8d066944e096ecacafeaa1f1053a4e4600a0a86ed4fc4863a3c833489fca88ac79f79d535d97247972aecf4744282ede5cee6
+MISC ChangeLog-2015 1304 SHA256 47809c387fb6f471815259a02cea01911cfe633b7b8fb980ebe1c453c6ac7ab0 SHA512 4fc3bb9d77b7efafd51d4e23a92df0505abc549c25221294091c0c682ab7ec96cd3a7a1b9e8d27e2e972913c9d9cf086078b1c916b2480e9746bdc62e2898fa9 WHIRLPOOL 043db1bcbe67aaf14ed821b33b814a56fd3c32bdd02c00a8ab80ada60c491816f42264f21de2ed86ffa766026604ecdd57d382453f63c2a3bd3337d46806af6f
+MISC metadata.xml 326 SHA256 cc89b934e6566a2610ede7c1584b47015bfe35472f7e1a85e78383911ec65a9c SHA512 85695bf3253d22818b913db2dad61277afe8062258c1b5b80ab9604261304b9f5dd39a50a9565ee4361ea793eff0fa23562c4a20bb9ea63a3296514c33ec1788 WHIRLPOOL ecdebd1a834ff11850890b86e4b44505b04063d43c918fc576ed1d9c44de5b2173f29f240312265c7db45bc2f593d59a26f4d8887b370ff107520cf73330a204
diff --git a/games-arcade/abe/abe-1.1.ebuild b/games-arcade/abe/abe-1.1.ebuild
new file mode 100644
index 000000000000..d81fe0b77a51
--- /dev/null
+++ b/games-arcade/abe/abe-1.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils toolchain-funcs games
+
+DESCRIPTION="A scrolling, platform-jumping, key-collecting, ancient pyramid exploring game"
+HOMEPAGE="http://abe.sourceforge.net/"
+SRC_URI="mirror://sourceforge/abe/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="media-libs/libsdl[sound,video]
+ x11-libs/libXi
+ media-libs/sdl-mixer[vorbis]"
+RDEPEND=${DEPEND}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ unpack ./images/images.tar
+}
+
+src_prepare() {
+ sed -i \
+ -e "/^TR_CFLAGS/d" \
+ -e "/^TR_CXXFLAGS/d" \
+ configure || die
+ epatch "${FILESDIR}"/${P}-settings.patch
+}
+
+src_configure() {
+ egamesconf --with-data-dir="${GAMES_DATADIR}"/${PN}
+}
+
+src_install() {
+ dogamesbin src/abe
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r images sounds maps
+ newicon tom1.bmp abe.bmp
+ make_desktop_entry abe "Abe's Amazing Adventure" /usr/share/pixmaps/abe.bmp
+ dodoc AUTHORS ChangeLog README
+ prepgamesdirs
+}
diff --git a/games-arcade/abe/files/abe-1.1-settings.patch b/games-arcade/abe/files/abe-1.1-settings.patch
new file mode 100644
index 000000000000..ea5809f7386a
--- /dev/null
+++ b/games-arcade/abe/files/abe-1.1-settings.patch
@@ -0,0 +1,12 @@
+diff -Naur --exclude '*.swp' abe-1.1/src/Menu.c abe-1.1.new/src/Menu.c
+--- abe-1.1/src/Menu.c 2005-03-05 08:20:04.000000000 -0800
++++ abe-1.1.new/src/Menu.c 2006-04-02 15:04:37.000000000 -0700
+@@ -116,7 +116,7 @@
+ if(n == SOUND_ENABLED || n == MUSIC_ENABLED)
+ return sound_loaded;
+ else
+- return 0;
++ return 1;
+ }
+
+ void
diff --git a/games-arcade/abe/metadata.xml b/games-arcade/abe/metadata.xml
new file mode 100644
index 000000000000..e9edf695246f
--- /dev/null
+++ b/games-arcade/abe/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">abe</remote-id>
+ </upstream>
+</pkgmetadata>