diff options
Diffstat (limited to 'main/mesa/APKBUILD')
-rw-r--r-- | main/mesa/APKBUILD | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/main/mesa/APKBUILD b/main/mesa/APKBUILD index 85b1f1ad2..1d45d900b 100644 --- a/main/mesa/APKBUILD +++ b/main/mesa/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=mesa pkgver=10.2.1 -pkgrel=0 +pkgrel=1 pkgdesc="Mesa DRI OpenGL library" url="http://www.mesa3d.org" arch="all" @@ -14,6 +14,7 @@ subpackages="$pkgname-dev $pkgname-dri-vmwgfx:vmwgfx $pkgname-dricore $pkgname-glapi $pkgname-egl $pkgname-gl $pkgname-gles $pkgname-xatracker $pkgname-osmesa $pkgname-gbm + $pkgname-libwayland-egl:_wayland " depends_dev="libdrm-dev dri2proto libx11-dev libxext-dev libxxf86vm-dev @@ -21,7 +22,7 @@ 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 + libxvmc-dev gettext zlib-dev wayland-dev autoconf automake libtool" source="ftp://ftp.freedesktop.org/pub/mesa/$pkgver/MesaLib-$pkgver.tar.bz2 glx_ro_text_segm.patch @@ -74,7 +75,7 @@ build() { --with-dri-drivers=${_dri_drivers} \ --enable-gallium-llvm \ --enable-gallium-egl \ - --with-egl-platforms=x11,drm \ + --with-egl-platforms=x11,drm,wayland \ --enable-shared-glapi \ --enable-gbm \ --enable-glx-tls \ @@ -205,6 +206,13 @@ nouveau() { _mv_dri nouveau_dri nouveau_vieux_dri \ swrast() { _mv_dri swrast_dri && _mv_gpipe swrast; } vmwgfx() { _mv_dri vmwgfx_dri && _mv_gpipe vmwgfx; } +_wayland() { + pkgdesc="Mesa libwayland-egl library" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libwayland-egl.so.* "$subpkgdir"/usr/lib/ \ + || return 1 +} + md5sums="093f9b5d077e5f6061dcd7b01b7aa51a MesaLib-10.2.1.tar.bz2 a1a766b4c6a96d67cad9bd7ad5c578e8 glx_ro_text_segm.patch 2e1cb6c497f6ef254c638a180e8ff406 musl-fixes.patch" |