summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2006-07-27 16:18:39 +0000
committerPatrick McLean <chutzpah@gentoo.org>2006-07-27 16:18:39 +0000
commitef9afb29fbbea3787cb044f5a47321e88899f4ef (patch)
tree4f872c1d3cbc088a7b98d3c558c0ea0a4a39f6b0 /media-libs/gle
parentMarking stable for gcc 4.1.1 and bug #140707. (diff)
downloadgentoo-2-ef9afb29fbbea3787cb044f5a47321e88899f4ef.tar.gz
gentoo-2-ef9afb29fbbea3787cb044f5a47321e88899f4ef.tar.bz2
gentoo-2-ef9afb29fbbea3787cb044f5a47321e88899f4ef.zip
New revision. Update ebuild to always build against xorg-x11, since nvidia's opengl seems to be broken (bug #141859).
(Portage version: 2.1.1_pre2-r8)
Diffstat (limited to 'media-libs/gle')
-rw-r--r--media-libs/gle/ChangeLog16
-rw-r--r--media-libs/gle/files/digest-gle-3.1.0-r13
-rw-r--r--media-libs/gle/gle-3.1.0-r1.ebuild43
3 files changed, 58 insertions, 4 deletions
diff --git a/media-libs/gle/ChangeLog b/media-libs/gle/ChangeLog
index dcedaf83ee69..9676582da8bb 100644
--- a/media-libs/gle/ChangeLog
+++ b/media-libs/gle/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-libs/gle
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gle/ChangeLog,v 1.21 2006/07/26 13:23:50 chutzpah Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gle/ChangeLog,v 1.22 2006/07/27 16:18:39 chutzpah Exp $
+
+*gle-3.1.0-r1 (27 Jul 2006)
+
+ 27 Jul 2006; Patrick McLean <chutzpah@gentoo.org> +gle-3.1.0-r1.ebuild:
+ New revision. Update ebuild to always build against xorg-x11, since nvidia's
+ opengl seems to be broken (bug #141859). Original ebuild contributed by
+ Samuli Suominen <sasuomin@uusikaupunki.fi> with patches from Tiziano Müller
+ <gentoo@dev-zero.ch>.
26 Jul 2006; Patrick McLean <chutzpah@gentoo.org>
+files/gle-3.1.0-amd64-skip-example.patch, gle-3.1.0.ebuild:
@@ -16,15 +24,15 @@
*gle-3.0.1-r3 (23 Jun 2006)
- 23 Jun 2006; Petteri Räty <betelgeuse@gentoo.org> +gle-3.0.1-r3.ebuild:
+ 23 Jun 2006; Petteri Räty <betelgeuse@gentoo.org> +gle-3.0.1-r3.ebuild:
Added a doc use flag for the html documentation that was previously always
installed.
- 18 May 2006; Harald van Dijk <truedfx@gentoo.org>
+ 18 May 2006; Harald van Dijk <truedfx@gentoo.org>
+files/configure-LANG.patch, gle-3.0.1-r2.ebuild:
Fix compilation with et_EE locale (#133625)
- 18 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> gle-3.0.1-r2.ebuild:
+ 18 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> gle-3.0.1-r2.ebuild:
Replace malloc.h inclusions with stdlib.h inclusions to build on FreeBSD and
OSX. Bug #130340.
diff --git a/media-libs/gle/files/digest-gle-3.1.0-r1 b/media-libs/gle/files/digest-gle-3.1.0-r1
new file mode 100644
index 000000000000..5e1bdae08b11
--- /dev/null
+++ b/media-libs/gle/files/digest-gle-3.1.0-r1
@@ -0,0 +1,3 @@
+MD5 da5b45c6906343d4a3672c3de35513ad gle-3.1.0.tar.gz 806861
+RMD160 49f217cf79ccc3c7e2802ae4347c15498f43db59 gle-3.1.0.tar.gz 806861
+SHA256 dc8a74b5632b2c3fc84d33c2bf6ee43210b71b8ddf0a3166a25aeb46620bfa27 gle-3.1.0.tar.gz 806861
diff --git a/media-libs/gle/gle-3.1.0-r1.ebuild b/media-libs/gle/gle-3.1.0-r1.ebuild
new file mode 100644
index 000000000000..b79f76c41242
--- /dev/null
+++ b/media-libs/gle/gle-3.1.0-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gle/gle-3.1.0-r1.ebuild,v 1.1 2006/07/27 16:18:39 chutzpah Exp $
+
+inherit autotools multilib
+
+# Using method from media-libs/mesa.
+
+DESCRIPTION="GL extrusion library"
+HOMEPAGE="http://www.linas.org/gle"
+SRC_URI="http://www.linas.org/gle/pub/${P}.tar.gz"
+
+LICENSE="Artistic GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc"
+
+DEPEND="virtual/opengl
+ virtual/glu
+ virtual/glut
+ app-admin/eselect-opengl"
+
+src_compile() {
+ # Replace inclusion of malloc.h with stdlib.h as needed by Mac OS X and
+ # FreeBSD. See bug #130340.
+ sed -i -e 's:malloc.h:stdlib.h:g' src/*
+
+ # Don't build binary examples as they never get installed. See bug 141859.
+ sed -i -e 's:examples::' Makefile.am
+ eautoreconf
+
+ econf --with-x \
+ --x-libraries=/usr/$(get_libdir)/opengl/xorg-x11 \
+ || die "econf failed."
+
+ emake || die "emake failed."
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed."
+ dodoc AUTHORS ChangeLog NEWS README
+ use doc || rm -rf "${D}"/usr/share/doc/gle
+}