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

71 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 \
2023-03-30 09:53:17 +02:00
evince \
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 \
2023-03-30 09:53:17 +02:00
gtk4 \
libadwaita \
2022-02-18 15:14:37 +01:00
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-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
"
2023-03-30 09:53:17 +02:00
inherit features_check gsettings meson pkgconfig gtk-icon-cache
2022-02-18 15:14:37 +01:00
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"
2023-03-30 09:53:17 +02:00
PV = "0.25.2"
SRCREV = "0878301c83028b2e5ef75acb92485a6eebfd86bd"
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