aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/mesa/APKBUILD37
1 files changed, 20 insertions, 17 deletions
diff --git a/main/mesa/APKBUILD b/main/mesa/APKBUILD
index 0ef9b04542..35050fdc43 100644
--- a/main/mesa/APKBUILD
+++ b/main/mesa/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mesa
-pkgver=10.2.7
+pkgver=10.3.0
pkgrel=0
pkgdesc="Mesa DRI OpenGL library"
url="http://www.mesa3d.org"
@@ -22,9 +22,9 @@ depends_dev="libdrm-dev dri2proto libx11-dev libxext-dev libxxf86vm-dev
libxshmfence-dev"
makedepends="$depends_dev expat-dev xextproto python libxt-dev makedepend
talloc-dev py-libxml2 flex bison llvm-dev udev-dev libvdpau-dev
- libxvmc-dev gettext zlib-dev wayland-dev
+ libxvmc-dev gettext zlib-dev wayland-dev libelf-dev
autoconf automake libtool"
-source="ftp://ftp.freedesktop.org/pub/mesa/$pkgver/MesaLib-$pkgver.tar.bz2
+source="ftp://ftp.freedesktop.org/pub/mesa/${pkgver%.*}/MesaLib-$pkgver.tar.bz2
glx_ro_text_segm.patch
musl-fixes.patch
"
@@ -68,11 +68,11 @@ build() {
--sysconfdir=/etc \
--with-dri-driverdir=$_dri_driverdir \
--disable-asm \
- --enable-pic \
--enable-glx-rts \
- --with-gallium-drivers=r300,r600,nouveau,svga,swrast \
+ --with-gallium-drivers=r300,r600,radeonsi,nouveau,svga,swrast \
--with-dri-drivers=${_dri_drivers} \
--enable-gallium-llvm \
+ --enable-llvm-shared-libs \
--enable-gallium-egl \
--with-egl-platforms=x11,drm,wayland \
--enable-shared-glapi \
@@ -187,22 +187,25 @@ _mv_vdpau() {
}
_mv_gpipe() {
- local i
- install -d "$subpkgdir"/usr/lib/gallium-pipe
- for i in "$@"; do
- mv "$pkgdir"/usr/lib/gallium-pipe/pipe_$i.* \
- "$subpkgdir"/usr/lib/gallium-pipe/ || return 1
- done
+ return 0
+ # http://cgit.freedesktop.org/mesa/mesa/commit/?id=44ec468e8033553c26a112cebba41c343db00eb1
+ # https://code.google.com/p/chromium/issues/detail?id=412089
+# local i
+# install -d "$subpkgdir"/usr/lib/gallium-pipe
+# for i in "$@"; do
+# mv "$pkgdir"/usr/lib/gallium-pipe/pipe_$i.* \
+# "$subpkgdir"/usr/lib/gallium-pipe/ || return 1
+# done
}
-ati() { _mv_dri radeon_dri r200_dri r300_dri r600_dri \
- && _mv_vdpau r600 \
+ati() { _mv_dri radeon_dri r200_dri r300_dri r600_dri radeonsi_dri \
+ && _mv_vdpau r600 radeonsi \
&& _mv_gpipe r300 r600; }
intel() { _mv_dri i915_dri i965_dri; }
nouveau() { _mv_dri nouveau_dri nouveau_vieux_dri \
&& _mv_vdpau nouveau \
&& _mv_gpipe nouveau; }
-swrast() { _mv_dri swrast_dri && _mv_gpipe swrast; }
+swrast() { _mv_dri swrast_dri kms_swrast_dri && _mv_gpipe swrast; }
vmwgfx() { _mv_dri vmwgfx_dri && _mv_gpipe vmwgfx; }
_wayland() {
@@ -212,12 +215,12 @@ _wayland() {
|| return 1
}
-md5sums="b54b793d5b60b9da31ba1f86a6f82bf8 MesaLib-10.2.7.tar.bz2
+md5sums="bc071575596a074df2b15cac57c01ed8 MesaLib-10.3.0.tar.bz2
a1a766b4c6a96d67cad9bd7ad5c578e8 glx_ro_text_segm.patch
2e1cb6c497f6ef254c638a180e8ff406 musl-fixes.patch"
-sha256sums="27b958063a4c002071f14ed45c7d2a1ee52cd85e4ac8876e8a1c273495a7d43f MesaLib-10.2.7.tar.bz2
+sha256sums="0283bfe710fa449ed82e465cfa09612a269e19abb7e0382082608062ce7960b5 MesaLib-10.3.0.tar.bz2
004f52adefaeccfd4553e0b1d09ad769891d69d05880094c7a45d19623e674a6 glx_ro_text_segm.patch
c0ac7cbc13b264f59910644b0e5fd9c590c0f57cc6b50f71a0560bccfd9d2342 musl-fixes.patch"
-sha512sums="c6d346499ef9596d3b5cd0bdc0ec64b58e8170203e0c977c54b55652c8792beb471822c101461745f7228a7d15a43924211f56fc0cc989defdc1acc4ea7b8a71 MesaLib-10.2.7.tar.bz2
+sha512sums="c5edc62dcd953b67307cd8a10921ad3f07bd72cdb81ca69f68706a757fd6c5e439f05f546e401e0b5e6923e0decdf34f0b48dcc1d8a758508a7f8fedb734442c MesaLib-10.3.0.tar.bz2
c3d4804ebc24c7216e4c9d4995fb92e116be7f478024b44808ee134a4c93bb51d1f66fe5fb6eca254f124c4abf6f81272b027824b3e2650a9607818bf793035a glx_ro_text_segm.patch
4b30e1cbbc97f05a4ff47f6cfb7f58f3ce5d584f3b1be5aabe598e40e985f3476c9599a556c00851f25d4c58467118b755e4b6ac7e5226a007031117504f3889 musl-fixes.patch"