1 |
chithanh 12/07/30 21:39:09 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: freeglut-2.8.0-r1.ebuild |
5 |
Log: |
6 |
Don't build demo that fails with newer mesa, bug #428382. |
7 |
|
8 |
(Portage version: 2.2.0_alpha115/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.89 media-libs/freeglut/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/freeglut/ChangeLog?rev=1.89&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/freeglut/ChangeLog?rev=1.89&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/freeglut/ChangeLog?r1=1.88&r2=1.89 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/freeglut/ChangeLog,v |
20 |
retrieving revision 1.88 |
21 |
retrieving revision 1.89 |
22 |
diff -u -r1.88 -r1.89 |
23 |
--- ChangeLog 10 May 2012 18:28:01 -0000 1.88 |
24 |
+++ ChangeLog 30 Jul 2012 21:39:08 -0000 1.89 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for media-libs/freeglut |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/freeglut/ChangeLog,v 1.88 2012/05/10 18:28:01 aballier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freeglut/ChangeLog,v 1.89 2012/07/30 21:39:08 chithanh Exp $ |
30 |
+ |
31 |
+*freeglut-2.8.0-r1 (30 Jul 2012) |
32 |
+ |
33 |
+ 30 Jul 2012; Chí-Thanh Christopher Nguyễn <chithanh@g.o> |
34 |
+ +freeglut-2.8.0-r1.ebuild: |
35 |
+ Don't build demo that fails with newer mesa, bug #428382. |
36 |
|
37 |
10 May 2012; Alexis Ballier <aballier@g.o> freeglut-2.8.0.ebuild: |
38 |
keyword ~amd64-fbsd |
39 |
@@ -314,4 +320,3 @@ |
40 |
+freeglut-2.2.0.ebuild: |
41 |
Initial import. Thanks to Tamer Fahmy <tamer@×××××××.at> for the ebuild |
42 |
submission. This closes bug 36783. |
43 |
- |
44 |
|
45 |
|
46 |
|
47 |
1.1 media-libs/freeglut/freeglut-2.8.0-r1.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/freeglut/freeglut-2.8.0-r1.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/freeglut/freeglut-2.8.0-r1.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: freeglut-2.8.0-r1.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2012 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/freeglut/freeglut-2.8.0-r1.ebuild,v 1.1 2012/07/30 21:39:08 chithanh Exp $ |
57 |
|
58 |
EAPI=4 |
59 |
inherit eutils libtool |
60 |
|
61 |
DESCRIPTION="A completely OpenSourced alternative to the OpenGL Utility Toolkit (GLUT) library" |
62 |
HOMEPAGE="http://freeglut.sourceforge.net/" |
63 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
64 |
|
65 |
LICENSE="MIT" |
66 |
SLOT="0" |
67 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
68 |
IUSE="debug static-libs" |
69 |
|
70 |
RDEPEND="virtual/glu |
71 |
virtual/opengl |
72 |
x11-libs/libX11 |
73 |
x11-libs/libXext |
74 |
>=x11-libs/libXi-1.3 |
75 |
x11-libs/libXrandr |
76 |
x11-libs/libXxf86vm" |
77 |
DEPEND="${RDEPEND} |
78 |
x11-proto/inputproto |
79 |
x11-proto/xproto" |
80 |
|
81 |
DOCS="AUTHORS ChangeLog NEWS README TODO" |
82 |
|
83 |
src_prepare() { |
84 |
# Please read the comments in the patch before thinking about dropping it |
85 |
# yet again... |
86 |
epatch "${FILESDIR}"/${PN}-2.4.0-bsd-usb-joystick.patch |
87 |
|
88 |
# smooth_opengl3 demo doesn't build with recent mesa, bug #428382 |
89 |
sed -i "s/smooth_opengl3 //" progs/demos/Makefile.* || die |
90 |
|
91 |
# Needed for sane .so versionning on bsd, please don't drop |
92 |
elibtoolize |
93 |
} |
94 |
|
95 |
src_configure() { |
96 |
econf \ |
97 |
$(use_enable static-libs static) \ |
98 |
--enable-replace-glut \ |
99 |
$(use_enable debug) |
100 |
} |
101 |
|
102 |
src_install() { |
103 |
default |
104 |
dohtml -r doc |
105 |
find "${ED}" -name '*.la' -exec rm -f {} + |
106 |
} |