mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-16 12:12:16 +02:00
libdecor is needed under wayland for compositors that require client-side decoration (gnome/weston). Its consumers at the moment are at least libsdl2 and blender. Upstream has added a plugin for gtk. This is quite a useful feature, since programs that use libdecor don't fit well into gtk otherwise. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
33 lines
964 B
BlitzBasic
33 lines
964 B
BlitzBasic
SUMMARY = "libdecor - A client-side decorations library for Wayland clients"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=7ae2be7fb1637141840314b51970a9f7"
|
|
|
|
SRC_URI = " \
|
|
git://gitlab.freedesktop.org/libdecor/libdecor.git;protocol=https;branch=master \
|
|
file://0001-libdecor-gtk.c-dont-skip-for-conflicting-symbols.patch \
|
|
"
|
|
|
|
DEPENDS = " \
|
|
cairo \
|
|
pango \
|
|
wayland \
|
|
wayland-native \
|
|
wayland-protocols \
|
|
"
|
|
|
|
S = "${WORKDIR}/git"
|
|
SRCREV = "a254d0c2ff0cbfcf0bbf14cc67cc403640880c01"
|
|
|
|
PACKAGECONFIG ?= "dbus ${@bb.utils.filter('DISTRO_FEATURES', 'gtk+3', d)}"
|
|
|
|
PACKAGECONFIG[dbus] = "-Ddbus=enabled,-Ddbus=disabled,dbus"
|
|
PACKAGECONFIG[demo] = "-Ddemo=true,-Ddemo=false,virtual/libegl libxkbcommon"
|
|
PACKAGECONFIG[install_demo] = "-Dinstall_demo=true,-Dinstall_demo=false"
|
|
PACKAGECONFIG[gtk+3] = "-Dgtk=enabled,-Dgtk=disabled,gtk+3"
|
|
|
|
inherit meson pkgconfig
|
|
|
|
EXTRA_OEMESON += "--buildtype release"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|