meta-wayland/recipes-extended/libdbusmenu/libdbusmenu-gtk_git.bb
Markus Volk 2ff2edf863 libdbusmenu: Cleanup; Add support for gtk2
- install only what we need instead of installing everything and removing afterwards
- also build with support for gtk2 applications
2023-10-27 05:50:33 +02:00

29 lines
872 B
BlitzBasic

SUMMARY = "This is a small library designed to make sharing and displaying of menu structures over DBus simple and easy to use."
HOMEPAGE = "https://github.com/AyatanaIndicators/libdbusmenu"
LICENSE = "LGPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6"
DEPENDS = "glib-2.0 json-glib dbus gtk+ gtk+3 libdbusmenu-glib intltool-native"
RDEPENDS:${PN} = "libdbusmenu-glib"
SRC_URI = "git://github.com/AyatanaIndicators/libdbusmenu.git;protocol=https;branch=master"
S = "${WORKDIR}/git"
PV = "16.0.4"
SRCREV = "4d03141aea4e2ad0f04ab73cf1d4f4bcc4a19f6c"
EXTRA_OECONF += "--disable-dumper --disable-gtk-doc"
inherit autotools pkgconfig gettext gobject-introspection vala gtk-doc
CFLAGS += "-Wno-error"
do_compile() {
oe_runmake
}
do_install() {
oe_runmake -j1 -C libdbusmenu-gtk DESTDIR="${D}" install
}
FILES:${PN} += "${datadir}"