Gentoo Archives: gentoo-commits

From: "Julian Ospald (hasufell)" <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-games/ogre: ChangeLog ogre-1.9.0.ebuild
Date: Mon, 30 Dec 2013 21:22:33
Message-Id: 20131230212228.5170F2004C@flycatcher.gentoo.org
1 hasufell 13/12/30 21:22:28
2
3 Modified: ChangeLog
4 Added: ogre-1.9.0.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
9
10 Revision Changes Path
11 1.95 dev-games/ogre/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/ogre/ChangeLog?rev=1.95&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/ogre/ChangeLog?rev=1.95&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/ogre/ChangeLog?r1=1.94&r2=1.95
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v
20 retrieving revision 1.94
21 retrieving revision 1.95
22 diff -u -r1.94 -r1.95
23 --- ChangeLog 10 Dec 2013 19:45:59 -0000 1.94
24 +++ ChangeLog 30 Dec 2013 21:22:28 -0000 1.95
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-games/ogre
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v 1.94 2013/12/10 19:45:59 hasufell Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v 1.95 2013/12/30 21:22:28 hasufell Exp $
30 +
31 +*ogre-1.9.0 (30 Dec 2013)
32 +
33 + 30 Dec 2013; Julian Ospald <hasufell@g.o> +ogre-1.9.0.ebuild:
34 + version bump
35
36 10 Dec 2013; Julian Ospald <hasufell@g.o> ogre-1.8.1.ebuild:
37 bump eapi, use system version of FindFreetype.cmake
38
39
40
41 1.1 dev-games/ogre/ogre-1.9.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/ogre/ogre-1.9.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/ogre/ogre-1.9.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ogre-1.9.0.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ogre-1.9.0.ebuild,v 1.1 2013/12/30 21:22:28 hasufell Exp $
51
52 EAPI=5
53 CMAKE_REMOVE_MODULES="yes"
54 CMAKE_REMOVE_MODULES_LIST="FindFreetype"
55 inherit eutils cmake-utils vcs-snapshot
56
57 DESCRIPTION="Object-oriented Graphics Rendering Engine"
58 HOMEPAGE="http://www.ogre3d.org/"
59 SRC_URI="https://bitbucket.org/sinbad/ogre/get/v${PV//./-}.tar.bz2 -> ${P}.tar.bz2"
60
61 LICENSE="MIT public-domain"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE="+boost cg doc double-precision examples +freeimage gles2 ois +opengl poco profile tbb threads tools +zip"
65 REQUIRED_USE="threads? ( || ( boost poco tbb ) )"
66 RESTRICT="test" #139905
67
68 RDEPEND="
69 dev-libs/tinyxml
70 media-libs/freetype:2
71 virtual/opengl
72 virtual/glu
73 x11-libs/libX11
74 x11-libs/libXaw
75 x11-libs/libXrandr
76 x11-libs/libXt
77 boost? ( dev-libs/boost )
78 cg? ( media-gfx/nvidia-cg-toolkit )
79 freeimage? ( media-libs/freeimage )
80 gles2? ( >=media-libs/mesa-8.0.0[gles2] )
81 ois? ( dev-games/ois )
82 threads? (
83 poco? ( dev-libs/poco )
84 tbb? ( dev-cpp/tbb )
85 )
86 zip? ( sys-libs/zlib dev-libs/zziplib )"
87 # gles1 currently broken wrt bug #418201
88 DEPEND="${RDEPEND}
89 x11-proto/xf86vidmodeproto
90 virtual/pkgconfig
91 doc? ( app-doc/doxygen )"
92
93 src_prepare() {
94 sed -i \
95 -e "s:share/OGRE/docs:share/doc/${PF}:" \
96 Docs/CMakeLists.txt || die
97 # Stupid build system hardcodes release names
98 sed -i \
99 -e '/CONFIGURATIONS/s:CONFIGURATIONS Release.*::' \
100 CMake/Utils/OgreConfigTargets.cmake || die
101 }
102
103 src_configure() {
104 local mycmakeargs=(
105 -DOGRE_FULL_RPATH=NO
106 $(cmake-utils_use boost OGRE_USE_BOOST)
107 $(cmake-utils_use cg OGRE_BUILD_PLUGIN_CG)
108 $(cmake-utils_use doc OGRE_INSTALL_DOCS)
109 $(cmake-utils_use double-precision OGRE_CONFIG_DOUBLE)
110 $(cmake-utils_use examples OGRE_INSTALL_SAMPLES)
111 $(cmake-utils_use freeimage OGRE_CONFIG_ENABLE_FREEIMAGE)
112 $(cmake-utils_use opengl OGRE_BUILD_RENDERSYSTEM_GL)
113 -DOGRE_BUILD_RENDERSYSTEM_GLES=OFF
114 $(cmake-utils_use gles2 OGRE_BUILD_RENDERSYSTEM_GLES2)
115 $(cmake-utils_use profile OGRE_PROFILING)
116 $(cmake-utils_use examples OGRE_BUILD_SAMPLES)
117 -DOGRE_BUILD_TESTS=FALSE
118 $(usex threads "-DOGRE_CONFIG_THREADS=2" "-DOGRE_CONFIG_THREADS=0")
119 $(cmake-utils_use tools OGRE_BUILD_TOOLS)
120 $(cmake-utils_use zip OGRE_CONFIG_ENABLE_ZIP)
121 )
122
123 if use threads ; then
124 local f
125 for f in boost poco tbb ; do
126 use ${f} || continue
127 mycmakeargs+=( -DOGRE_CONFIG_THREAD_PROVIDER=${f} )
128 break
129 done
130 fi
131
132 cmake-utils_src_configure
133 }
134
135 src_install() {
136 cmake-utils_src_install
137 docinto examples
138 dodoc "${CMAKE_BUILD_DIR}"/bin/*.cfg
139 }