From 608ae0cc0ffbec368bcf3978a3cefbdef01a23dd Mon Sep 17 00:00:00 2001 From: Dan McGregor Date: Fri, 17 Mar 2023 12:13:40 -0600 Subject: [PATCH] xserver-xorg: don't unconditionally add xshmfence This is only required if dri3 is enabled in the server. It shouldn't be included unconditionally. Arguably this should be put in openembedded-core, but for now it's safe to put here. --- recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend index d79738d..362c93f 100644 --- a/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend +++ b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend @@ -1 +1 @@ -DEPENDS += "libxshmfence" +PACKAGECONFIG[dri3] = "-Ddri3=true,-Ddri3=false,libxshmfence"