public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gamerlay:master commit in: games-engines/fife/, games-strategy/unknown-horizons/
@ 2011-04-18  8:44 Bernhard Mallinger
  0 siblings, 0 replies; 2+ messages in thread
From: Bernhard Mallinger @ 2011-04-18  8:44 UTC (permalink / raw
  To: gentoo-commits

commit:     fda58fbfd04587ff93fb6f9d3d53a0348b663f99
Author:     totycro <totycro <AT> unknown-horizons <DOT> org>
AuthorDate: Mon Apr 18 08:43:53 2011 +0000
Commit:     Bernhard Mallinger <b.mallinger <AT> gmx <DOT> at>
CommitDate: Mon Apr 18 08:43:53 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=fda58fbf

Added unknown-horizons-2011.1 and fife-0.3.1_p3607

---
 games-engines/fife/fife-0.3.1_p3607.ebuild         |   69 ++++++++++++++++++++
 .../unknown-horizons-2011.1.ebuild                 |   35 ++++++++++
 2 files changed, 104 insertions(+), 0 deletions(-)

diff --git a/games-engines/fife/fife-0.3.1_p3607.ebuild b/games-engines/fife/fife-0.3.1_p3607.ebuild
new file mode 100644
index 0000000..a085ce6
--- /dev/null
+++ b/games-engines/fife/fife-0.3.1_p3607.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+PYTHON_DEPEND="2"
+
+inherit subversion python
+
+DESCRIPTION="Flexible Isometric Free Engine"
+HOMEPAGE="http://fifengine.de/"
+
+ESVN_REPO_URI="http://fife.svn.cvsdude.com/engine/trunk"
+ESVN_REVISION="3607"
+
+LICENSE="LGPL-2"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="debug opengl profile"
+
+RDEPEND="dev-libs/boost
+	dev-python/pyyaml
+	media-libs/libsdl
+	media-libs/sdl-ttf
+	media-libs/sdl-image[png]
+	media-libs/libvorbis
+	media-libs/libogg
+	media-libs/openal
+	sys-libs/zlib
+	x11-libs/libXcursor
+	opengl? ( virtual/opengl virtual/glu dev-games/guichan[opengl] )
+	dev-games/guichan[sdl]
+	media-libs/libpng
+	x11-libs/libXext
+"
+
+DEPEND="${RDEPEND}
+	dev-util/scons
+	dev-lang/swig
+"
+
+src_prepare() {
+	#remove bundled libs
+	rm -r ext
+	epatch "${FILESDIR}/${PN}-0.3.1-unbundle-libpng.patch"
+}
+
+src_compile() {
+	local SCONS_ARGS=""
+	if use debug; then
+		SCONS_ARGS="$SCONS_ARGS --enable-debug"
+	fi
+
+	if ! use opengl; then
+		SCONS_ARGS="$SCONS_ARGS --disable-opengl"
+	fi
+
+	if use profile; then
+		SCONS_ARGS="$SCONS_ARGS --enable-profile"
+	fi
+
+	scons --python-prefix="${D}/$(python_get_sitedir)" --prefix="${D}"/usr "$SCONS_ARGS"
+}
+
+src_install() {
+	scons install-python --python-prefix="${D}/$(python_get_sitedir)" --prefix="${D}"/usr || die "Install failed"
+}

diff --git a/games-strategy/unknown-horizons/unknown-horizons-2011.1.ebuild b/games-strategy/unknown-horizons/unknown-horizons-2011.1.ebuild
new file mode 100644
index 0000000..176d046
--- /dev/null
+++ b/games-strategy/unknown-horizons/unknown-horizons-2011.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+
+inherit distutils games
+DESCRIPTION="Anno-like real time strategy game"
+HOMEPAGE="http://unknown-horizons.org/"
+
+SRC_URI="http://sourceforge.net/projects/unknownhorizons/files/Unknown%20Horizons/2011.1/unknown-horizons-2011.1a.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+>=dev-lang/python-2.5[sqlite]
+<dev-lang/python-3
+dev-python/pyyaml
+=games-engines/fife-0.3.1_p3607
+dev-python/python-distutils-extra
+"
+
+RDEPEND="$DEPEND"
+
+src_compile() {
+	cd "unknown-horizons"
+	distutils_src_compile
+}
+src_install() {
+	cd "unknown-horizons"
+	distutils_src_install
+}



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/gamerlay:master commit in: games-engines/fife/, games-strategy/unknown-horizons/
@ 2014-06-04 14:34 Mario Kicherer
  0 siblings, 0 replies; 2+ messages in thread
From: Mario Kicherer @ 2014-06-04 14:34 UTC (permalink / raw
  To: gentoo-commits

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
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-04 14:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-18  8:44 [gentoo-commits] proj/gamerlay:master commit in: games-engines/fife/, games-strategy/unknown-horizons/ Bernhard Mallinger
  -- strict thread matches above, loose matches on Subject: below --
2014-06-04 14:34 Mario Kicherer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox