summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-gnome/malcontent/malcontent.bb
blob: 9da95329a81c49b213a623216f7c7d2386b6274f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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"

require malcontent.inc

DEPENDS = " \
	accountsservice \
	glib-2.0 \
	glib-testing \
	dbus \
	itstool-native \
	libpam \
	polkit \
"

GIR_MESON_OPTION = ""

inherit  meson pkgconfig gobject-introspection gettext features_check

REQUIRED_DISTRO_FEATURES = "pam polkit gobject-introspection"

PACKAGECONFIG ?= "ui"
PACKAGECONFIG[ui] = ",,,malcontent-ui"

EXTRA_OEMESON = "-Dui=disabled -Dpamlibdir=${base_libdir}/security"

FILES:${PN} += " \
	${base_libdir}/security/pam_malcontent.so \
	${datadir}/accountsservice \
	${datadir}/help \
	${datadir}/dbus-1 \
	${datadir}/polkit-1 \
"