Gentoo Archives: gentoo-commits

From: Mario Kicherer <dev@××××××××.org>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-engines/fife/, games-strategy/unknown-horizons/
Date: Wed, 04 Jun 2014 14:34:33
Message-Id: 1401892057.95491010fab19dc8f200bddb12af85861c7e3353.anyc@gentoo
1 commit: 95491010fab19dc8f200bddb12af85861c7e3353
2 Author: Mario Kicherer <dev <AT> kicherer <DOT> org>
3 AuthorDate: Wed Jun 4 14:18:01 2014 +0000
4 Commit: Mario Kicherer <dev <AT> kicherer <DOT> org>
5 CommitDate: Wed Jun 4 14:27:37 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=95491010
7
8 [games-strategy/unknown-horizons] version bump 2013.3
9
10 ---
11 games-engines/fife/fife-0.3.5.ebuild | 2 +-
12 .../unknown-horizons-2013.3.ebuild | 60 ++++++++++++++++++++++
13 2 files changed, 61 insertions(+), 1 deletion(-)
14
15 diff --git a/games-engines/fife/fife-0.3.5.ebuild b/games-engines/fife/fife-0.3.5.ebuild
16 index c89cb3f..b9adc03 100644
17 --- a/games-engines/fife/fife-0.3.5.ebuild
18 +++ b/games-engines/fife/fife-0.3.5.ebuild
19 @@ -22,7 +22,7 @@ IUSE="debug profile"
20 RDEPEND=">=dev-libs/boost-1.33.1
21 dev-python/pyyaml
22 >=media-libs/libsdl-1.2.8
23 - media-libs/sdl2-ttf
24 + >=media-libs/sdl-ttf-2.0.0
25 >media-libs/sdl-image-1.2.9[png]
26 media-libs/libvorbis
27 media-libs/libogg
28
29 diff --git a/games-strategy/unknown-horizons/unknown-horizons-2013.3.ebuild b/games-strategy/unknown-horizons/unknown-horizons-2013.3.ebuild
30 new file mode 100644
31 index 0000000..f69a564
32 --- /dev/null
33 +++ b/games-strategy/unknown-horizons/unknown-horizons-2013.3.ebuild
34 @@ -0,0 +1,60 @@
35 +# Copyright 1999-2011 Gentoo Foundation
36 +# Distributed under the terms of the GNU General Public License v2
37 +# $Header: $
38 +
39 +EAPI=5
40 +
41 +PYTHON_DEPEND="2:2.7"
42 +RESTRICT_PYTHON_ABIS="3.*"
43 +
44 +PYTHON_USE_WITH="sqlite"
45 +
46 +inherit python games distutils
47 +
48 +DESCRIPTION="Anno-like real time strategy game"
49 +HOMEPAGE="http://www.unknown-horizons.org/"
50 +SRC_URI="http://github.com/unknown-horizons/unknown-horizons/archive/${PV}.tar.gz"
51 +
52 +LICENSE="GPL-2"
53 +KEYWORDS="~amd64 ~x86"
54 +SLOT="0"
55 +IUSE=""
56 +
57 +DEPEND="dev-python/pyyaml
58 + dev-python/bsddb3
59 + >=games-engines/fife-0.3.5"
60 +
61 +RDEPEND="$DEPEND"
62 +
63 +#S="${WORKDIR}"/${PN}
64 +
65 +pkg_setup() {
66 + python_set_active_version 2
67 + python_pkg_setup
68 + games_pkg_setup
69 +}
70 +
71 +src_compile() {
72 + distutils_src_compile build_i18n
73 +}
74 +
75 +src_prepare() {
76 + # make sure version two is started for startup scripts
77 + python_convert_shebangs -r 2 .
78 +}
79 +
80 +src_install() {
81 + distutils_src_install
82 + # fix install paths to Gentoo specific locations
83 + insinto "${GAMES_DATADIR}/${PN}"
84 + doins -r content || die "doins failed"
85 + rm -rf "${D}/usr/share/${PN}/content"
86 + dogamesbin "${D}/usr/bin/${PN}" || die "dogamesbin failed"
87 + rm -rf "${D}/usr/bin/"
88 + prepgamesdirs
89 +}
90 +
91 +pkg_postinst() {
92 + games_pkg_postinst
93 + distutils_pkg_postinst
94 +}