mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
main/mesa: re-enable drm platform
prefer libwayland-egl from wayland
This commit is contained in:
parent
620c883a5a
commit
f49d768294
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user