From 612b94a5fee4cd1763c0fe10c39f1d02c8c50377 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Tue, 15 Nov 2022 11:41:18 +0100 Subject: [PATCH] libdecor: allow to build without opengl --- recipes-graphics/libdecor/libdecor_0.1.1.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-graphics/libdecor/libdecor_0.1.1.bb b/recipes-graphics/libdecor/libdecor_0.1.1.bb index 54437ef..4e396d8 100644 --- a/recipes-graphics/libdecor/libdecor_0.1.1.bb +++ b/recipes-graphics/libdecor/libdecor_0.1.1.bb @@ -7,7 +7,6 @@ SRC_URI = "git://gitlab.gnome.org/jadahl/libdecor.git;protocol=https;branch=mast DEPENDS = " \ cairo \ pango \ - virtual/libgl \ wayland \ wayland-native \ wayland-protocols \ @@ -16,11 +15,12 @@ DEPENDS = " \ S = "${WORKDIR}/git" SRCREV = "e87dcfdaf83f332fa83b43c804fcf93c151ff0f5" -PACKAGECONFIG ?= "dbus ${@bb.utils.filter('DISTRO_FEATURES', 'gtk3', d)}" +PACKAGECONFIG ?= "dbus ${@bb.utils.filter('DISTRO_FEATURES', 'gtk3 opengl', d)}" PACKAGECONFIG[dbus] = "-Ddbus=enabled,-Ddbus=disabled,dbus" PACKAGECONFIG[demo] = "-Ddemo=true,-Ddemo=false,virtual/libegl libxkbcommon" PACKAGECONFIG[gtk3] = "-Dgtk=enabled,-Dgtk=disabled,gtk+3" +PACKAGECONFIG[opengl] = ",,virtual/libgl" inherit meson pkgconfig