meta-openembedded/meta-oe/recipes-gnome/malcontent/malcontent.bb
Yi Zhao 6387b30d30
malcontent: set pam module path to ${base_libdir}/security
Set pam module path to ${base_libdir}/security as this is the default
path in libpam.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-06 07:22:29 -08:00

36 lines
825 B
BlitzBasic

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 \
"