summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-04-24 23:29:10 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-04-24 23:29:10 +0000
commitec455dde25642cdf9217289923566c277cd4acbe (patch)
tree05d77375ca8d347f575f66a229702ba4c8d5b47a /games-rpg/freedroidrpg
parentRemove librxtxSerial.so with other parts of rxtx; updated metadata.xml (diff)
downloadgentoo-2-ec455dde25642cdf9217289923566c277cd4acbe.tar.gz
gentoo-2-ec455dde25642cdf9217289923566c277cd4acbe.tar.bz2
gentoo-2-ec455dde25642cdf9217289923566c277cd4acbe.zip
version bump
(Portage version: 2.1.6.7/cvs/Linux i686)
Diffstat (limited to 'games-rpg/freedroidrpg')
-rw-r--r--games-rpg/freedroidrpg/ChangeLog8
-rw-r--r--games-rpg/freedroidrpg/freedroidrpg-0.12.1.ebuild60
2 files changed, 67 insertions, 1 deletions
diff --git a/games-rpg/freedroidrpg/ChangeLog b/games-rpg/freedroidrpg/ChangeLog
index be5074f499d6..04d358b75284 100644
--- a/games-rpg/freedroidrpg/ChangeLog
+++ b/games-rpg/freedroidrpg/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-rpg/freedroidrpg
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/freedroidrpg/ChangeLog,v 1.18 2009/03/18 22:39:34 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/freedroidrpg/ChangeLog,v 1.19 2009/04/24 23:29:10 mr_bones_ Exp $
+
+*freedroidrpg-0.12.1 (24 Apr 2009)
+
+ 24 Apr 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ +freedroidrpg-0.12.1.ebuild:
+ version bump
18 Mar 2009; Brent Baude <ranger@gentoo.org> freedroidrpg-0.11.1.ebuild:
stable ppc, bug 261325
diff --git a/games-rpg/freedroidrpg/freedroidrpg-0.12.1.ebuild b/games-rpg/freedroidrpg/freedroidrpg-0.12.1.ebuild
new file mode 100644
index 000000000000..393bf4e39110
--- /dev/null
+++ b/games-rpg/freedroidrpg/freedroidrpg-0.12.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/freedroidrpg/freedroidrpg-0.12.1.ebuild,v 1.1 2009/04/24 23:29:10 mr_bones_ Exp $
+
+EAPI=2
+inherit autotools eutils games
+
+DESCRIPTION="A modification of the classical Freedroid engine into an RPG"
+HOMEPAGE="http://freedroid.sourceforge.net/"
+SRC_URI="mirror://sourceforge/freedroid/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="opengl"
+
+RDEPEND=">=media-libs/libsdl-1.2.3
+ dev-lang/lua
+ media-libs/jpeg
+ sys-libs/zlib
+ media-libs/libpng
+ media-libs/sdl-image[jpeg,png]
+ media-libs/sdl-net
+ media-libs/sdl-mixer[vorbis]
+ media-libs/libogg
+ media-libs/libvorbis
+ x11-libs/libX11
+ opengl? ( virtual/opengl )"
+DEPEND="${RDEPEND}
+ x11-libs/libXt"
+
+src_prepare() {
+ # Use the system lua instead of the bundled one.
+ sed -i \
+ -e 's/lua//' \
+ Makefile.am \
+ || die "sed failed"
+ sed -i \
+ -e '/freedroidRPG_LDADD =/s/=.*/= -llua/' \
+ src/Makefile.am \
+ || die "sed failed"
+
+ # No need for executable game resources
+ find sound graphics -type f -exec chmod -c a-x '{}' +
+ eautoreconf
+}
+
+src_configure() {
+ egamesconf \
+ --disable-dependency-tracking \
+ $(use_enable opengl)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ rm -f "${D}/${GAMES_BINDIR}/"{croppy,pngtoico,gluem}
+ newicon win32/w32icon2_64x64.png ${PN}.png
+ make_desktop_entry freedroidRPG "Freedroid RPG"
+ prepgamesdirs
+}