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