summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/core/mesa-demos/PKGBUILD27
1 files changed, 17 insertions, 10 deletions
diff --git a/abs/core/mesa-demos/PKGBUILD b/abs/core/mesa-demos/PKGBUILD
index 68d27a5..a54101b 100644
--- a/abs/core/mesa-demos/PKGBUILD
+++ b/abs/core/mesa-demos/PKGBUILD
@@ -3,28 +3,35 @@
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname='mesa-demos'
-pkgver=8.2.0
-pkgrel=3
-arch=('i686' 'x86_64')
-pkgdesc="Mesa demos and tools"
-url="http://mesa3d.sourceforge.net"
+pkgver=8.4.0
+pkgrel=1
+arch=('x86_64')
+pkgdesc="Mesa demos and tools incl. glxinfo + glxgears"
+url="https://www.mesa3d.org/"
license=('custom')
depends=('libgl' 'glew' 'freeglut')
-source=("ftp://ftp.freedesktop.org/pub/mesa/demos/${pkgver}/mesa-demos-${pkgver}.tar.bz2"
+makedepends=('mesa' 'freetype2' 'git')
+source=(https://mesa.freedesktop.org/archive/demos/mesa-demos-$pkgver.tar.bz2{,.sig}
'LICENSE')
-sha256sums=('e4bfecb5816ddd4b7b37c1bc876b63f1f7f06fda5879221a9774d0952f90ba92'
- '7fdc119cf53c8ca65396ea73f6d10af641ba41ea1dd2bd44a824726e01c8b3f2')
+sha512sums=('b72d03cad36e0535ff18dcfb222ec4200064b9264f6da51a6e5f03b0dd912abe188bc1d600b6698de3ce6f63b28d2ce01565886ca8e7079edc4967fbf2fb0957'
+ 'SKIP'
+ '25da77914dded10c1f432ebcbf29941124138824ceecaf1367b3deedafaecabc082d463abcfa3d15abff59f177491472b505bcb5ba0c4a51bb6b93b4721a23c2')
+validpgpkeys=('E390B9700582FAEA959ACAD41EEF53D38A3A9C67') # "Andreas Boll <andreas.boll.dev@gmail.com>"
build() {
- cd mesa-demos-${pkgver}
+ cd mesa-demos-$pkgver
./configure --prefix=/usr \
--with-system-data-files=/usr/share/mesa-demos
make
}
package() {
- cd mesa-demos-${pkgver}
+ cd mesa-demos-$pkgver
make DESTDIR="${pkgdir}" install
+
+ # add missing egl files
+ install -m 0755 src/egl/opengl/{eglgears_x11,eglinfo,eglkms,egltri_x11,peglgears,xeglgears,xeglthreads} "${pkgdir}/usr/bin/"
+
install -m755 -d "${pkgdir}/usr/share/licenses/mesa-demos"
install -m755 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/mesa-demos/"
}