diff options
-rw-r--r-- | games-arcade/abe/ChangeLog | 8 | ||||
-rw-r--r-- | games-arcade/abe/abe-1.1.ebuild | 18 | ||||
-rw-r--r-- | games-arcade/abe/files/abe-1.1-settings.patch | 12 |
3 files changed, 29 insertions, 9 deletions
diff --git a/games-arcade/abe/ChangeLog b/games-arcade/abe/ChangeLog index b8af131087ca..66b4f3c473ba 100644 --- a/games-arcade/abe/ChangeLog +++ b/games-arcade/abe/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-arcade/abe -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/abe/ChangeLog,v 1.9 2008/01/05 04:01:51 mr_bones_ Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/abe/ChangeLog,v 1.10 2009/03/04 21:28:38 mr_bones_ Exp $ + + 04 Mar 2009; Michael Sterrett <mr_bones_@gentoo.org> + +files/abe-1.1-settings.patch, abe-1.1.ebuild: + EAPI=2; add settings patch from Pacho Ramos (bug #261222) 05 Jan 2008; Michael Sterrett <mr_bones_@gentoo.org> abe-1.1.ebuild: fix deps for bug #204396 diff --git a/games-arcade/abe/abe-1.1.ebuild b/games-arcade/abe/abe-1.1.ebuild index 2258c4d99cde..8f8173bf0fe8 100644 --- a/games-arcade/abe/abe-1.1.ebuild +++ b/games-arcade/abe/abe-1.1.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/abe/abe-1.1.ebuild,v 1.6 2008/01/05 04:01:51 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/abe/abe-1.1.ebuild,v 1.7 2009/03/04 21:28:38 mr_bones_ Exp $ +EAPI=2 inherit eutils toolchain-funcs games DESCRIPTION="A scrolling, platform-jumping, key-collecting, ancient pyramid exploring game" @@ -15,22 +16,25 @@ IUSE="" DEPEND="media-libs/libsdl x11-libs/libXi - media-libs/sdl-mixer" + media-libs/sdl-mixer[vorbis]" src_unpack() { unpack ${A} cd "${S}" + unpack ./images/images.tar +} + +src_prepare() { sed -i \ -e "/^TR_CFLAGS/d" \ -e "/^TR_CXXFLAGS/d" \ configure \ || die "sed failed" - unpack ./images/images.tar + epatch "${FILESDIR}"/${P}-settings.patch } -src_compile() { - egamesconf --with-data-dir="${GAMES_DATADIR}"/${PN} || die - emake CC=$(tc-getCC) || die "emake failed" +src_configure() { + egamesconf --with-data-dir="${GAMES_DATADIR}"/${PN} } src_install() { 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 |