gnome-settings-daemon: smartcard support is optional, and needs nss

../gnome-settings-daemon-3.36.1/meson.build:165:2: ERROR: Dependency "nss" not found, tried pkgconfig

This happened when networkmanager is configured without nss,
or nm support disabled in gnome-settings-daemon.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Adrian Bunk
2020-08-13 08:43:48 +03:00
committed by Khem Raj
parent 95bf58c16e
commit 5ec6c57c3c
@@ -44,12 +44,14 @@ EXTRA_OEMESON = "--native-file ${WORKDIR}/meson.native"
PACKAGECONFIG ??= " \
cups nm \
alsa gudev \
smartcard \
${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \
"
PACKAGECONFIG[alsa] = "-Dalsa=true,-Dalsa=false,alsa-lib"
PACKAGECONFIG[cups] = "-Dcups=true,-Dcups=false,cups"
PACKAGECONFIG[gudev] = "-Dgudev=true,-Dgudev=false,libgudev"
PACKAGECONFIG[nm] = "-Dnetwork_manager=true,-Dnetwork_manager=false,networkmanager"
PACKAGECONFIG[smartcard] = "-Dsmartcard=true,-Dsmartcard=false,nss"
PACKAGECONFIG[wayland] = "-Dwayland=true,-Dwayland=false,wayland"
FILES_${PN} += " \