1 |
mr_bones_ 12/11/01 17:34:50 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ogre-1.8.1.ebuild |
5 |
Log: |
6 |
version bump (bug #440074) |
7 |
|
8 |
(Portage version: 2.1.11.9/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.85 dev-games/ogre/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/ogre/ChangeLog?rev=1.85&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/ogre/ChangeLog?rev=1.85&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/ogre/ChangeLog?r1=1.84&r2=1.85 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v |
20 |
retrieving revision 1.84 |
21 |
retrieving revision 1.85 |
22 |
diff -u -r1.84 -r1.85 |
23 |
--- ChangeLog 4 Aug 2012 09:44:02 -0000 1.84 |
24 |
+++ ChangeLog 1 Nov 2012 17:34:50 -0000 1.85 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for dev-games/ogre |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v 1.84 2012/08/04 09:44:02 ago Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v 1.85 2012/11/01 17:34:50 mr_bones_ Exp $ |
30 |
+ |
31 |
+*ogre-1.8.1 (01 Nov 2012) |
32 |
+ |
33 |
+ 01 Nov 2012; Michael Sterrett <mr_bones_@g.o> |
34 |
+ +files/ogre-1.8.1-flags.patch, +files/ogre-1.8.1-threading.patch, |
35 |
+ +ogre-1.8.1.ebuild: |
36 |
+ version bump (bug #440074) |
37 |
|
38 |
04 Aug 2012; Agostino Sarubbo <ago@g.o> ogre-1.8.0.ebuild: |
39 |
Stable for amd64, wrt bug #427056 |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-games/ogre/ogre-1.8.1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/ogre/ogre-1.8.1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/ogre/ogre-1.8.1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: ogre-1.8.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/dev-games/ogre/ogre-1.8.1.ebuild,v 1.1 2012/11/01 17:34:50 mr_bones_ Exp $ |
53 |
|
54 |
EAPI=4 |
55 |
inherit eutils cmake-utils |
56 |
|
57 |
MY_PV=${PV//./-} |
58 |
DESCRIPTION="Object-oriented Graphics Rendering Engine" |
59 |
HOMEPAGE="http://www.ogre3d.org/" |
60 |
SRC_URI="mirror://sourceforge/${PN}/${PN}_src_v${MY_PV}.tar.bz2" |
61 |
|
62 |
LICENSE="MIT" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~x86" |
65 |
IUSE="+boost cg doc double-precision examples +freeimage gles2 ois +opengl poco profile tbb threads tools +zip" |
66 |
REQUIRED_USE="threads? ( || ( boost poco tbb ) )" |
67 |
RESTRICT="test" #139905 |
68 |
|
69 |
RDEPEND="media-libs/freetype:2 |
70 |
virtual/opengl |
71 |
virtual/glu |
72 |
x11-libs/libX11 |
73 |
x11-libs/libXaw |
74 |
x11-libs/libXrandr |
75 |
x11-libs/libXt |
76 |
boost? ( dev-libs/boost ) |
77 |
cg? ( media-gfx/nvidia-cg-toolkit ) |
78 |
freeimage? ( media-libs/freeimage ) |
79 |
gles2? ( || ( <media-libs/mesa-8.0.0[gles] >=media-libs/mesa-8.0.0[gles2] ) ) |
80 |
ois? ( dev-games/ois ) |
81 |
threads? ( |
82 |
poco? ( dev-libs/poco ) |
83 |
tbb? ( dev-cpp/tbb ) |
84 |
) |
85 |
zip? ( sys-libs/zlib dev-libs/zziplib )" |
86 |
# gles1 currently broken wrt bug #418201 |
87 |
DEPEND="${RDEPEND} |
88 |
x11-proto/xf86vidmodeproto |
89 |
virtual/pkgconfig |
90 |
doc? ( app-doc/doxygen )" |
91 |
|
92 |
S=${WORKDIR}/${PN}_src_v${MY_PV} |
93 |
|
94 |
src_prepare() { |
95 |
epatch \ |
96 |
"${FILESDIR}"/${P}-threading.patch \ |
97 |
"${FILESDIR}"/${P}-flags.patch |
98 |
sed -i \ |
99 |
-e "s:share/OGRE/docs:share/doc/${PF}:" \ |
100 |
Docs/CMakeLists.txt || die |
101 |
# Stupid build system hardcodes release names |
102 |
sed -i \ |
103 |
-e '/CONFIGURATIONS/s:CONFIGURATIONS.*::' \ |
104 |
CMake/Utils/OgreConfigTargets.cmake || die |
105 |
} |
106 |
|
107 |
src_configure() { |
108 |
local mycmakeargs=( |
109 |
-DOGRE_FULL_RPATH=NO |
110 |
$(cmake-utils_use boost OGRE_USE_BOOST) |
111 |
$(cmake-utils_use cg OGRE_BUILD_PLUGIN_CG) |
112 |
$(cmake-utils_use doc OGRE_INSTALL_DOCS) |
113 |
$(cmake-utils_use double-precision OGRE_CONFIG_DOUBLE) |
114 |
$(cmake-utils_use examples OGRE_INSTALL_SAMPLES) |
115 |
$(cmake-utils_use freeimage OGRE_CONFIG_ENABLE_FREEIMAGE) |
116 |
$(cmake-utils_use opengl OGRE_BUILD_RENDERSYSTEM_GL) |
117 |
-DOGRE_BUILD_RENDERSYSTEM_GLES=OFF |
118 |
$(cmake-utils_use gles2 OGRE_BUILD_RENDERSYSTEM_GLES2) |
119 |
$(cmake-utils_use profile OGRE_PROFILING) |
120 |
-DOGRE_BUILD_TESTS=FALSE |
121 |
$(usex threads "-DOGRE_CONFIG_THREADS=2" "-DOGRE_CONFIG_THREADS=0") |
122 |
$(cmake-utils_use tools OGRE_BUILD_TOOLS) |
123 |
$(cmake-utils_use zip OGRE_CONFIG_ENABLE_ZIP) |
124 |
) |
125 |
|
126 |
if use threads ; then |
127 |
local f |
128 |
for f in boost poco tbb ; do |
129 |
use ${f} || continue |
130 |
mycmakeargs+=( -DOGRE_CONFIG_THREAD_PROVIDER=${f} ) |
131 |
break |
132 |
done |
133 |
fi |
134 |
|
135 |
cmake-utils_src_configure |
136 |
} |