1 |
mr_bones_ 12/07/09 03:14:07 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cegui-0.7.7.ebuild |
5 |
Log: |
6 |
version bump (bug #424599) |
7 |
|
8 |
(Portage version: 2.1.10.65/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.50 dev-games/cegui/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/cegui/ChangeLog?rev=1.50&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/cegui/ChangeLog?rev=1.50&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/cegui/ChangeLog?r1=1.49&r2=1.50 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-games/cegui/ChangeLog,v |
20 |
retrieving revision 1.49 |
21 |
retrieving revision 1.50 |
22 |
diff -u -r1.49 -r1.50 |
23 |
--- ChangeLog 18 Jun 2012 18:10:06 -0000 1.49 |
24 |
+++ ChangeLog 9 Jul 2012 03:14:07 -0000 1.50 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-games/cegui |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-games/cegui/ChangeLog,v 1.49 2012/06/18 18:10:06 hasufell Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-games/cegui/ChangeLog,v 1.50 2012/07/09 03:14:07 mr_bones_ Exp $ |
30 |
+ |
31 |
+*cegui-0.7.7 (09 Jul 2012) |
32 |
+ |
33 |
+ 09 Jul 2012; Michael Sterrett <mr_bones_@g.o> +cegui-0.7.7.ebuild: |
34 |
+ version bump (bug #424599) |
35 |
|
36 |
18 Jun 2012; Julian Ospald <hasufell@g.o> cegui-0.7.6-r1.ebuild: |
37 |
stable for x86 wrt bug #412675 |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-games/cegui/cegui-0.7.7.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/cegui/cegui-0.7.7.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/cegui/cegui-0.7.7.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: cegui-0.7.7.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2012 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-games/cegui/cegui-0.7.7.ebuild,v 1.1 2012/07/09 03:14:07 mr_bones_ Exp $ |
51 |
|
52 |
EAPI=4 |
53 |
inherit eutils |
54 |
|
55 |
MY_P=CEGUI-${PV} |
56 |
MY_D=CEGUI-DOCS-${PV} |
57 |
DESCRIPTION="Crazy Eddie's GUI System" |
58 |
HOMEPAGE="http://www.cegui.org.uk/" |
59 |
SRC_URI="mirror://sourceforge/crayzedsgui/${MY_P}.tar.gz |
60 |
doc? ( mirror://sourceforge/crayzedsgui/${MY_D}.tar.gz )" |
61 |
|
62 |
LICENSE="MIT" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 -ppc ~x86" |
65 |
IUSE="bidi debug devil doc examples expat gtk irrlicht lua ogre opengl pcre static-libs tinyxml truetype xerces-c xml zip" |
66 |
REQUIRED_USE="|| ( expat tinyxml xerces-c xml )" # bug 362223 |
67 |
|
68 |
RDEPEND="bidi? ( dev-libs/fribidi ) |
69 |
devil? ( media-libs/devil ) |
70 |
expat? ( dev-libs/expat ) |
71 |
truetype? ( media-libs/freetype:2 ) |
72 |
irrlicht? ( dev-games/irrlicht ) |
73 |
lua? ( |
74 |
dev-lang/lua |
75 |
dev-lua/toluapp |
76 |
) |
77 |
ogre? ( >=dev-games/ogre-1.7 ) |
78 |
opengl? ( |
79 |
virtual/opengl |
80 |
virtual/glu |
81 |
media-libs/freeglut |
82 |
media-libs/glew |
83 |
) |
84 |
pcre? ( dev-libs/libpcre ) |
85 |
tinyxml? ( dev-libs/tinyxml ) |
86 |
xerces-c? ( dev-libs/xerces-c ) |
87 |
xml? ( dev-libs/libxml2 ) |
88 |
zip? ( sys-libs/zlib[minizip] )" |
89 |
DEPEND="${RDEPEND} |
90 |
virtual/pkgconfig |
91 |
doc? ( app-doc/doxygen )" |
92 |
|
93 |
S=${WORKDIR}/${MY_P} |
94 |
S2=${WORKDIR}/${MY_P}_static |
95 |
|
96 |
src_unpack() { |
97 |
default |
98 |
cp -a "${S}" "${S2}" || die |
99 |
} |
100 |
|
101 |
src_prepare() { |
102 |
# use minizip from zlib rather than local code |
103 |
if use zip ; then |
104 |
sed -i \ |
105 |
-e '/CEGUI_BUILD_MINIZIP_RESOURCE_PROVIDER_TRUE/{ |
106 |
s:minizip/ioapi.cpp minizip/unzip.cpp::; |
107 |
s:libCEGUIBase@cegui_bsfx@_la-ioapi.lo::; |
108 |
s:libCEGUIBase@cegui_bsfx@_la-unzip.lo:: |
109 |
}' \ |
110 |
-e '/^ZLIB_LIBS/s:=.*:= -lminizip:' \ |
111 |
cegui/src/Makefile.in || die |
112 |
fi |
113 |
rm -rf cegui/src/minizip |
114 |
|
115 |
if use examples ; then |
116 |
cp -r Samples Samples.clean |
117 |
rm -f $(find Samples.clean -name 'Makefile*') |
118 |
fi |
119 |
} |
120 |
|
121 |
src_configure() { |
122 |
local myconf=( |
123 |
$(use_enable bidi bidirectional-text) |
124 |
$(use_enable debug) |
125 |
$(use_enable devil) |
126 |
$(use_enable examples samples) |
127 |
$(use_enable expat) |
128 |
$(use_enable truetype freetype) |
129 |
$(use_enable irrlicht irrlicht-renderer) |
130 |
$(use_enable lua lua-module) |
131 |
$(use_enable lua toluacegui) |
132 |
--enable-external-toluapp |
133 |
$(use_enable ogre ogre-renderer) |
134 |
$(use_enable opengl opengl-renderer) |
135 |
--enable-external-glew |
136 |
$(use_enable pcre) |
137 |
$(use_enable tinyxml) |
138 |
--enable-external-tinyxml |
139 |
$(use_enable xerces-c) |
140 |
$(use_enable xml libxml) |
141 |
$(use_enable zip minizip-resource-provider) |
142 |
--enable-null-renderer |
143 |
--enable-stb |
144 |
--enable-tga |
145 |
--disable-corona |
146 |
--disable-dependency-tracking |
147 |
--disable-freeimage |
148 |
--disable-rapidxml |
149 |
--disable-samples |
150 |
--disable-silly |
151 |
$(use_with gtk gtk2) |
152 |
) |
153 |
|
154 |
econf \ |
155 |
"${myconf[@]}" \ |
156 |
--disable-static \ |
157 |
--enable-shared |
158 |
|
159 |
if use static-libs ; then |
160 |
cd "${S2}" || die |
161 |
econf \ |
162 |
"${myconf[@]}" \ |
163 |
--enable-static \ |
164 |
--disable-shared |
165 |
fi |
166 |
|
167 |
# we are doing a double build here cause |
168 |
# the build system does not permit |
169 |
# "--enable-static --enable-shared" |
170 |
} |
171 |
|
172 |
src_compile() { |
173 |
default |
174 |
|
175 |
if use static-libs ; then |
176 |
emake -C "${S2}" |
177 |
fi |
178 |
} |
179 |
|
180 |
src_install() { |
181 |
local i |
182 |
default |
183 |
|
184 |
if use doc ; then |
185 |
emake html || die |
186 |
dohtml -r doc/doxygen/html/* || die |
187 |
fi |
188 |
if use examples ; then |
189 |
insinto /usr/share/doc/${PF}/Samples |
190 |
doins -r Samples.clean/* || die |
191 |
fi |
192 |
|
193 |
if use static-libs ; then |
194 |
find "${S2}" -name "*CEGUI*.a" -exec dolib.a '{}' \; |
195 |
|
196 |
# fix/merge .la files |
197 |
for i in `find "${D}" -name "*.la"` ; do |
198 |
sed \ |
199 |
-e "s/old_library=''/old_library='$(basename ${i%.la}).a'/" \ |
200 |
-i ${i} || die "fixing .la files failed" |
201 |
done |
202 |
else |
203 |
# remove .la files |
204 |
prune_libtool_files --all |
205 |
fi |
206 |
} |