diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2012-03-10 05:27:36 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2012-03-10 05:27:36 +0000 |
commit | 8c118cafeb4d79ffcf2a2150784aed3c7b32c4a8 (patch) | |
tree | a681b357358f100d59bc2f066347cb3811eeb0a5 /games-rpg | |
parent | Version bump; Add missing dependency dev-util/intltool and dev-util/pkgconfig... (diff) | |
download | gentoo-2-8c118cafeb4d79ffcf2a2150784aed3c7b32c4a8.tar.gz gentoo-2-8c118cafeb4d79ffcf2a2150784aed3c7b32c4a8.tar.bz2 gentoo-2-8c118cafeb4d79ffcf2a2150784aed3c7b32c4a8.zip |
version bump (bug #407515)
(Portage version: 2.1.10.44/cvs/Linux i686)
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/freedroidrpg/ChangeLog | 10 | ||||
-rw-r--r-- | games-rpg/freedroidrpg/freedroidrpg-0.15.ebuild | 57 |
2 files changed, 65 insertions, 2 deletions
diff --git a/games-rpg/freedroidrpg/ChangeLog b/games-rpg/freedroidrpg/ChangeLog index b30e6120ac16..696e3d946864 100644 --- a/games-rpg/freedroidrpg/ChangeLog +++ b/games-rpg/freedroidrpg/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-rpg/freedroidrpg -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/freedroidrpg/ChangeLog,v 1.31 2011/09/15 02:53:41 ssuominen Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/freedroidrpg/ChangeLog,v 1.32 2012/03/10 05:27:36 mr_bones_ Exp $ + +*freedroidrpg-0.15 (10 Mar 2012) + + 10 Mar 2012; Michael Sterrett <mr_bones_@gentoo.org> + +freedroidrpg-0.15.ebuild: + version bump (bug #407515) 15 Sep 2011; Samuli Suominen <ssuominen@gentoo.org> freedroidrpg-0.14.1.ebuild, +files/freedroidrpg-0.14.1-libpng15.patch: diff --git a/games-rpg/freedroidrpg/freedroidrpg-0.15.ebuild b/games-rpg/freedroidrpg/freedroidrpg-0.15.ebuild new file mode 100644 index 000000000000..e7588e74e032 --- /dev/null +++ b/games-rpg/freedroidrpg/freedroidrpg-0.15.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/freedroidrpg/freedroidrpg-0.15.ebuild,v 1.1 2012/03/10 05:27:36 mr_bones_ Exp $ + +EAPI=2 +PYTHON_DEPEND="2" +inherit autotools eutils python games + +DESCRIPTION="A modification of the classical Freedroid engine into an RPG" +HOMEPAGE="http://freedroid.sourceforge.net/" +SRC_URI="mirror://sourceforge/freedroid/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="opengl vorbis" + +RDEPEND="media-libs/libsdl[opengl?,video] + dev-lang/lua + virtual/jpeg + media-libs/libpng + media-libs/sdl-image[jpeg,png] + media-libs/sdl-mixer[vorbis?] + >=media-libs/sdl-gfx-2.0.21 + vorbis? ( media-libs/libogg media-libs/libvorbis ) + x11-libs/libX11 + opengl? ( virtual/opengl )" +DEPEND="${RDEPEND} + dev-lang/python" + +pkg_setup() { + python_set_active_version 2 + games_pkg_setup +} + +src_prepare() { + python_convert_shebangs -r 2 . + + # No need for executable game resources + find sound graphics -type f -exec chmod -c a-x '{}' + +} + +src_configure() { + egamesconf \ + --disable-dependency-tracking \ + --disable-fastmath \ + $(use_enable opengl) \ + $(use_enable vorbis) +} + +src_install() { + emake DESTDIR="${D}" install || die + rm -f "${D}/${GAMES_BINDIR}/"{croppy,pngtoico,*glue*,explode*,make_atlas} + newicon win32/w32icon2_64x64.png ${PN}.png + make_desktop_entry freedroidRPG "Freedroid RPG" + prepgamesdirs +} |