diff mbox series

[meta-oe,2/3] malcontent: add recipe

Message ID 20240512091524.90050-2-f_l_k@t-online.de
State Accepted
Headers show
Series [meta-oe,1/3] glib-testing: add recipe | expand

Commit Message

Markus Volk May 12, 2024, 9:15 a.m. UTC
malcontent is an optional dependency for flatpak and gnome-software

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 .../malcontent/malcontent_0.12.0.bb           | 31 +++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 meta-oe/recipes-gnome/malcontent/malcontent_0.12.0.bb
diff mbox series

Patch

diff --git a/meta-oe/recipes-gnome/malcontent/malcontent_0.12.0.bb b/meta-oe/recipes-gnome/malcontent/malcontent_0.12.0.bb
new file mode 100644
index 000000000..daae6dd85
--- /dev/null
+++ b/meta-oe/recipes-gnome/malcontent/malcontent_0.12.0.bb
@@ -0,0 +1,31 @@ 
+SUMMARY = "malcontent implements support for restricting the type of content."
+HOMEPAGE = "https://gitlab.freedesktop.org/pwithnall/malcontent"
+LICENSE = "LGPL-2.1-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+
+SRC_URI = "git://gitlab.freedesktop.org/pwithnall/malcontent.git;protocol=https;branch=main"
+
+S = "${WORKDIR}/git"
+SRCREV = "3ba80995bb25b7aeda7e21d547f9e39ff9a81736"
+
+DEPENDS = " \
+	accountsservice \
+	glib-2.0 \
+	glib-testing \
+	dbus \
+	desktop-file-utils-native \
+	itstool-native \
+	libpam \
+	polkit \
+"
+
+GTKIC_VERSION = "4"
+inherit  meson pkgconfig gtk-icon-cache gobject-introspection-data gettext features_check
+
+REQUIRED_DISTRO_FEATURES = "pam polkit"
+
+# If building with ui, we run into circular dependency flatpak <-> malcontent
+PACKAGECONFIG ?= ""
+PACKAGECONFIG[ui] = "-Dui=enabled,-Dui=disabled,flatpak libadwaita gtk4"
+
+FILES:${PN} += "${libdir} ${datadir}"