1SUMMARY = "User-Interface for malcontent." 2HOMEPAGE = "https://gitlab.freedesktop.org/pwithnall/malcontent" 3LICENSE = "LGPL-2.1-only" 4LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" 5 6require malcontent.inc 7 8DEPENDS = " \ 9 malcontent \ 10 accountsservice \ 11 glib-2.0 \ 12 glib-testing \ 13 dbus \ 14 desktop-file-utils-native \ 15 itstool-native \ 16 libpam \ 17 polkit \ 18 appstream \ 19 flatpak \ 20 libadwaita \ 21 gtk4 \ 22" 23 24GIR_MESON_OPTION = "" 25 26GTKIC_VERSION = "4" 27inherit meson pkgconfig gtk-icon-cache gobject-introspection gettext features_check 28 29REQUIRED_DISTRO_FEATURES = "pam polkit gobject-introspection" 30 31EXTRA_OEMESON = "-Dui=enabled" 32 33do_install() { 34 install -d ${D}${datadir}/gir-1.0 ${D}${libdir}/girepository-1.0 ${D}${bindir} 35 install -d ${D}${datadir}/polkit-1/actions ${D}${datadir}/metainfo ${D}${datadir}/applications 36 install -m 0644 ${B}/libmalcontent-ui/MalcontentUi-1.gir ${D}${datadir}/gir-1.0 37 install -m 0644 ${B}/libmalcontent-ui/MalcontentUi-1.typelib ${D}${libdir}/girepository-1.0 38 install -m 0644 ${B}/libmalcontent-ui/libmalcontent-ui-1.so.${PV} ${D}${libdir} 39 ln -sf libmalcontent-ui-1.so.${PV} ${D}${libdir}/libmalcontent-ui-1.so 40 ln -sf libmalcontent-ui-1.so.${PV} ${D}${libdir}/libmalcontent-ui-1.so.1 41 install -m 0755 ${B}/malcontent-control/malcontent-control ${D}${bindir} 42 install -m 0644 ${B}/malcontent-control/org.freedesktop.MalcontentControl.policy ${D}${datadir}/polkit-1/actions 43 install -m 0644 ${B}/malcontent-control/org.freedesktop.MalcontentControl.appdata.xml ${D}${datadir}/metainfo 44 install -m 0644 ${B}/malcontent-control/org.freedesktop.MalcontentControl.desktop ${D}${datadir}/applications 45} 46 47FILES:${PN} += "${bindir} ${libdir} ${datadir}" 48 49