mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 00:23:52 +02:00
weston: fix ppc build
This commit is contained in:
parent
fc35b3b628
commit
7fe7cb7f0f
2 changed files with 16 additions and 1 deletions
11
srcpkgs/weston/patches/simple-dmabuf-drm-disable.patch
Normal file
11
srcpkgs/weston/patches/simple-dmabuf-drm-disable.patch
Normal file
|
@ -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"
|
desc_option_elogind="Use elogind for suidless startup"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
x86_64*|i686*|ppc64*)
|
x86_64*|i686*)
|
||||||
build_options_default+=" vaapi"
|
build_options_default+=" vaapi"
|
||||||
configure_args+=" -Dsimple-dmabuf-drm=intel"
|
configure_args+=" -Dsimple-dmabuf-drm=intel"
|
||||||
;;
|
;;
|
||||||
|
ppc*)
|
||||||
|
build_options_default+=" vaapi"
|
||||||
|
configure_args+=" -Dsimple-dmabuf-drm=none"
|
||||||
|
;;
|
||||||
armv*|aarch*)
|
armv*|aarch*)
|
||||||
configure_args+=" -Dsimple-dmabuf-drm=freedreno"
|
configure_args+=" -Dsimple-dmabuf-drm=freedreno"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Reference in a new issue