Add package flags
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user