summaryrefslogtreecommitdiff
path: root/libre/mesa/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/mesa/PKGBUILD')
-rw-r--r--libre/mesa/PKGBUILD41
1 files changed, 16 insertions, 25 deletions
diff --git a/libre/mesa/PKGBUILD b/libre/mesa/PKGBUILD
index e0832fed3..b132b4527 100644
--- a/libre/mesa/PKGBUILD
+++ b/libre/mesa/PKGBUILD
@@ -2,32 +2,26 @@
pkgbase=mesa
pkgname=("${pkgbase}")
-pkgver=17.0.4
-pkgrel=2.parabola1
+pkgver=17.1.0
+pkgrel=1.parabola1
arch=('i686' 'x86_64' 'armv7h')
makedepends=('python2-mako' 'libxml2' 'libx11' 'glproto' 'libdrm' 'dri2proto' 'dri3proto' 'presentproto'
'libxshmfence' 'libxxf86vm' 'libxdamage' 'libvdpau' 'libva' 'wayland' 'elfutils' 'llvm'
- 'libomxil-bellagio' 'libclc' 'clang' 'libglvnd')
+ 'libomxil-bellagio' 'libclc' 'clang' 'libglvnd' 'libunwind' 'lm_sensors')
url="http://mesa3d.sourceforge.net"
license=('custom')
source=(https://mesa.freedesktop.org/archive/mesa-${pkgver}.tar.xz{,.sig}
LICENSE
drirc
- remove-libpthread-stubs.patch
- 0001-EGL-Implement-the-libglvnd-interface-for-EGL-v2.patch
0001-Fix-linkage-against-shared-glapi.patch
- 0001-glapi-Link-with-glapi-when-built-shared.patch
- 0002-fixup-EGL-Implement-the-libglvnd-interface-for-EGL-v.patch
+ 0001-glxglvnddispatch-Add-missing-dispatch-for-GetDriverC.patch
glvnd-fix-gl-dot-pc.patch)
-sha256sums=('1269dc8545a193932a0779b2db5bce9be4a5f6813b98c38b93b372be8362a346'
+sha256sums=('cf234a6ed4764673886b6661553b54675776ef0898f774716173cec890ac3b17'
'SKIP'
'7fdc119cf53c8ca65396ea73f6d10af641ba41ea1dd2bd44a824726e01c8b3f2'
'2cc6f40076e07a2d4769557c1aa40e5b6fbbb59c38e551c1a1997ef0d3f3c5f2'
- '75ab53ad44b95204c788a2988e97a5cb963bdbf6072a5466949a2afb79821c8f'
- '1d3475dc2f4f3e450cf313130d3ce965f933f396058828fa843c0df8115feeb9'
'c68d1522f9bce4ce31c92aa7a688da49f13043f5bb2254795b76dea8f47130b7'
- '064dcd5a3ab1b7c23383e2cafbd37859e4c353f8839671d9695c6f7c2ef3260b'
- '81d0ced62f61677ea0cf5f69a491093409fa1370f2ef045c41106ca8bf9c46f6'
+ '4a0620f9197a65f830e3c512faba374a4bde45fee9e11f82321774c24d08232d'
'64a77944a28026b066c1682c7258d02289d257b24b6f173a9f7580c48beed966')
validpgpkeys=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D') # Emil Velikov <emil.l.velikov@gmail.com>
validpgpkeys+=('946D09B5E4C9845E63075FF1D961C596A7203456') # "Andres Gomez <tanty@igalia.com>"
@@ -35,17 +29,11 @@ validpgpkeys+=('946D09B5E4C9845E63075FF1D961C596A7203456') # "Andres Gomez <tan
prepare() {
cd ${srcdir}/mesa-${pkgver}
- # Now mesa checks for libpthread-stubs - so remove the check
- patch -Np1 -i ../remove-libpthread-stubs.patch
-
# glvnd support patches - from Fedora
- # https://patchwork.freedesktop.org/series/12354/, v3 & v4
- patch -Np1 -i ../0001-EGL-Implement-the-libglvnd-interface-for-EGL-v2.patch
- patch -Np1 -i ../0002-fixup-EGL-Implement-the-libglvnd-interface-for-EGL-v.patch
# non-upstreamed ones
patch -Np1 -i ../glvnd-fix-gl-dot-pc.patch
patch -Np1 -i ../0001-Fix-linkage-against-shared-glapi.patch
- patch -Np1 -i ../0001-glapi-Link-with-glapi-when-built-shared.patch
+ patch -Np1 -i ../0001-glxglvnddispatch-Add-missing-dispatch-for-GetDriverC.patch
autoreconf -fiv
}
@@ -55,14 +43,14 @@ build() {
case "$CARCH" in
x86_64|i686)
- GALLIUM=r300,r600,radeonsi,nouveau,svga,swrast,virgl
+ GALLIUM=r300,r600,radeonsi,nouveau,svga,swrast,virgl,swr
DRI=i915,i965,r200,radeon,nouveau,swrast
VULKAN=intel,radeon
VDPAU_AND_XA='--enable-xa --enable-vdpau'
OPENCL='--enable-opencl --enable-opencl-icd'
;;
armv7h)
- GALLIUM=freedreno,nouveau,swrast,virgl,vc4,etnaviv,imx
+ GALLIUM=freedreno,nouveau,swrast,virgl,swr,vc4,etnaviv,imx
DRI=nouveau,swrast
VULKAN=
VDPAU_AND_XA=
@@ -75,13 +63,15 @@ build() {
--with-dri-driverdir=/usr/lib/xorg/modules/dri \
--with-gallium-drivers=${GALLIUM} \
--with-dri-drivers=${DRI} \
- --with-egl-platforms=x11,drm,wayland \
+ --with-platforms=x11,drm,wayland \
--with-vulkan-drivers=${VULKAN} \
--disable-xvmc \
- --enable-gallium-llvm \
+ --enable-llvm \
--enable-llvm-shared-libs \
--enable-shared-glapi \
--enable-libglvnd \
+ --enable-libunwind \
+ --enable-lmsensors \
--enable-egl \
--enable-glx \
--enable-glx-tls \
@@ -90,13 +80,13 @@ build() {
--enable-gbm \
--enable-dri \
--enable-gallium-osmesa \
+ --enable-gallium-extra-hud \
--enable-texture-float \
$VDPAU_AND_XA \
--enable-omx \
--enable-nine \
$OPENCL \
--with-clang-libdir=/usr/lib
- #--with-sha1=libgcrypt \
make
@@ -108,7 +98,7 @@ build() {
package_mesa() {
pkgdesc="A free implementation of the OpenGL specification, without nonfree software recommendations in drirc"
depends=('libdrm' 'wayland' 'libxxf86vm' 'libxdamage' 'libxshmfence' 'libelf'
- 'libomxil-bellagio' 'libtxc_dxtn' 'llvm-libs' 'libglvnd')
+ 'libomxil-bellagio' 'libtxc_dxtn' 'libunwind' 'llvm-libs' 'lm_sensors' 'libglvnd')
optdepends=('opengl-man-pages: for the OpenGL API man pages'
'mesa-vdpau: for accelerated video playback'
'libva-mesa-driver: for accelerated video playback')
@@ -131,6 +121,7 @@ package_mesa() {
cp -rv ${srcdir}/fakeinstall/usr/lib/lib{gbm,glapi}.so* ${pkgdir}/usr/lib/
cp -rv ${srcdir}/fakeinstall/usr/lib/libOSMesa.so* ${pkgdir}/usr/lib/
cp -rv ${srcdir}/fakeinstall/usr/lib/libwayland*.so* ${pkgdir}/usr/lib/
+ cp -rv ${srcdir}/fakeinstall/usr/lib/libswrAVX*.so* ${pkgdir}/usr/lib/
if [ "$CARCH" != "armv7h" ]; then
cp -rv ${srcdir}/fakeinstall/usr/lib/libxatracker.so* ${pkgdir}/usr/lib/