aboutsummaryrefslogtreecommitdiffstats
path: root/main/mesa
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-05-16 19:15:51 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-05-16 19:17:04 +0000
commitf49d7682944d6d551b0b9d8bf97d4018fcb1836d (patch)
treea8e03789273b84e4a6b6e159fc3e139a4a077ae8 /main/mesa
parent620c883a5af702e7a0e56b5aaaeb38e29fae6f7a (diff)
downloadaports-f49d7682944d6d551b0b9d8bf97d4018fcb1836d.tar.bz2
aports-f49d7682944d6d551b0b9d8bf97d4018fcb1836d.tar.xz
main/mesa: re-enable drm platform
prefer libwayland-egl from wayland
Diffstat (limited to 'main/mesa')
-rw-r--r--main/mesa/APKBUILD11
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() {