summaryrefslogtreecommitdiffstats
path: root/abs/core/freeglut/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-16 03:35:30 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-16 03:35:30 (GMT)
commitaecdf02151d2f0d395864d4e3a5f78ee92e4f5eb (patch)
treeea896f0ca9f904b5a705565bbb3e6526b7945cfe /abs/core/freeglut/PKGBUILD
parentd9668f24d3e9edc4899cc0a4e6d6d8e9fd1207c0 (diff)
downloadlinhes_pkgbuild-aecdf02151d2f0d395864d4e3a5f78ee92e4f5eb.zip
linhes_pkgbuild-aecdf02151d2f0d395864d4e3a5f78ee92e4f5eb.tar.gz
linhes_pkgbuild-aecdf02151d2f0d395864d4e3a5f78ee92e4f5eb.tar.bz2
freeglut: up to latest
Diffstat (limited to 'abs/core/freeglut/PKGBUILD')
-rw-r--r--abs/core/freeglut/PKGBUILD33
1 files changed, 19 insertions, 14 deletions
diff --git a/abs/core/freeglut/PKGBUILD b/abs/core/freeglut/PKGBUILD
index 402ef70..7752309 100644
--- a/abs/core/freeglut/PKGBUILD
+++ b/abs/core/freeglut/PKGBUILD
@@ -1,30 +1,35 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 62079 2010-01-01 23:53:58Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=freeglut
-pkgver=2.4.0
-pkgrel=3
+pkgver=2.6.0
+pkgrel=1
pkgdesc="Provides functionality for small OpenGL programs"
arch=('i686' 'x86_64')
url="http://freeglut.sourceforge.net/"
-license=('custom')
-depends=('libxxf86vm' 'mesa')
+license=('MIT')
+depends=('libxxf86vm' 'mesa' 'libxi')
replaces=('glut')
provides=('glut')
conflicts=('glut')
options=('!libtool')
source=(http://downloads.sourceforge.net/freeglut/${pkgname}-${pkgver}.tar.gz \
- glut-cursor-inherit.patch)
-md5sums=('6d16873bd876fbf4980a927cfbc496a1' 'd6ba7e22ebb0fd7904b8e18c97475ba6')
-sha1sums=('91a528aa72758b7288a0d69a964b1b7e3f322a12' '9353d7b811fdfd6f0c5766f0e93924ca63e9d6a9')
+ 2.6.0-GFX_radeon.patch)
+md5sums=('39f0f2de89f399529d2b981188082218' '6d0a018fe4f0bc9ace2b244ca59514d3')
+sha1sums=('68306c4486c13d005a4e4d54035e0c0b1bdc220b' '2e392c7d0b60016ec89e6a5edf504f5722351b95')
build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
- patch -Np1 -i ${startdir}/src/glut-cursor-inherit.patch || return 1
- sed -i 's/-Werror//' configure
- ./configure --prefix=/usr
+ cd "${srcdir}/${pkgname}-${pkgver}"
+# fixes an issue with the radeon[hd] ATI opensource drivers
+# ref: http://bugs.gentoo.org/show_bug.cgi?id=295163
+ patch -p0 -i "${srcdir}/2.6.0-GFX_radeon.patch" || return 1
+
+ ./configure --prefix=/usr || return 1
make all || return 1
- make DESTDIR=${startdir}/pkg install
- install -D -m644 COPYING ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING
+}
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install || return 1
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
}