meta-wayland/recipes-gtk/phosh/phosh_git.bb
2023-08-15 08:48:14 +02:00

71 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 \
evince \
evolution-data-server \
feedbackd \
fribidi \
gcr \
git-native \
glib-2.0 \
gnome-desktop \
gtk4 \
libadwaita \
libgudev \
libhandy \
libpam \
libsecret \
libxml2 \
networkmanager \
polkit \
pulseaudio \
upower \
wayland \
wayland-native \
wayland-protocols \
"
RDEPENDS:${PN} = " \
gnome-control-center \
gnome-session \
gnome-settings-daemon \
gsettings-desktop-schemas \
phoc \
"
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 gtk-icon-cache
SRC_URI = " \
gitsm://gitlab.gnome.org/World/Phosh/phosh.git;protocol=https;nobranch=1 \
file://phosh.pam \
"
S = "${WORKDIR}/git"
PV = "0.30.0"
SRCREV = "631763aa579241246813d8fd3c0809b014aaeafe"
EXTRA_OEMESON += "--buildtype=release"
do_install:append() {
install -Dm 644 ${WORKDIR}/phosh.pam ${D}${sysconfdir}/pam.d/phosh
}
FILES:${PN} += "${datadir} ${libdir}"