aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar James Hilliard <james.hilliard1@gmail.com>2020-02-03 15:23:05 -0700
committerGravatar Yann E. MORIN <yann.morin.1998@free.fr>2020-02-04 16:02:19 +0100
commite0c5e294b939167ceda718a9729d6ddb64c3a4b3 (patch)
treebd75b770cea72cde44ab409b0db9e62034569271
parent8f9f48acd2db27863ca8fc0a4f1377aa2b07c886 (diff)
downloadbuildroot-e0c5e294b939167ceda718a9729d6ddb64c3a4b3.tar.gz
buildroot-e0c5e294b939167ceda718a9729d6ddb64c3a4b3.tar.bz2
package/weston: add pipewire support
Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
-rw-r--r--package/weston/weston.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/package/weston/weston.mk b/package/weston/weston.mk
index ada3f565cb..b22e685948 100644
--- a/package/weston/weston.mk
+++ b/package/weston/weston.mk
@@ -17,8 +17,7 @@ WESTON_CONF_OPTS = \
-Dbuild.pkg_config_path=$(HOST_DIR)/lib/pkgconfig \
-Dbackend-headless=false \
-Dcolor-management-colord=false \
- -Dremoting=false \
- -Dpipewire=false
+ -Dremoting=false
# Uses VIDIOC_EXPBUF, only available from 3.8+
ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8),y)
@@ -127,6 +126,13 @@ else
WESTON_CONF_OPTS += -Dtest-junit-xml=false
endif
+ifeq ($(BR2_PACKAGE_PIPEWIRE)$(BR2_PACKAGE_WESTON_DRM),yy)
+WESTON_CONF_OPTS += -Dpipewire=true
+WESTON_DEPENDENCIES += pipewire
+else
+WESTON_CONF_OPTS += -Dpipewire=false
+endif
+
ifeq ($(BR2_PACKAGE_WESTON_DEMO_CLIENTS),y)
WESTON_CONF_OPTS += -Ddemo-clients=true
WESTON_DEPENDENCIES += pango