1 |
vapier 12/03/03 21:25:22 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cegui-0.7.6-r1.ebuild |
5 |
Log: |
6 |
Build against system minizip #389863. Re-enable ogre support #406475 by hasufell. |
7 |
|
8 |
(Portage version: 2.2.0_alpha86/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.41 dev-games/cegui/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/cegui/ChangeLog?rev=1.41&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/cegui/ChangeLog?rev=1.41&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/cegui/ChangeLog?r1=1.40&r2=1.41 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-games/cegui/ChangeLog,v |
20 |
retrieving revision 1.40 |
21 |
retrieving revision 1.41 |
22 |
diff -u -r1.40 -r1.41 |
23 |
--- ChangeLog 25 Jan 2012 01:01:51 -0000 1.40 |
24 |
+++ ChangeLog 3 Mar 2012 21:25:22 -0000 1.41 |
25 |
@@ -1,6 +1,12 @@ |
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.40 2012/01/25 01:01:51 tristan Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-games/cegui/ChangeLog,v 1.41 2012/03/03 21:25:22 vapier Exp $ |
30 |
+ |
31 |
+*cegui-0.7.6-r1 (03 Mar 2012) |
32 |
+ |
33 |
+ 03 Mar 2012; Mike Frysinger <vapier@g.o> +cegui-0.7.6-r1.ebuild: |
34 |
+ Build against system minizip #389863. Re-enable ogre support #406475 by |
35 |
+ hasufell. |
36 |
|
37 |
*cegui-0.7.6 (25 Jan 2012) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-games/cegui/cegui-0.7.6-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/cegui/cegui-0.7.6-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/cegui/cegui-0.7.6-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: cegui-0.7.6-r1.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/dev-games/cegui/cegui-0.7.6-r1.ebuild,v 1.1 2012/03/03 21:25:22 vapier Exp $ |
52 |
|
53 |
EAPI="4" |
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 |
dev-util/pkgconfig |
91 |
doc? ( app-doc/doxygen )" |
92 |
|
93 |
S=${WORKDIR}/${MY_P} |
94 |
|
95 |
src_prepare() { |
96 |
# use minizip from zlib rather than local code |
97 |
if use zip ; then |
98 |
sed -i \ |
99 |
-e '/CEGUI_BUILD_MINIZIP_RESOURCE_PROVIDER_TRUE/{ |
100 |
s:minizip/ioapi.cpp minizip/unzip.cpp::; |
101 |
s:libCEGUIBase@cegui_bsfx@_la-ioapi.lo::; |
102 |
s:libCEGUIBase@cegui_bsfx@_la-unzip.lo:: |
103 |
}' \ |
104 |
-e '/^ZLIB_LIBS/s:=.*:= -lminizip:' \ |
105 |
cegui/src/Makefile.in || die |
106 |
fi |
107 |
rm -rf cegui/src/minizip |
108 |
|
109 |
if use examples ; then |
110 |
cp -r Samples Samples.clean |
111 |
rm -f $(find Samples.clean -name 'Makefile*') |
112 |
fi |
113 |
} |
114 |
|
115 |
src_configure() { |
116 |
econf \ |
117 |
$(use_enable bidi bidirectional-text) \ |
118 |
$(use_enable debug) \ |
119 |
$(use_enable devil) \ |
120 |
$(use_enable examples samples) \ |
121 |
$(use_enable expat) \ |
122 |
$(use_enable truetype freetype) \ |
123 |
$(use_enable irrlicht irrlicht-renderer) \ |
124 |
$(use_enable lua lua-module) \ |
125 |
$(use_enable lua toluacegui) \ |
126 |
--enable-external-toluapp \ |
127 |
$(use_enable ogre ogre-renderer) \ |
128 |
$(use_enable opengl opengl-renderer) \ |
129 |
--enable-external-glew \ |
130 |
$(use_enable pcre) \ |
131 |
$(use_enable tinyxml) \ |
132 |
--enable-external-tinyxml \ |
133 |
$(use_enable xerces-c) \ |
134 |
$(use_enable xml libxml) \ |
135 |
$(use_enable zip minizip-resource-provider) \ |
136 |
--enable-null-renderer \ |
137 |
--enable-stb \ |
138 |
--enable-tga \ |
139 |
--disable-corona \ |
140 |
--disable-dependency-tracking \ |
141 |
--disable-freeimage \ |
142 |
--disable-rapidxml \ |
143 |
--disable-samples \ |
144 |
--disable-silly \ |
145 |
$(use_with gtk gtk2) \ |
146 |
$(use_enable static-libs static) \ |
147 |
--enable-shared |
148 |
} |
149 |
|
150 |
src_install() { |
151 |
default |
152 |
|
153 |
# remove .la files |
154 |
use static-libs || rm -f "${D}"/usr/*/*.la |
155 |
|
156 |
if use doc ; then |
157 |
emake html || die |
158 |
dohtml -r doc/doxygen/html/* || die |
159 |
fi |
160 |
if use examples ; then |
161 |
insinto /usr/share/doc/${PF}/Samples |
162 |
doins -r Samples.clean/* || die |
163 |
fi |
164 |
} |