1 |
mr_bones_ 10/02/10 18:48:01 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: wesnoth-1.7.13.ebuild |
5 |
Log: |
6 |
masked version bump |
7 |
(Portage version: 2.1.7.16/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.167 games-strategy/wesnoth/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/wesnoth/ChangeLog?rev=1.167&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/wesnoth/ChangeLog?rev=1.167&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/wesnoth/ChangeLog?r1=1.166&r2=1.167 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v |
19 |
retrieving revision 1.166 |
20 |
retrieving revision 1.167 |
21 |
diff -u -r1.166 -r1.167 |
22 |
--- ChangeLog 9 Feb 2010 23:11:56 -0000 1.166 |
23 |
+++ ChangeLog 10 Feb 2010 18:48:00 -0000 1.167 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for games-strategy/wesnoth |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.166 2010/02/09 23:11:56 mr_bones_ Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.167 2010/02/10 18:48:00 mr_bones_ Exp $ |
29 |
+ |
30 |
+*wesnoth-1.7.13 (10 Feb 2010) |
31 |
+ |
32 |
+ 10 Feb 2010; Michael Sterrett <mr_bones_@g.o> |
33 |
+ +wesnoth-1.7.13.ebuild: |
34 |
+ masked version bump |
35 |
|
36 |
09 Feb 2010; Michael Sterrett <mr_bones_@g.o> |
37 |
wesnoth-1.7.12.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 games-strategy/wesnoth/wesnoth-1.7.13.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/wesnoth/wesnoth-1.7.13.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/wesnoth/wesnoth-1.7.13.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: wesnoth-1.7.13.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2010 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/wesnoth-1.7.13.ebuild,v 1.1 2010/02/10 18:48:00 mr_bones_ Exp $ |
51 |
|
52 |
EAPI=2 |
53 |
inherit cmake-utils eutils toolchain-funcs flag-o-matic games |
54 |
|
55 |
DESCRIPTION="Battle for Wesnoth - A fantasy turn-based strategy game" |
56 |
HOMEPAGE="http://www.wesnoth.org/" |
57 |
SRC_URI="mirror://sourceforge/wesnoth/${P}.tar.bz2" |
58 |
|
59 |
LICENSE="GPL-2" |
60 |
SLOT="0" |
61 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
62 |
IUSE="dbus dedicated doc nls server tinygui" |
63 |
|
64 |
RDEPEND=">=media-libs/libsdl-1.2.7[video,X] |
65 |
media-libs/sdl-net |
66 |
>=media-libs/sdl-ttf-2.0.8 |
67 |
>=media-libs/sdl-mixer-1.2[vorbis] |
68 |
>=media-libs/sdl-image-1.2[jpeg,png] |
69 |
!dedicated? ( |
70 |
dbus? ( sys-apps/dbus ) |
71 |
) |
72 |
dev-libs/boost |
73 |
sys-libs/zlib |
74 |
x11-libs/pango |
75 |
dev-lang/lua |
76 |
media-libs/fontconfig |
77 |
virtual/libintl" |
78 |
DEPEND="${RDEPEND} |
79 |
dev-util/pkgconfig |
80 |
!dedicated? ( |
81 |
tinygui? ( media-gfx/imagemagick[jpeg,png] ) |
82 |
) |
83 |
sys-devel/gettext" |
84 |
|
85 |
src_prepare() { |
86 |
if use dedicated || use server ; then |
87 |
sed \ |
88 |
-e "s:GAMES_BINDIR:${GAMES_BINDIR}:" \ |
89 |
-e "s:GAMES_STATEDIR:${GAMES_STATEDIR}:" \ |
90 |
-e "s/GAMES_USER_DED/${GAMES_USER_DED}/" \ |
91 |
-e "s/GAMES_GROUP/${GAMES_GROUP}/" "${FILESDIR}"/wesnothd.rc \ |
92 |
> "${T}"/wesnothd \ |
93 |
|| die "sed failed" |
94 |
fi |
95 |
if ! use doc ; then |
96 |
sed -i \ |
97 |
-e '/manual/d' \ |
98 |
doc/CMakeLists.txt \ |
99 |
|| die "sed failed" |
100 |
fi |
101 |
} |
102 |
|
103 |
src_configure() { |
104 |
filter-flags -ftracer -fomit-frame-pointer |
105 |
if [[ $(gcc-major-version) -eq 3 ]] ; then |
106 |
filter-flags -fstack-protector |
107 |
append-flags -fno-stack-protector |
108 |
fi |
109 |
if use dedicated || use server ; then |
110 |
mycmakeargs="${mycmakeargs} |
111 |
-DENABLE_CAMPAIGN_SERVER=TRUE |
112 |
-DENABLE_SERVER=TRUE |
113 |
-DSERVER_UID=${GAMES_USER_DED} |
114 |
-DSERVER_GID=${GAMES_GROUP} |
115 |
-DFIFO_DIR=${GAMES_STATEDIR}/run/wesnothd" |
116 |
else |
117 |
mycmakeargs="${mycmakeargs} |
118 |
-DENABLE_CAMPAIGN_SERVER=FALSE |
119 |
-DENABLE_SERVER=FALSE" |
120 |
fi |
121 |
mycmakeargs=" |
122 |
${mycmakeargs} |
123 |
$(cmake-utils_use_enable !dedicated GAME) |
124 |
$(cmake-utils_use_enable !dedicated ENABLE_DESKTOP_ENTRY) |
125 |
$(cmake-utils_use_enable nls NLS) |
126 |
$(cmake-utils_use_enable dbus NOTIFICATIONS) |
127 |
-DGUI=$(use tinygui && echo tiny || echo normal) |
128 |
-DENABLE_FRIBIDI=FALSE |
129 |
-DENABLE_STRICT_COMPILATION=FALSE |
130 |
-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX} |
131 |
-DPREFERENCES_DIR=.wesnoth |
132 |
-DDATAROOTDIR=${GAMES_DATADIR} |
133 |
-DBINDIR=${GAMES_BINDIR} |
134 |
-DICONDIR=/usr/share/pixmaps |
135 |
-DDESKTOPDIR=/usr/share/applications |
136 |
-DMANDIR=/usr/share/man |
137 |
-DDOCDIR=/usr/share/doc/${PF}" |
138 |
cmake-utils_src_configure |
139 |
} |
140 |
|
141 |
src_compile() { |
142 |
cmake-utils_src_compile |
143 |
} |
144 |
|
145 |
src_install() { |
146 |
DOCS="README changelog players_changelog" cmake-utils_src_install |
147 |
if use dedicated || use server; then |
148 |
keepdir "${GAMES_STATEDIR}/run/wesnothd" |
149 |
doinitd "${T}"/wesnothd || die "doinitd failed" |
150 |
fi |
151 |
prepgamesdirs |
152 |
} |