diff options
Diffstat (limited to 'main/mesa')
-rw-r--r-- | main/mesa/APKBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/main/mesa/APKBUILD b/main/mesa/APKBUILD index dba93c4548..e8a670ca99 100644 --- a/main/mesa/APKBUILD +++ b/main/mesa/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=mesa pkgver=18.0.2 -pkgrel=0 +pkgrel=1 pkgdesc="Mesa DRI OpenGL library" url="http://www.mesa3d.org" arch="all" @@ -22,7 +22,8 @@ depends_dev="libdrm-dev dri2proto libxext-dev libxdamage-dev libxcb-dev glproto 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 libelf-dev py-mako libva-dev - autoconf automake libtool libxxf86vm-dev libx11-dev libxfixes-dev" + autoconf automake libtool libxxf86vm-dev libx11-dev libxfixes-dev + wayland-dev wayland-protocols" source="https://mesa.freedesktop.org/archive/mesa-$pkgver.tar.xz glx_ro_text_segm.patch musl-fix-includes.patch @@ -80,7 +81,7 @@ build() { --with-dri-drivers=${_dri_drivers} \ --with-vulkan-drivers=${_vulkan_drivers} \ --with-llvm-prefix=/usr/lib/llvm$_llvmver \ - --with-platforms=x11,drm \ + --with-platforms=x11,drm,wayland \ --enable-llvm \ --enable-llvm-shared-libs \ --enable-shared-glapi \ @@ -105,6 +106,10 @@ build() { package() { cd "$builddir" make DESTDIR="$pkgdir" install + + # provided by wayland + rm -v "$pkgdir"/usr/lib/libwayland-egl.so* + rm -v "$pkgdir"/usr/lib/pkgconfig/wayland-egl.pc } egl() { |