meta-wayland/recipes-gtk/phosh/phosh_git.bb
2024-06-06 21:28:58 +02:00

66 lines
1.4 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 \
evolution-data-server \
evince \
feedbackd \
fribidi \
glib-2.0 \
gmobile \
gnome-desktop \
gtk+3 \
gcr3 \
libgudev \
libhandy \
libsecret \
networkmanager \
polkit \
pulseaudio \
libsoup-3.0 \
upower \
wayland \
wayland-native \
wayland-protocols \
"
RDEPENDS:${PN} = " \
polkit-gnome \
gsettings-desktop-schemas \
phoc \
gnome-desktop \
wl-clipboard \
calls \
"
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://0001-meson.build-dont-read-includedir-from-pkg-config.patch \
"
S = "${WORKDIR}/git"
PV = "0.39.0"
SRCREV = "e1e263efc239870e81c2e4d013bf0615f260141f"
EXTRA_OEMESON += "--buildtype=release"
FILES:${PN} += "${datadir} ${libdir}"