summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-01-20 01:13:43 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-01-20 01:13:43 +0000
commit9e909832d3c43bfbb354b574070aaa4b440c1bb3 (patch)
tree879f15dfd2a7e63b075d353dc6fdf981c10bb1c0 /games-rpg
parentold (diff)
downloadgentoo-2-9e909832d3c43bfbb354b574070aaa4b440c1bb3.tar.gz
gentoo-2-9e909832d3c43bfbb354b574070aaa4b440c1bb3.tar.bz2
gentoo-2-9e909832d3c43bfbb354b574070aaa4b440c1bb3.zip
version bump
(Portage version: 2.2.0_alpha155/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/freedroidrpg/ChangeLog9
-rw-r--r--games-rpg/freedroidrpg/freedroidrpg-0.15.1.ebuild69
2 files changed, 76 insertions, 2 deletions
diff --git a/games-rpg/freedroidrpg/ChangeLog b/games-rpg/freedroidrpg/ChangeLog
index 6b669b5c7bf7..e4371324beae 100644
--- a/games-rpg/freedroidrpg/ChangeLog
+++ b/games-rpg/freedroidrpg/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-rpg/freedroidrpg
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/freedroidrpg/ChangeLog,v 1.36 2012/04/23 23:35:32 mr_bones_ Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/freedroidrpg/ChangeLog,v 1.37 2013/01/20 01:13:43 hasufell Exp $
+
+*freedroidrpg-0.15.1 (20 Jan 2013)
+
+ 20 Jan 2013; Julian Ospald <hasufell@gentoo.org> +freedroidrpg-0.15.1.ebuild:
+ version bump
23 Apr 2012; Michael Sterrett <mr_bones_@gentoo.org>
-files/freedroidrpg-0.14.1-libpng15.patch,
diff --git a/games-rpg/freedroidrpg/freedroidrpg-0.15.1.ebuild b/games-rpg/freedroidrpg/freedroidrpg-0.15.1.ebuild
new file mode 100644
index 000000000000..61aa512908ba
--- /dev/null
+++ b/games-rpg/freedroidrpg/freedroidrpg-0.15.1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/freedroidrpg/freedroidrpg-0.15.1.ebuild,v 1.1 2013/01/20 01:13:43 hasufell Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python2_5 python2_6 python2_7 )
+inherit autotools eutils python-any-r1 games
+
+DESCRIPTION="A modification of the classical Freedroid engine into an RPG"
+HOMEPAGE="http://freedroid.sourceforge.net/"
+SRC_URI="mirror://sourceforge/freedroid/freedroidRPG-${PV}.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:0
+ 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}
+ ${PYTHON_DEPS}"
+
+pkg_setup() {
+ python-any-r1_pkg_setup
+ games_pkg_setup
+}
+
+src_prepare() {
+ # No need for executable game resources
+ find sound graphics -type f -execdir 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 -s 64 win32/w32icon2_64x64.png ${PN}.png
+ make_desktop_entry freedroidRPG "Freedroid RPG"
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}