meta-wayland/recipes-gtk/phosh/phosh_0.15.0.bb
2022-02-20 12:03:19 +01:00

68 lines
1.5 KiB
BlitzBasic

SUMMARY = "a pure wayland shell for mobile devices like Purism's Librem 5."
HOMEPAGE = "https://source.puri.sm/Librem5/feedbackd"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
REQUIRED_DISTRO_FEATURES = "wayland polkit pam pulseaudio"
DEPENDS = " \
callaudiod \
feedbackd \
fribidi \
gcr \
git-native \
glib-2.0 \
gnome-desktop \
gtk+3 \
libgudev \
libhandy \
libpam \
libsecret \
networkmanager \
polkit \
pulseaudio \
upower \
wayland \
wayland-native \
wayland-protocols \
"
RDEPENDS:${PN} = " \
gnome-control-center \
gnome-session \
gnome-settings-daemon \
gsettings-desktop-schemas \
phoc \
squeekboard \
"
PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false"
PACKAGECONFIG[tools] = "-Dtools=true,-Dtools=false"
# 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"
EXTRA_OEMESON += "--buildtype=release"
do_install:append() {
install -Dm 644 ${WORKDIR}/phosh.pam ${D}${sysconfdir}/pam.d/phosh
}
FILES:${PN} += "${datadir} ${libdir}"