mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2024-12-26 05:28:23 +01:00
libdbusmenu: Add recipe
This commit is contained in:
parent
6e7d19216a
commit
693894776d
20
recipes-extended/libdbusmenu/libdbusmenu-glib_git.bb
Normal file
20
recipes-extended/libdbusmenu/libdbusmenu-glib_git.bb
Normal file
@ -0,0 +1,20 @@
|
||||
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"
|
||||
|
||||
SRC_URI = "git://github.com/AyatanaIndicators/libdbusmenu.git;protocol=https;branch=master"
|
||||
|
||||
DEPENDS = "glib-2.0 json-glib dbus intltool-native"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "16.0.4"
|
||||
SRCREV = "4d03141aea4e2ad0f04ab73cf1d4f4bcc4a19f6c"
|
||||
|
||||
EXTRA_OECONF += "--disable-dumper --disable-gtk --disable-gtk-doc"
|
||||
|
||||
CFLAGS += "-Wno-error"
|
||||
|
||||
inherit autotools pkgconfig gettext gobject-introspection vala gtk-doc
|
||||
|
||||
FILES:${PN} += "${datadir}"
|
31
recipes-extended/libdbusmenu/libdbusmenu-gtk_git.bb
Normal file
31
recipes-extended/libdbusmenu/libdbusmenu-gtk_git.bb
Normal file
@ -0,0 +1,31 @@
|
||||
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+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_install:append () {
|
||||
rm -rf ${D}${includedir}/libdbusmenu-glib-0.4
|
||||
rm -rf ${D}${libdir}/girepository-1.0/Dbusmenu-0.4.typelib
|
||||
rm -rf ${D}${libdir}/libdbusmenu-glib* ${D}${libdir}/libdbusmenu-jsonloader* ${D}${libdir}/pkgconfig/dbusmenu-glib-0.4.pc ${D}${libdir}/pkgconfig/dbusmenu-jsonloader-0.4.pc
|
||||
rm -rf ${D}${libexecdir}/dbusmenu-testapp
|
||||
rm -rf ${D}${datadir}/doc
|
||||
rm -rf ${D}${datadir}/vala/vapi/Dbusmenu-0.4.vapi
|
||||
rm -rf ${D}${datadir}/gir-1.0/Dbusmenu-0.4.gir
|
||||
rm -rf ${D}${datadir}/libdbusmenu/json
|
||||
}
|
||||
|
||||
FILES:${PN} += "${datadir}"
|
Loading…
Reference in New Issue
Block a user