2022-02-18 15:14:37 +01:00
|
|
|
|
|
|
|
SUMMARY = "wlroots based Phone compositor as used on the Librem5."
|
|
|
|
HOMEPAGE = "https://gitlab.gnome.org/World/Phosh/phoc"
|
|
|
|
SECTION = "graphics"
|
2022-03-04 14:58:29 +01:00
|
|
|
LICENSE = "GPL-3.0-only"
|
2022-02-18 15:14:37 +01:00
|
|
|
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
|
|
|
|
|
|
|
REQUIRED_DISTRO_FEATURES = "wayland"
|
|
|
|
|
|
|
|
DEPENDS += " \
|
|
|
|
glib-2.0 \
|
|
|
|
gnome-desktop \
|
|
|
|
libinput \
|
|
|
|
libxkbcommon \
|
|
|
|
pixman \
|
|
|
|
seatd \
|
|
|
|
wayland \
|
|
|
|
wayland-native \
|
|
|
|
wayland-protocols \
|
|
|
|
"
|
|
|
|
#needed to build wlroots as a subproject
|
|
|
|
DEPENDS += " \
|
|
|
|
ffmpeg \
|
|
|
|
git-native \
|
|
|
|
libdrm \
|
|
|
|
libcap \
|
|
|
|
virtual/libgbm \
|
|
|
|
virtual/libgles2 \
|
|
|
|
libpng \
|
|
|
|
"
|
|
|
|
|
|
|
|
RDEPENDS:${PN} = "mutter"
|
|
|
|
|
|
|
|
SRC_URI = " \
|
|
|
|
gitsm://gitlab.gnome.org/World/Phosh/phoc.git;protocol=https;branch=master \
|
|
|
|
"
|
|
|
|
|
2022-04-07 11:36:44 +02:00
|
|
|
SRCREV = "4f72cf1e67a3f0f224326b2662b7dedab3f5a8cf"
|
|
|
|
PV = "0.13.1"
|
2022-02-18 15:14:37 +01:00
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
|
|
|
|
inherit features_check gsettings meson pkgconfig
|
|
|
|
|
2022-02-19 04:47:55 +01:00
|
|
|
PACKAGECONFIG[systemd] = ",,systemd"
|
|
|
|
PACKAGECONFIG[sysvinit] = ",,eudev elogind"
|
2022-02-19 15:34:17 +01:00
|
|
|
PACKAGECONFIG[x11] = ",,libxcb xcb-util-renderutil"
|
|
|
|
PACKAGECONFIG[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,xwayland xcb-util-wm"
|
2022-02-19 04:47:55 +01:00
|
|
|
|
|
|
|
PACKAGECONFIG ?= " \
|
|
|
|
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
|
|
|
|
${@bb.utils.filter('DISTRO_FEATURES', 'sysvinit', d)} \
|
|
|
|
"
|
|
|
|
|
|
|
|
EXTRA_OEMESON += "-Dembed-wlroots=enabled --buildtype=release"
|
2022-02-18 15:14:37 +01:00
|
|
|
|
|
|
|
FILES:${PN} += "${datadir}"
|
|
|
|
|