Add package flags
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
name: mesa
|
||||
description: Open source implementations of OpenGL, OpenGL ES, Vulkan, OpenCL, and more
|
||||
version: 26.1.4
|
||||
revision: 1
|
||||
revision: 2
|
||||
url: https://www.mesa3d.org/
|
||||
license: MIT and BSD-3-Clause and SGI-B-2.0
|
||||
maintainers:
|
||||
@@ -48,6 +48,12 @@ make_depends:
|
||||
- wayland-protocols
|
||||
- xcb-util-keysyms
|
||||
- xorgproto
|
||||
flags:
|
||||
- name: video-codecs
|
||||
default_value: all_free
|
||||
accepted_values:
|
||||
- value: all_free
|
||||
- value: all
|
||||
provides:
|
||||
- opencl-driver
|
||||
- opengl-driver
|
||||
|
||||
@@ -5,20 +5,21 @@
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
meson setup --prefix=/usr \
|
||||
--libdir=/usr/lib \
|
||||
--buildtype=release \
|
||||
meson setup --prefix=/usr \
|
||||
--libdir=/usr/lib \
|
||||
--buildtype=release \
|
||||
-Dplatforms=x11,wayland \
|
||||
-Dvulkan-drivers=amd,gfxstream,intel,intel_hasvk,nouveau,swrast,virtio,microsoft-experimental \
|
||||
-Dvulkan-drivers=amd,gfxstream,intel,intel_hasvk,nouveau,swrast,virtio,microsoft-experimental \
|
||||
-Dgallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,llvmpipe,softpipe,iris,crocus,i915,zink,d3d12 \
|
||||
-D gallium-extra-hud=true \
|
||||
-D gallium-extra-hud=true \
|
||||
-D gallium-mediafoundation=disabled \
|
||||
-D gallium-rusticl=true \
|
||||
-D gallium-rusticl=true \
|
||||
-Dandroid-libbacktrace=disabled \
|
||||
-Dmicrosoft-clc=disabled \
|
||||
-Dglvnd=enabled \
|
||||
-Dvalgrind=enabled \
|
||||
-Dlibunwind=disabled \
|
||||
-Dmicrosoft-clc=disabled \
|
||||
-Dglvnd=enabled \
|
||||
-Dvalgrind=enabled \
|
||||
-Dvideo-codecs="$BPM_PKG_FLAG_VIDEO_CODECS" \
|
||||
-Dlibunwind=disabled \
|
||||
build
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user