mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2024-12-26 13:38:22 +01:00
phosh: add pam configuration; cleanup
This commit is contained in:
parent
40d08550b1
commit
e2029fc4a4
6
recipes-wlroots/phosh/phosh/phosh.pam
Normal file
6
recipes-wlroots/phosh/phosh/phosh.pam
Normal file
@ -0,0 +1,6 @@
|
||||
#%PAM-1.0
|
||||
auth required pam_unix.so
|
||||
account required pam_unix.so
|
||||
password required pam_unix.so
|
||||
session required pam_unix.so
|
||||
|
@ -3,7 +3,7 @@ HOMEPAGE = "https://source.puri.sm/Librem5/feedbackd"
|
||||
LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "wayland polkit systemd pam pulseaudio"
|
||||
REQUIRED_DISTRO_FEATURES = "wayland polkit pam pulseaudio"
|
||||
|
||||
DEPENDS = " \
|
||||
callaudiod \
|
||||
@ -19,9 +19,9 @@ DEPENDS = " \
|
||||
libpam \
|
||||
libsecret \
|
||||
networkmanager \
|
||||
phoc \
|
||||
polkit \
|
||||
pulseaudio \
|
||||
systemd \
|
||||
upower \
|
||||
wayland \
|
||||
wayland-native \
|
||||
@ -34,17 +34,35 @@ RDEPENDS:${PN} = " \
|
||||
gnome-settings-daemon \
|
||||
gsettings-desktop-schemas \
|
||||
phoc \
|
||||
virtboard \
|
||||
"
|
||||
|
||||
PACKAGECONFIG[tools] = "-Dtools=true,-Dtools=false"
|
||||
PACKAGECONFIG[gtk-doc] = "-Dgtk_doc=true,-Dgtk_doc=false,gtk-doc-native"
|
||||
# install systemd service files ?
|
||||
PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false"
|
||||
|
||||
PACKAGECONFIG ?= " \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
|
||||
tools \
|
||||
"
|
||||
|
||||
inherit features_check gsettings meson pkgconfig
|
||||
|
||||
SRC_URI = " \
|
||||
gitsm://gitlab.gnome.org/World/Phosh/phosh.git;protocol=https;nobranch=1 \
|
||||
file://phosh.pam \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "0.15.0"
|
||||
SRCREV = "a964be122953d4cbcf63b75793c60f231ec35d71"
|
||||
|
||||
FILES:${PN} += "${datadir}"
|
||||
EXTRA_OEMESON += "-Dtests=false --buildtype=release"
|
||||
|
||||
do_install:append() {
|
||||
install -Dm 644 ${WORKDIR}/phosh.pam ${D}${sysconfdir}/pam.d/phosh
|
||||
}
|
||||
|
||||
FILES:${PN} += "${datadir} ${libdir}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user