meta-wayland/recipes-gtk/phosh/phosh_git.bb
Markus Volk 50836a00c1 phosh: update
add needed recipe for gmobile
2023-06-25 19:58:38 +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.28.0"
SRCREV = "059c9f1a782689a05a1871cfcc6310d8e5e13514"
EXTRA_OEMESON += "--buildtype=release"
do_install:append() {
install -Dm 644 ${WORKDIR}/phosh.pam ${D}${sysconfdir}/pam.d/phosh
}
FILES:${PN} += "${datadir} ${libdir}"