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