Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-games/ogre: ChangeLog ogre-1.4.9.ebuild
Date: Fri, 20 Jun 2008 17:11:22
Message-Id: E1K9k8q-0004Vq-6p@stork.gentoo.org
1 mr_bones_ 08/06/20 17:11:16
2
3 Modified: ChangeLog
4 Added: ogre-1.4.9.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.51 dev-games/ogre/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/ogre/ChangeLog?rev=1.51&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/ogre/ChangeLog?rev=1.51&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/ogre/ChangeLog?r1=1.50&r2=1.51
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v
19 retrieving revision 1.50
20 retrieving revision 1.51
21 diff -u -r1.50 -r1.51
22 --- ChangeLog 2 Jun 2008 01:59:41 -0000 1.50
23 +++ ChangeLog 20 Jun 2008 17:11:15 -0000 1.51
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.50 2008/06/02 01:59:41 mr_bones_ Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v 1.51 2008/06/20 17:11:15 mr_bones_ Exp $
29 +
30 +*ogre-1.4.9 (20 Jun 2008)
31 +
32 + 20 Jun 2008; Michael Sterrett <mr_bones_@g.o>
33 + +files/ogre-1.4.9-as-needed.patch, +files/ogre-1.4.9-cegui.patch,
34 + +ogre-1.4.9.ebuild:
35 + version bump
36
37 02 Jun 2008; Michael Sterrett <mr_bones_@g.o> ogre-1.4.8.ebuild:
38 strip-flags for bugs like #186734
39
40
41
42 1.1 dev-games/ogre/ogre-1.4.9.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/ogre/ogre-1.4.9.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/ogre/ogre-1.4.9.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ogre-1.4.9.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.9.ebuild,v 1.1 2008/06/20 17:11:15 mr_bones_ Exp $
52
53 inherit eutils autotools flag-o-matic
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 strip-flags
110 econf \
111 --disable-dependency-tracking \
112 --disable-freeimage \
113 --disable-ogre-demos \
114 --enable-static \
115 --with-platform=GLX \
116 --with-gui=$(usev gtk || echo Xt) \
117 $(use_enable cegui) \
118 $(use_enable cg) \
119 $(use_enable devil) \
120 $(use_enable double-precision double) \
121 $(use_enable openexr) \
122 $(use_enable threads threading) \
123 || die
124 emake || die "emake failed"
125 }
126
127 src_install() {
128 emake DESTDIR="${D}" install || die "emake install failed"
129 if use doc ; then
130 insinto /usr/share/doc/${PF}/html
131 doins -r Docs/* || die "doins Docs failed"
132 fi
133 if use examples ; then
134 insinto /usr/share/doc/${PF}/Samples
135 doins -r install-examples/* || die "doins Samples failed"
136 fi
137 dodoc AUTHORS BUGS LINUX.DEV README
138 }
139
140
141
142 --
143 gentoo-commits@l.g.o mailing list