summaryrefslogtreecommitdiff
path: root/extra/freeglut/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/freeglut/PKGBUILD')
-rw-r--r--extra/freeglut/PKGBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/extra/freeglut/PKGBUILD b/extra/freeglut/PKGBUILD
index 278a0ca3a..d05d24f5c 100644
--- a/extra/freeglut/PKGBUILD
+++ b/extra/freeglut/PKGBUILD
@@ -1,15 +1,16 @@
-# $Id: PKGBUILD 147152 2012-01-23 14:30:00Z heftig $
+# $Id: PKGBUILD 168622 2012-10-13 15:13:40Z andyrtr $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=freeglut
pkgver=2.8.0
-pkgrel=1
+pkgrel=2
pkgdesc="Provides functionality for small OpenGL programs"
arch=('i686' 'x86_64' 'mips64el')
url="http://freeglut.sourceforge.net/"
license=('MIT')
-depends=('libxxf86vm' 'mesa' 'libxi')
+depends=('libxi' 'libxrandr' 'libgl')
+makedepends=('mesa' 'glu' 'libxxf86vm')
replaces=('glut')
provides=('glut')
conflicts=('glut')
@@ -20,6 +21,11 @@ sha1sums=('4debbe559c6c9841ce1abaddc9d461d17c6083b1')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # smooth_opengl3 demo doesn't build with recent mesa, Gentoo bug #428382
+ sed -i "s/smooth_opengl3 //" progs/demos/Makefile.*
+
+ autoreconf -vfi
./configure --prefix=/usr --disable-static
make all
}