diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-11-06 14:51:01 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-11-14 18:44:43 +0100 |
commit | 826612567b84723123e7b1e6ea82721f0cf65163 (patch) | |
tree | 33a7353d0f3662822bd8626d3fed5500a1e69243 /main | |
parent | 93344115dbed52449c78cf09fa3efdc7cd9b5e12 (diff) | |
download | aports-826612567b84723123e7b1e6ea82721f0cf65163.tar.bz2 aports-826612567b84723123e7b1e6ea82721f0cf65163.tar.xz |
main/mesa: upgrade to 17.2.4 and switch to llvm5
Diffstat (limited to 'main')
-rw-r--r-- | main/mesa/APKBUILD | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/main/mesa/APKBUILD b/main/mesa/APKBUILD index 0f5b25f687..2ca41f698d 100644 --- a/main/mesa/APKBUILD +++ b/main/mesa/APKBUILD @@ -1,12 +1,11 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=mesa -pkgver=17.1.4 -pkgrel=2 +pkgver=17.2.4 +pkgrel=0 pkgdesc="Mesa DRI OpenGL library" url="http://www.mesa3d.org" arch="all" license="LGPL" -depends= subpackages="$pkgname-dev $pkgname-dri-ati:_dri $pkgname-dri-nouveau:_dri @@ -18,22 +17,19 @@ subpackages="$pkgname-dev $pkgname-xatracker $pkgname-osmesa $pkgname-gbm $pkgname-libwayland-egl:_wayland " - -_llvmver=4 -depends_dev="libdrm-dev dri2proto libx11-dev libxext-dev libxxf86vm-dev - libxdamage-dev libxfixes-dev libxcb-dev glproto dri3proto presentproto - libxshmfence-dev" +_llvmver=5 +depends_dev="libdrm-dev dri2proto libxext-dev libxdamage-dev libxcb-dev glproto + dri3proto presentproto libxshmfence-dev" makedepends="$depends_dev expat-dev xextproto python3 libxt-dev makedepend talloc-dev py3-libxml2 flex bison llvm$_llvmver-dev eudev-dev libvdpau-dev libxvmc-dev gettext zlib-dev wayland-dev libelf-dev py-mako - autoconf automake libtool" + autoconf automake libtool libxxf86vm-dev libx11-dev libxfixes-dev" source="https://mesa.freedesktop.org/archive/mesa-$pkgver.tar.xz glx_ro_text_segm.patch musl-fixes.patch musl-fix-includes.patch drmdeps.patch " - replaces="mesa-dricore" _dri_driverdir=/usr/lib/xorg/modules/dri @@ -90,9 +86,9 @@ build() { --with-dri-drivers=${_dri_drivers} \ --with-vulcan-drivers=${_vulkan_drivers} \ --with-llvm-prefix=/usr/lib/llvm$_llvmver \ + --enable-llvm \ --enable-llvm-shared-libs \ - --enable-gallium-llvm \ - --with-egl-platforms=x11,drm,wayland \ + --with-platforms=x11,drm,wayland \ --enable-shared-glapi \ --enable-gbm \ --disable-glx-tls \ @@ -219,7 +215,7 @@ _dri() { && _mv_gpipe nouveau ;; freedreno) - _mv_dri msm_dri kgsl_dri + _mv_dri msm_dri kgsl_dri ;; swrast) _mv_dri swrast_dri kms_swrast_dri && _mv_gpipe swrast @@ -240,8 +236,8 @@ _wayland() { mv "$pkgdir"/usr/lib/libwayland-egl.so.* "$subpkgdir"/usr/lib/ } -sha512sums="cb8369f0edd3e17b4eee8da159b9dc487f8144d69fe4b95901e9aa6a924759866f26f91fc2ead7036707eecea41582185e7ce73d54f97bf310f198b72ee0a8e4 mesa-17.1.4.tar.xz +sha512sums="665b63aab6af3f8f263f182d85d9ad71db7a23bcbaf67d62fe53c258cb0f600266ac82e72d681ec20cf7c66b47d4076aad5c3f553519f19110ee577da2707085 mesa-17.2.4.tar.xz c3d4804ebc24c7216e4c9d4995fb92e116be7f478024b44808ee134a4c93bb51d1f66fe5fb6eca254f124c4abf6f81272b027824b3e2650a9607818bf793035a glx_ro_text_segm.patch 163bb96773686a7446f40a8415acef762910afb2f4f2271d429d9cbd9e3048111c8c0023c1f072fa63f33b68b2aea9d066efd9083904265151eeccbe8ccb7227 musl-fixes.patch c7d91a660a033df91fac9c557039efc8669f0c26b2d35997d50753938b70d1af0bd110dcab3f8236eafab7d4be5dd7cd128a3e057e67e7e6a38a73fd6a7ef62e musl-fix-includes.patch -1b2edb267d8bf54f68a8d886b838933d3aed91a1a19805ed9235c3e715a1a27847891279aa9a87fa8f799d2b39a18f12072b579e7d0c39fe7901c07b5fa64e8a drmdeps.patch" +1771179e603d1b32a2619eb9b6c166eb7ce82cbc774b3c47d2351bbf69c8e3c0bd26f1c4d3d4fa95d05ea886e2cc74f4fae1210d6d5790de146f9fb9e42bdb30 drmdeps.patch" |