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

69 lines
1.5 KiB
BlitzBasic
Raw 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 \
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-03-26 18:51:10 +01:00
PV = "0.17.0"
SRCREV = "e9651c72a6c3033597d40b135c230262a2bf4cb6"
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