From 938decbc6e74a1f533784d4415d43c6b91a13200 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Sun, 8 Jan 2023 14:07:41 +0100 Subject: [PATCH] libdecor: import recipe libdecor is a window decoration library that is required for shells that require client side decoration. It is e.g. useful to get window decoration for libsdl apps if running under weston or gnome-shell. Signed-off-by: Markus Volk Signed-off-by: Khem Raj --- .../libdecor/libdecor_0.1.1.bb | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 meta-oe/recipes-graphics/libdecor/libdecor_0.1.1.bb diff --git a/meta-oe/recipes-graphics/libdecor/libdecor_0.1.1.bb b/meta-oe/recipes-graphics/libdecor/libdecor_0.1.1.bb new file mode 100644 index 0000000000..4e396d83e9 --- /dev/null +++ b/meta-oe/recipes-graphics/libdecor/libdecor_0.1.1.bb @@ -0,0 +1,29 @@ +SUMMARY = "libdecor - A client-side decorations library for Wayland clients" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=7ae2be7fb1637141840314b51970a9f7" + +SRC_URI = "git://gitlab.gnome.org/jadahl/libdecor.git;protocol=https;branch=master" + +DEPENDS = " \ + cairo \ + pango \ + wayland \ + wayland-native \ + wayland-protocols \ +" + +S = "${WORKDIR}/git" +SRCREV = "e87dcfdaf83f332fa83b43c804fcf93c151ff0f5" + +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 + +EXTRA_OEMESON += "--buildtype release" + +BBCLASSEXTEND = "native nativesdk"