Add package flags

This commit is contained in:
2026-07-10 12:23:21 +03:00
parent 66ec3bfa5c
commit 83b7db8dc5
2 changed files with 18 additions and 11 deletions
+7 -1
View File
@@ -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
+1
View File
@@ -18,6 +18,7 @@ build() {
-Dmicrosoft-clc=disabled \
-Dglvnd=enabled \
-Dvalgrind=enabled \
-Dvideo-codecs="$BPM_PKG_FLAG_VIDEO_CODECS" \
-Dlibunwind=disabled \
build
meson compile -C build