weston: fix ppc build
This commit is contained in:
parent
fc35b3b628
commit
7fe7cb7f0f
|
@ -0,0 +1,11 @@
|
|||
--- 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'
|
||||
)
|
|
@ -27,10 +27,14 @@ build_options="elogind vaapi"
|
|||
desc_option_elogind="Use elogind for suidless startup"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64*|i686*|ppc64*)
|
||||
x86_64*|i686*)
|
||||
build_options_default+=" vaapi"
|
||||
configure_args+=" -Dsimple-dmabuf-drm=intel"
|
||||
;;
|
||||
ppc*)
|
||||
build_options_default+=" vaapi"
|
||||
configure_args+=" -Dsimple-dmabuf-drm=none"
|
||||
;;
|
||||
armv*|aarch*)
|
||||
configure_args+=" -Dsimple-dmabuf-drm=freedreno"
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue