Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame^] | 1 | SUMMARY = "libdecor - A client-side decorations library for Wayland clients" |
| 2 | LICENSE = "MIT" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7ae2be7fb1637141840314b51970a9f7" |
| 4 | |
| 5 | SRC_URI = " \ |
| 6 | git://gitlab.freedesktop.org/libdecor/libdecor.git;protocol=https;branch=master \ |
| 7 | file://0001-libdecor-gtk.c-dont-skip-for-conflicting-symbols.patch \ |
| 8 | " |
| 9 | |
| 10 | DEPENDS = " \ |
| 11 | cairo \ |
| 12 | pango \ |
| 13 | wayland \ |
| 14 | wayland-native \ |
| 15 | wayland-protocols \ |
| 16 | " |
| 17 | |
| 18 | S = "${WORKDIR}/git" |
| 19 | SRCREV = "a254d0c2ff0cbfcf0bbf14cc67cc403640880c01" |
| 20 | |
| 21 | PACKAGECONFIG ?= "dbus ${@bb.utils.filter('DISTRO_FEATURES', 'gtk+3', d)}" |
| 22 | |
| 23 | PACKAGECONFIG[dbus] = "-Ddbus=enabled,-Ddbus=disabled,dbus" |
| 24 | PACKAGECONFIG[demo] = "-Ddemo=true,-Ddemo=false,virtual/libegl libxkbcommon" |
| 25 | PACKAGECONFIG[install_demo] = "-Dinstall_demo=true,-Dinstall_demo=false" |
| 26 | PACKAGECONFIG[gtk+3] = "-Dgtk=enabled,-Dgtk=disabled,gtk+3" |
| 27 | |
| 28 | inherit meson pkgconfig |
| 29 | |
| 30 | EXTRA_OEMESON += "--buildtype release" |
| 31 | |
| 32 | BBCLASSEXTEND = "native nativesdk" |