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 name: mesa
description: Open source implementations of OpenGL, OpenGL ES, Vulkan, OpenCL, and more description: Open source implementations of OpenGL, OpenGL ES, Vulkan, OpenCL, and more
version: 26.1.4 version: 26.1.4
revision: 1 revision: 2
url: https://www.mesa3d.org/ url: https://www.mesa3d.org/
license: MIT and BSD-3-Clause and SGI-B-2.0 license: MIT and BSD-3-Clause and SGI-B-2.0
maintainers: maintainers:
@@ -48,6 +48,12 @@ make_depends:
- wayland-protocols - wayland-protocols
- xcb-util-keysyms - xcb-util-keysyms
- xorgproto - xorgproto
flags:
- name: video-codecs
default_value: all_free
accepted_values:
- value: all_free
- value: all
provides: provides:
- opencl-driver - opencl-driver
- opengl-driver - opengl-driver
+1
View File
@@ -18,6 +18,7 @@ build() {
-Dmicrosoft-clc=disabled \ -Dmicrosoft-clc=disabled \
-Dglvnd=enabled \ -Dglvnd=enabled \
-Dvalgrind=enabled \ -Dvalgrind=enabled \
-Dvideo-codecs="$BPM_PKG_FLAG_VIDEO_CODECS" \
-Dlibunwind=disabled \ -Dlibunwind=disabled \
build build
meson compile -C build meson compile -C build