summaryrefslogtreecommitdiff
path: root/libre/mesa-demos-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/mesa-demos-libre/PKGBUILD')
-rw-r--r--libre/mesa-demos-libre/PKGBUILD26
1 files changed, 11 insertions, 15 deletions
diff --git a/libre/mesa-demos-libre/PKGBUILD b/libre/mesa-demos-libre/PKGBUILD
index 15c7e11b9..61eb044be 100644
--- a/libre/mesa-demos-libre/PKGBUILD
+++ b/libre/mesa-demos-libre/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 213124 2014-05-19 12:03:07Z lcarlier $
+# $Id: PKGBUILD 216566 2014-07-06 13:43:09Z andyrtr $
# Maintainer (Arch): Jan de Groot <jgc@archlinux.org>
# Maintainer (Arch): Andreas Radke <andyrtr@archlinux.org>
# Maintainer: André Silva <emulatorman@parabola.nu>
pkgname='mesa-demos-libre'
-pkgver=8.1.0
-pkgrel=2
+pkgver=8.2.0
+pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
pkgdesc="Mesa demos and tools, without nonfree demos"
url="http://mesa3d.sourceforge.net"
@@ -13,40 +13,36 @@ license=('custom')
provides=("mesa-demos=$pkgver")
replaces=('mesa-demos')
conflicts=('mesa-demos')
-depends=('libgl' 'glew')
+depends=('libgl' 'glew' 'freeglut')
mksource=("ftp://ftp.freedesktop.org/pub/mesa/demos/${pkgver}/mesa-demos-${pkgver}.tar.bz2")
source=("https://repo.parabolagnulinux.org/other/mesa-demos-libre/mesa-demos-libre-${pkgver}.tar.bz2"
'LICENSE'
- 'drawtex-resolve-glDrawTexfOES-extension-function.patch'
'libre.patch')
-mksha256sums=('9703fa0646b32a1e68d2abf5628f936f77bf97c69ffcaac90de380820a87a828')
-sha256sums=('b0b966cc08c4fd787cf0542118e07e2fe1f1bcc3752ff7676ebb1b4f2a1b86c8'
+mksha256sums=('e4bfecb5816ddd4b7b37c1bc876b63f1f7f06fda5879221a9774d0952f90ba92')
+sha256sums=('a16f31e0b36de9603339d5aaae3b7cded9f560411ca3309d259a12d6071707ca'
'7fdc119cf53c8ca65396ea73f6d10af641ba41ea1dd2bd44a824726e01c8b3f2'
- '963b3e45b2eccafea50fdab4f2fac17bd308f4c15522c00d4787b50ebb25423a'
- '476f58fc62e9074936643b0d61165c5160a6d5aed082e60c10b39d219f56913f')
+ '2c381ed421e734dac877116c82ff9df07a8a38658186bba9e95805d145e8eb56')
mksource() {
- cd "${srcdir}/mesa-demos-${pkgver}"
+ cd mesa-demos-${pkgver}
# remove nonfree demos (pointblast and spriteblast)
rm -v src/demos/{pointblast,spriteblast}.c
}
prepare() {
- cd "${srcdir}/mesa-demos-${pkgver}"
- # merged upstream
- patch -Np1 -i ../drawtex-resolve-glDrawTexfOES-extension-function.patch
+ cd mesa-demos-${pkgver}
# remove nonfree demos references (pointblast and spriteblast)
patch -Np1 -i ../libre.patch
}
build() {
- cd "${srcdir}/mesa-demos-${pkgver}"
+ cd mesa-demos-${pkgver}
./configure --prefix=/usr
make
}
package() {
- cd "${srcdir}/mesa-demos-${pkgver}"
+ cd mesa-demos-${pkgver}
make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/licenses/mesa-demos"
install -m755 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/mesa-demos/"