weston: better way to disable simple-dmabuf-drm

[ci skip]
This commit is contained in:
q66 2019-03-30 03:11:08 +01:00 committed by maxice8
parent 18b7e092e3
commit 4ef5e4215a
2 changed files with 1 additions and 12 deletions

View file

@ -1,11 +0,0 @@
--- meson_options.txt
+++ meson_options.txt
@@ -167,7 +167,7 @@ option(
option(
'simple-dmabuf-drm',
type: 'array',
- choices: [ 'auto', 'intel', 'freedreno', 'etnaviv' ],
+ choices: [ 'none', 'auto', 'intel', 'freedreno', 'etnaviv' ],
value: [ 'intel', 'freedreno', 'etnaviv' ],
description: 'List of DRM drivers to be supported by weston-simple-dmabuf-drm'
)

View file

@ -33,7 +33,7 @@ case "$XBPS_TARGET_MACHINE" in
;;
ppc*)
build_options_default+=" vaapi"
configure_args+=" -Dsimple-dmabuf-drm=none"
configure_args+=" -Dsimple-dmabuf-drm=[]"
;;
armv*|aarch*)
configure_args+=" -Dsimple-dmabuf-drm=freedreno"