meta-wayland/recipes-gtk/phosh/phosh_git.bb

70 lines
1.5 KiB
BlitzBasic
Raw Permalink Normal View History

2022-02-18 15:14:37 +01:00
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"
2022-02-19 04:46:23 +01:00
REQUIRED_DISTRO_FEATURES = "wayland polkit pam pulseaudio"
2022-02-18 15:14:37 +01:00
DEPENDS = " \
callaudiod \
2022-09-02 18:13:34 +02:00
evolution-data-server \
2022-02-18 15:14:37 +01:00
feedbackd \
fribidi \
gcr \
git-native \
glib-2.0 \
gnome-desktop \
gtk+3 \
libgudev \
libhandy \
libpam \
libsecret \
2022-04-07 11:36:17 +02:00
libxml2 \
2022-02-18 15:14:37 +01:00
networkmanager \
polkit \
pulseaudio \
upower \
wayland \
wayland-native \
wayland-protocols \
"
RDEPENDS:${PN} = " \
gnome-control-center \
gnome-session \
gnome-settings-daemon \
gsettings-desktop-schemas \
phoc \
2022-02-20 12:03:19 +01:00
squeekboard \
2022-02-19 04:46:23 +01:00
"
2022-02-19 08:48:22 +01:00
PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false"
2022-02-19 04:46:23 +01:00
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 \
2022-02-18 15:14:37 +01:00
"
inherit features_check gsettings meson pkgconfig
SRC_URI = " \
gitsm://gitlab.gnome.org/World/Phosh/phosh.git;protocol=https;nobranch=1 \
2022-02-19 04:46:23 +01:00
file://phosh.pam \
2022-02-18 15:14:37 +01:00
"
S = "${WORKDIR}/git"
2022-09-02 18:13:34 +02:00
PV = "0.21.0"
SRCREV = "4122630266abfd6623e169330da6e7d6bc01be7f"
2022-02-18 15:14:37 +01:00
2022-02-19 08:48:22 +01:00
EXTRA_OEMESON += "--buildtype=release"
2022-02-19 04:46:23 +01:00
do_install:append() {
install -Dm 644 ${WORKDIR}/phosh.pam ${D}${sysconfdir}/pam.d/phosh
}
FILES:${PN} += "${datadir} ${libdir}"
2022-02-18 15:14:37 +01:00