1 |
tomka 12/12/25 20:51:17 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: freeorion-0.4.2_pre20121225.ebuild |
5 |
Log: |
6 |
bump |
7 |
|
8 |
(Portage version: 2.1.11.38/cvs/Linux x86_64, signed Manifest commit with key 0x89DEB219565C32BC) |
9 |
|
10 |
Revision Changes Path |
11 |
1.3 games-strategy/freeorion/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/freeorion/ChangeLog?rev=1.3&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/freeorion/ChangeLog?rev=1.3&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/freeorion/ChangeLog?r1=1.2&r2=1.3 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/games-strategy/freeorion/ChangeLog,v |
20 |
retrieving revision 1.2 |
21 |
retrieving revision 1.3 |
22 |
diff -u -r1.2 -r1.3 |
23 |
--- ChangeLog 16 Sep 2012 19:53:39 -0000 1.2 |
24 |
+++ ChangeLog 25 Dec 2012 20:51:17 -0000 1.3 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for games-strategy/freeorion |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeorion/ChangeLog,v 1.2 2012/09/16 19:53:39 tomka Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeorion/ChangeLog,v 1.3 2012/12/25 20:51:17 tomka Exp $ |
30 |
+ |
31 |
+*freeorion-0.4.2_pre20121225 (25 Dec 2012) |
32 |
+ |
33 |
+ 25 Dec 2012; Thomas Kahle <tomka@g.o> |
34 |
+ +freeorion-0.4.2_pre20121225.ebuild: |
35 |
+ bump |
36 |
|
37 |
*freeorion-0.4.2_pre20120910-r1 (16 Sep 2012) |
38 |
|
39 |
@@ -26,4 +32,3 @@ |
40 |
23 Apr 2012; hasufell <julian.ospald@××××××××××.com> |
41 |
+freeorion-0.3.17_p4823.ebuild, +metadata.xml: |
42 |
New Ebuild for bug 402019 thanks to all |
43 |
- |
44 |
|
45 |
|
46 |
|
47 |
1.1 games-strategy/freeorion/freeorion-0.4.2_pre20121225.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/freeorion/freeorion-0.4.2_pre20121225.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/freeorion/freeorion-0.4.2_pre20121225.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: freeorion-0.4.2_pre20121225.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2012 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/games-strategy/freeorion/freeorion-0.4.2_pre20121225.ebuild,v 1.1 2012/12/25 20:51:17 tomka Exp $ |
57 |
|
58 |
EAPI=4 |
59 |
|
60 |
PYTHON_DEPEND="2" |
61 |
|
62 |
inherit cmake-utils python games |
63 |
|
64 |
myPN="FreeOrion" |
65 |
|
66 |
DESCRIPTION="A free turn-based space empire and galactic conquest game" |
67 |
HOMEPAGE="http://www.freeorion.org" |
68 |
SRC_URI="http://dev.gentoo.org/~tomka/files/FreeOrion-${PV}.tar.gz" |
69 |
|
70 |
LICENSE="GPL-2 CCPL-Attribution-ShareAlike-3.0" |
71 |
SLOT="0" |
72 |
KEYWORDS="~amd64" |
73 |
IUSE="cg" |
74 |
|
75 |
# Needs a dev-games/gigi from the freeorion source directory. |
76 |
# It's safest to use the same version. |
77 |
RDEPEND=" |
78 |
dev-games/gigi[ogre,ois] |
79 |
dev-games/ogre[cg?,opengl] |
80 |
>=dev-libs/boost-1.47[python] |
81 |
media-libs/freealut |
82 |
media-libs/libogg |
83 |
media-libs/libsdl[X,opengl,video] |
84 |
media-libs/libvorbis |
85 |
media-libs/openal |
86 |
sci-physics/bullet |
87 |
sys-libs/zlib |
88 |
virtual/opengl" |
89 |
DEPEND="${RDEPEND} |
90 |
virtual/pkgconfig" |
91 |
|
92 |
S="${WORKDIR}/${myPN}" |
93 |
CMAKE_USE_DIR="${S}" |
94 |
CMAKE_VERBOSE="1" |
95 |
|
96 |
pkg_setup() { |
97 |
# build system is using FindPythonLibs.cmake which needs python:2 |
98 |
python_set_active_version 2 |
99 |
python_pkg_setup |
100 |
games_pkg_setup |
101 |
} |
102 |
|
103 |
src_prepare() { |
104 |
# set OGRE plugin-dir |
105 |
sed \ |
106 |
-e "s:PluginFolder=.:PluginFolder=$(pkg-config --variable=plugindir OGRE):" \ |
107 |
-i "${CMAKE_USE_DIR}"/ogre_plugins.cfg || die |
108 |
|
109 |
if use cg ; then |
110 |
# add cg ogre plugin to config |
111 |
echo "Plugin=Plugin_CgProgramManager" \ |
112 |
>> "${CMAKE_USE_DIR}"/ogre_plugins.cfg || die |
113 |
fi |
114 |
|
115 |
# set revision for display in game -- update on bump! |
116 |
sed -i -e 's/???/5576/' CMakeLists.txt |
117 |
} |
118 |
|
119 |
src_configure() { |
120 |
local mycmakeargs=( |
121 |
-DRELEASE_COMPILE_FLAGS="" |
122 |
) |
123 |
|
124 |
cmake-utils_src_configure |
125 |
} |
126 |
|
127 |
src_compile() { |
128 |
cmake-utils_src_compile |
129 |
} |
130 |
|
131 |
src_install() { |
132 |
# data files |
133 |
rm "${CMAKE_USE_DIR}"/default/COPYING || die |
134 |
insinto "${GAMES_DATADIR}"/${PN} |
135 |
doins -r "${CMAKE_USE_DIR}"/default || die |
136 |
|
137 |
# bin |
138 |
dogamesbin "${CMAKE_BUILD_DIR}"/${PN}{ca,d} || die |
139 |
newgamesbin "${CMAKE_BUILD_DIR}"/${PN} ${PN}.bin || die |
140 |
games_make_wrapper ${PN} \ |
141 |
"${GAMES_BINDIR}/${PN}.bin --resource-dir ./default" \ |
142 |
"${GAMES_DATADIR}/${PN}" |
143 |
|
144 |
# config |
145 |
insinto "${GAMES_SYSCONFDIR}"/${PN} |
146 |
doins "${CMAKE_USE_DIR}"/{OISInput,ogre_plugins}.cfg || die |
147 |
# game uses relative paths |
148 |
dosym "${GAMES_SYSCONFDIR}"/${PN}/ogre_plugins.cfg \ |
149 |
"${GAMES_DATADIR}"/${PN}/ogre_plugins.cfg || die |
150 |
dosym "${GAMES_SYSCONFDIR}"/${PN}/OISInput.cfg \ |
151 |
"${GAMES_DATADIR}"/${PN}/OISInput.cfg || die |
152 |
|
153 |
# other |
154 |
dodoc "${CMAKE_USE_DIR}"/changelog.txt || die |
155 |
newicon "${CMAKE_USE_DIR}"/default/data/art/icons/FO_Icon_32x32.png \ |
156 |
${PN}.png || die |
157 |
make_desktop_entry ${PN} ${PN} ${PN} |
158 |
|
159 |
# permissions |
160 |
prepgamesdirs |
161 |
} |