aboutsummaryrefslogtreecommitdiffstats
path: root/main/mesa/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/mesa/APKBUILD')
-rw-r--r--main/mesa/APKBUILD35
1 files changed, 21 insertions, 14 deletions
diff --git a/main/mesa/APKBUILD b/main/mesa/APKBUILD
index 282dd1c19f..9003606cd1 100644
--- a/main/mesa/APKBUILD
+++ b/main/mesa/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mesa
-pkgver=7.10
-pkgrel=1
+pkgver=7.8.2
+pkgrel=6
pkgdesc="Mesa DRI OpenGL library"
url="http://www.mesa3d.org"
arch="all"
@@ -17,16 +17,15 @@ subpackages="$pkgname-dev
$pkgname-dri-swrast:swrast
$pkgname-dri-tdfx:tdfx
$pkgname-dri-unichrome:unichrome
- $pkgname-dri-nouveau:nouveau
+ $pkgname-demos
"
makedepends="pkgconfig libdrm-dev libxxf86vm-dev libxdamage-dev expat-dev
- dri2proto xextproto libx11-dev glproto python libxt-dev makedepend talloc-dev
- py-libxml2"
+ dri2proto xextproto libx11-dev glproto python libxt-dev"
source="ftp://ftp.freedesktop.org/pub/mesa/$pkgver/MesaLib-$pkgver.tar.bz2
- mesa-7.10-uclibc.patch
- mesa-7.10-uclibc-glsl.patch
- mesa-7.10-uclibc-gallium.patch"
+ ftp://ftp.freedesktop.org/pub/mesa/$pkgver/MesaDemos-$pkgver.tar.bz2
+ mesa-7.6.1-uclibc.patch
+ mesa-7.8-git.patch"
depends_dev="libdrm-dev dri2proto libx11-dev libxext-dev libxxf86vm-dev
libxdamage-dev libxfixes-dev libxcb-dev glproto"
@@ -65,7 +64,6 @@ build() {
--enable-xcb \
--enable-egl \
--enable-gles2 \
- --enable-gallium-nouveau \
--disable-gallium-egl \
--disable-glut \
--disable-glw || return 1
@@ -80,8 +78,12 @@ build() {
package() {
cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install || return 1
+ mkdir -p "$pkgdir"/usr/bin
+ cp "$_builddir"/progs/xdemos/glxinfo "$pkgdir"/usr/bin/glxinfo || return 1
+ cp "$_builddir"/progs/xdemos/glxgears "$pkgdir"/usr/bin/glxgears || return 1
}
+
_mv_dri() {
pkgdesc="Mesa DRI driver for $@"
install -d "$subpkgdir"/$_dri_driverdir
@@ -102,10 +104,15 @@ savage() { _mv_dri savage_dri; }
sis() { _mv_dri sis_dri; }
tdfx() { _mv_dri tdfx_dri; }
unichrome() { _mv_dri unichrome_dri; }
-nouveau() { _mv_dri nouveau_dri; }
swrast() { _mv_dri swrast_dri; }
-md5sums="33fb94eccc02cbb4d8d1365615e38e46 MesaLib-7.10.tar.bz2
-9c8c161f954f0d08895cd9d45e63f498 mesa-7.10-uclibc.patch
-03e9685b0d714e915c35fd0fb5fde810 mesa-7.10-uclibc-glsl.patch
-90a2ea438ff328443a0436a91a74d518 mesa-7.10-uclibc-gallium.patch"
+demos() {
+ pkgdesc="Mesa demo applications"
+ mkdir -p "$subpkgdir"/usr/
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
+}
+
+md5sums="6be2d343a0089bfd395ce02aaf8adb57 MesaLib-7.8.2.tar.bz2
+757d9e2e06f48b1a52848be9b0307ced MesaDemos-7.8.2.tar.bz2
+8d98e15310e0f2e1520beb9e6cb6ab41 mesa-7.6.1-uclibc.patch
+397c1249edcf03227697fef3f7129fe4 mesa-7.8-git.patch"