commit:     95491010fab19dc8f200bddb12af85861c7e3353
Author:     Mario Kicherer <dev <AT> kicherer <DOT> org>
AuthorDate: Wed Jun  4 14:18:01 2014 +0000
Commit:     Mario Kicherer <dev <AT> kicherer <DOT> org>
CommitDate: Wed Jun  4 14:27:37 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=95491010

[games-strategy/unknown-horizons] version bump 2013.3

---
 games-engines/fife/fife-0.3.5.ebuild               |  2 +-
 .../unknown-horizons-2013.3.ebuild                 | 60 ++++++++++++++++++++++
 2 files changed, 61 insertions(+), 1 deletion(-)

diff --git a/games-engines/fife/fife-0.3.5.ebuild 
b/games-engines/fife/fife-0.3.5.ebuild
index c89cb3f..b9adc03 100644
--- a/games-engines/fife/fife-0.3.5.ebuild
+++ b/games-engines/fife/fife-0.3.5.ebuild
@@ -22,7 +22,7 @@ IUSE="debug profile"
 RDEPEND=">=dev-libs/boost-1.33.1
        dev-python/pyyaml
        >=media-libs/libsdl-1.2.8
-       media-libs/sdl2-ttf
+       >=media-libs/sdl-ttf-2.0.0
        >media-libs/sdl-image-1.2.9[png]
        media-libs/libvorbis
        media-libs/libogg

diff --git a/games-strategy/unknown-horizons/unknown-horizons-2013.3.ebuild 
b/games-strategy/unknown-horizons/unknown-horizons-2013.3.ebuild
new file mode 100644
index 0000000..f69a564
--- /dev/null
+++ b/games-strategy/unknown-horizons/unknown-horizons-2013.3.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+PYTHON_DEPEND="2:2.7"
+RESTRICT_PYTHON_ABIS="3.*"
+
+PYTHON_USE_WITH="sqlite"
+
+inherit python games distutils
+
+DESCRIPTION="Anno-like real time strategy game"
+HOMEPAGE="http://www.unknown-horizons.org/";
+SRC_URI="http://github.com/unknown-horizons/unknown-horizons/archive/${PV}.tar.gz";
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-python/pyyaml
+       dev-python/bsddb3
+       >=games-engines/fife-0.3.5"
+
+RDEPEND="$DEPEND"
+
+#S="${WORKDIR}"/${PN}
+
+pkg_setup() {
+       python_set_active_version 2
+       python_pkg_setup
+       games_pkg_setup
+}
+
+src_compile() {
+       distutils_src_compile build_i18n
+}
+
+src_prepare() {
+       # make sure version two is started for startup scripts
+       python_convert_shebangs -r 2 .
+}
+
+src_install() {
+       distutils_src_install
+       # fix install paths to Gentoo specific locations
+       insinto "${GAMES_DATADIR}/${PN}"
+       doins -r content || die "doins failed"
+       rm -rf "${D}/usr/share/${PN}/content"
+       dogamesbin "${D}/usr/bin/${PN}" || die "dogamesbin failed"
+       rm -rf "${D}/usr/bin/"
+       prepgamesdirs
+}
+
+pkg_postinst() {
+       games_pkg_postinst
+       distutils_pkg_postinst
+}

Reply via email to