Gentoo Archives: gentoo-commits

From: "Tristan Heaven (nyhm)" <nyhm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-games/ogre: ChangeLog ogre-1.4.8.ebuild
Date: Sun, 01 Jun 2008 14:20:42
Message-Id: E1K2oQF-0003EC-Vx@stork.gentoo.org
1 nyhm 08/06/01 14:20:35
2
3 Modified: ChangeLog
4 Added: ogre-1.4.8.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_pre7/cvs/Linux 2.6.25.4 Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz)
8
9 Revision Changes Path
10 1.49 dev-games/ogre/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/ogre/ChangeLog?rev=1.49&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/ogre/ChangeLog?rev=1.49&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/ogre/ChangeLog?r1=1.48&r2=1.49
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v
19 retrieving revision 1.48
20 retrieving revision 1.49
21 diff -u -r1.48 -r1.49
22 --- ChangeLog 9 Apr 2008 21:34:50 -0000 1.48
23 +++ ChangeLog 1 Jun 2008 14:20:35 -0000 1.49
24 @@ -1,6 +1,13 @@
25 # ChangeLog for dev-games/ogre
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v 1.48 2008/04/09 21:34:50 mr_bones_ Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v 1.49 2008/06/01 14:20:35 nyhm Exp $
29 +
30 +*ogre-1.4.8 (01 Jun 2008)
31 +
32 + 01 Jun 2008; Tristan Heaven <nyhm@g.o>
33 + +files/ogre-1.4.8-as-needed.patch, +files/ogre-1.4.8-cegui.patch,
34 + +ogre-1.4.8.ebuild:
35 + Version bump
36
37 09 Apr 2008; Michael Sterrett <mr_bones_@g.o>
38 +files/ogre-1.4.7-as-needed.patch, ogre-1.4.7.ebuild:
39
40
41
42 1.1 dev-games/ogre/ogre-1.4.8.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/ogre/ogre-1.4.8.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/ogre/ogre-1.4.8.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ogre-1.4.8.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ogre-1.4.8.ebuild,v 1.1 2008/06/01 14:20:35 nyhm Exp $
52
53 inherit eutils autotools
54
55 DESCRIPTION="Object-oriented Graphics Rendering Engine"
56 HOMEPAGE="http://www.ogre3d.org/"
57 SRC_URI="mirror://sourceforge/ogre/ogre-v${PV//./-}.tar.bz2"
58
59 LICENSE="LGPL-2.1"
60 SLOT="0"
61 KEYWORDS="~amd64 ~x86"
62 IUSE="doc cegui cg devil double-precision examples gtk openexr threads"
63 RESTRICT="test" #139905
64
65 RDEPEND="dev-libs/zziplib
66 >=media-libs/freetype-2
67 virtual/opengl
68 virtual/glu
69 x11-libs/libXt
70 x11-libs/libXaw
71 x11-libs/libXrandr
72 x11-libs/libX11
73 cegui? ( >=dev-games/cegui-0.5 )
74 cg? ( media-gfx/nvidia-cg-toolkit )
75 devil? ( media-libs/devil )
76 gtk? ( >=x11-libs/gtk+-2 )
77 openexr? ( media-libs/openexr )
78 threads? ( dev-libs/boost )"
79 DEPEND="${RDEPEND}
80 x11-proto/xf86vidmodeproto
81 dev-util/pkgconfig"
82
83 S=${WORKDIR}/${PN}
84
85 pkg_setup() {
86 if use threads && ! built_with_use --missing true dev-libs/boost threads
87 then
88 die "Please emerge dev-libs/boost with USE=threads"
89 fi
90 }
91
92 src_unpack() {
93 unpack ${A}
94 cd "${S}"
95 ecvs_clean
96 if use examples ; then
97 cp -r Samples install-examples || die
98 find install-examples \
99 '(' -name 'Makefile*' -o -name obj -o \
100 -name bin -o -name '*.cbp' -o -name '*.vcproj*' ')' \
101 -print0 | xargs -0 rm -rf
102 fi
103 sed -i -e '/CPPUNIT/d' configure.in || die "sed failed"
104 epatch "${FILESDIR}"/${P}-*.patch
105 eautoreconf
106 }
107
108 src_compile() {
109 econf \
110 --disable-dependency-tracking \
111 --disable-freeimage \
112 --disable-ogre-demos \
113 --enable-static \
114 --with-platform=GLX \
115 --with-gui=$(usev gtk || echo Xt) \
116 $(use_enable cegui) \
117 $(use_enable cg) \
118 $(use_enable devil) \
119 $(use_enable double-precision double) \
120 $(use_enable openexr) \
121 $(use_enable threads threading) \
122 || die
123 emake || die "emake failed"
124 }
125
126 src_install() {
127 emake DESTDIR="${D}" install || die "emake install failed"
128 if use doc ; then
129 insinto /usr/share/doc/${PF}/html
130 doins -r Docs/* || die "doins Docs failed"
131 fi
132 if use examples ; then
133 insinto /usr/share/doc/${PF}/Samples
134 doins -r install-examples/* || die "doins Samples failed"
135 fi
136 dodoc AUTHORS BUGS LINUX.DEV README
137 }
138
139
140
141 --
142 gentoo-commits@l.g.o mailing list