Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/coin: coin-3.1.3-r2.ebuild metadata.xml ChangeLog coin-3.1.0.ebuild
Date: Wed, 26 Dec 2012 14:30:21
Message-Id: 20121226143007.3AAB52171D@flycatcher.gentoo.org
1 jlec 12/12/26 14:30:07
2
3 Modified: metadata.xml ChangeLog
4 Added: coin-3.1.3-r2.ebuild
5 Removed: coin-3.1.0.ebuild
6 Log:
7 media-libs/coin: Add fix for build with gcc-4.7, #448614; move to EAPI=5 and autotools-utils.eclass; add some prefix awareness; drop old
8
9 (Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
10
11 Revision Changes Path
12 1.6 media-libs/coin/metadata.xml
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/coin/metadata.xml?rev=1.6&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/coin/metadata.xml?rev=1.6&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/coin/metadata.xml?r1=1.5&r2=1.6
17
18 Index: metadata.xml
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/media-libs/coin/metadata.xml,v
21 retrieving revision 1.5
22 retrieving revision 1.6
23 diff -u -r1.5 -r1.6
24 --- metadata.xml 24 Sep 2011 09:39:11 -0000 1.5
25 +++ metadata.xml 26 Dec 2012 14:30:07 -0000 1.6
26 @@ -1,10 +1,10 @@
27 <?xml version="1.0" encoding="UTF-8"?>
28 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
29 <pkgmetadata>
30 -<maintainer>
31 - <email>reavertm@g.o</email>
32 -</maintainer>
33 -<use>
34 - <flag name="simage">Texture loading via <pkg>media-libs/simage</pkg> library</flag>
35 -</use>
36 + <maintainer>
37 + <email>reavertm@g.o</email>
38 + </maintainer>
39 + <use>
40 + <flag name="simage">Texture loading via <pkg>media-libs/simage</pkg> library</flag>
41 + </use>
42 </pkgmetadata>
43
44
45
46 1.41 media-libs/coin/ChangeLog
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/coin/ChangeLog?rev=1.41&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/coin/ChangeLog?rev=1.41&content-type=text/plain
50 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/coin/ChangeLog?r1=1.40&r2=1.41
51
52 Index: ChangeLog
53 ===================================================================
54 RCS file: /var/cvsroot/gentoo-x86/media-libs/coin/ChangeLog,v
55 retrieving revision 1.40
56 retrieving revision 1.41
57 diff -u -r1.40 -r1.41
58 --- ChangeLog 5 May 2012 08:02:38 -0000 1.40
59 +++ ChangeLog 26 Dec 2012 14:30:07 -0000 1.41
60 @@ -1,6 +1,14 @@
61 # ChangeLog for media-libs/coin
62 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
63 -# $Header: /var/cvsroot/gentoo-x86/media-libs/coin/ChangeLog,v 1.40 2012/05/05 08:02:38 jdhore Exp $
64 +# $Header: /var/cvsroot/gentoo-x86/media-libs/coin/ChangeLog,v 1.41 2012/12/26 14:30:07 jlec Exp $
65 +
66 +*coin-3.1.3-r2 (26 Dec 2012)
67 +
68 + 26 Dec 2012; Justin Lecher <jlec@g.o> -coin-3.1.0.ebuild,
69 + +coin-3.1.3-r2.ebuild, +files/coin-3.1.3-gcc-4.7.patch,
70 + files/coin-3.1.3-pkgconfig-partial.patch, metadata.xml:
71 + Add fix for build with gcc-4.7, #448614; move to EAPI=5 and
72 + autotools-utils.eclass; add some prefix awareness; drop old
73
74 05 May 2012; Jeff Horelick <jdhore@g.o> coin-3.1.0.ebuild,
75 coin-3.1.3-r1.ebuild:
76
77
78
79 1.1 media-libs/coin/coin-3.1.3-r2.ebuild
80
81 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/coin/coin-3.1.3-r2.ebuild?rev=1.1&view=markup
82 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/coin/coin-3.1.3-r2.ebuild?rev=1.1&content-type=text/plain
83
84 Index: coin-3.1.3-r2.ebuild
85 ===================================================================
86 # Copyright 1999-2012 Gentoo Foundation
87 # Distributed under the terms of the GNU General Public License v2
88 # $Header: /var/cvsroot/gentoo-x86/media-libs/coin/coin-3.1.3-r2.ebuild,v 1.1 2012/12/26 14:30:07 jlec Exp $
89
90 EAPI=5
91
92 inherit autotools-utils flag-o-matic
93
94 MY_P=${P/c/C}
95
96 DESCRIPTION="A high-level 3D graphics toolkit, fully compatible with SGI Open Inventor 2.1."
97 HOMEPAGE="http://www.coin3d.org/"
98 SRC_URI="ftp://ftp.coin3d.org/pub/coin/src/all/${MY_P}.tar.gz"
99
100 LICENSE="|| ( GPL-2 PEL )"
101 KEYWORDS="~amd64 ~ppc ~x86"
102 SLOT="0"
103 IUSE="bzip2 debug doc javascript openal simage static-libs threads zlib"
104
105 # NOTE: expat is not really needed as --enable-system-expat is broken
106 RDEPEND="
107 dev-libs/expat
108 media-libs/fontconfig
109 media-libs/freetype:2
110 virtual/opengl
111 virtual/glu
112 x11-libs/libICE
113 x11-libs/libSM
114 x11-libs/libX11
115 x11-libs/libXext
116 bzip2? ( app-arch/bzip2 )
117 javascript? ( dev-lang/spidermonkey )
118 openal? ( media-libs/openal )
119 simage? ( media-libs/simage )
120 zlib? ( sys-libs/zlib )
121 "
122 DEPEND="${RDEPEND}
123 virtual/pkgconfig
124 x11-proto/xextproto
125 doc? ( app-doc/doxygen )
126 "
127 S="${WORKDIR}/${MY_P}"
128
129 PATCHES=(
130 "${FILESDIR}"/${PN}-3.1.0-javascript.patch
131 "${FILESDIR}"/${P}-pkgconfig-partial.patch
132 "${FILESDIR}"/${P}-gcc-4.7.patch
133 )
134
135 DOCS=(
136 AUTHORS FAQ FAQ.legal NEWS README RELNOTES THANKS
137 docs/{ChangeLog.v${PV},HACKING,oiki-launch.txt}
138 )
139
140 src_configure() {
141 append-cppflags -I"${EPREFIX}/usr/include/freetype2"
142 # Prefer link-time linking over dlopen
143 local myeconfargs=(
144 htmldir="/usr/share/doc/${PF}/html"
145 --disable-dl-fontconfig
146 --disable-dl-freetype
147 --disable-dl-libbzip2
148 --disable-dl-openal
149 --disable-dl-simage
150 --disable-dl-zlib
151 --disable-dyld
152 --disable-loadlibrary
153 --disable-man
154 --disable-java-wrapper
155 --enable-3ds-import
156 --enable-compact
157 --enable-dl-glu
158 --enable-dl-spidermonkey
159 --enable-system-expat
160 --includedir="/usr/include/${PN}"
161 --with-fontconfig
162 --with-freetype
163 $(use_with bzip2)
164 $(use_enable debug)
165 $(use_enable debug symbols)
166 $(use_enable doc html)
167 $(use_enable javascript javascript-api)
168 $(use_with javascript spidermonkey)
169 $(use_enable openal sound)
170 $(use_with openal)
171 $(use_with simage)
172 $(use_enable threads threadsafe)
173 $(use_with zlib)
174 )
175 autotools-utils_src_configure
176 }
177
178 src_install() {
179 # Remove Coin from Libs.private
180 sed -e '/Libs.private/s/ -lCoin//' -i "${BUILD_DIR}"/Coin.pc || die
181
182 autotools-utils_src_install
183 }