mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2025-04-17 22:36:46 +02: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"
|
LICENSE = "GPL-3.0-only"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||||
|
|
||||||
REQUIRED_DISTRO_FEATURES = "wayland polkit systemd pam pulseaudio"
|
REQUIRED_DISTRO_FEATURES = "wayland polkit pam pulseaudio"
|
||||||
|
|
||||||
DEPENDS = " \
|
DEPENDS = " \
|
||||||
callaudiod \
|
callaudiod \
|
||||||
@ -19,9 +19,9 @@ DEPENDS = " \
|
|||||||
libpam \
|
libpam \
|
||||||
libsecret \
|
libsecret \
|
||||||
networkmanager \
|
networkmanager \
|
||||||
|
phoc \
|
||||||
polkit \
|
polkit \
|
||||||
pulseaudio \
|
pulseaudio \
|
||||||
systemd \
|
|
||||||
upower \
|
upower \
|
||||||
wayland \
|
wayland \
|
||||||
wayland-native \
|
wayland-native \
|
||||||
@ -34,17 +34,35 @@ RDEPENDS:${PN} = " \
|
|||||||
gnome-settings-daemon \
|
gnome-settings-daemon \
|
||||||
gsettings-desktop-schemas \
|
gsettings-desktop-schemas \
|
||||||
phoc \
|
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
|
inherit features_check gsettings meson pkgconfig
|
||||||
|
|
||||||
SRC_URI = " \
|
SRC_URI = " \
|
||||||
gitsm://gitlab.gnome.org/World/Phosh/phosh.git;protocol=https;nobranch=1 \
|
gitsm://gitlab.gnome.org/World/Phosh/phosh.git;protocol=https;nobranch=1 \
|
||||||
|
file://phosh.pam \
|
||||||
"
|
"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
PV = "0.15.0"
|
PV = "0.15.0"
|
||||||
SRCREV = "a964be122953d4cbcf63b75793c60f231ec35d71"
|
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…
x
Reference in New Issue
Block a user