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"
|
2024-03-03 15:08:05 +01:00
|
|
|
LICENSE = "GPL-3.0-or-later"
|
2022-02-18 15:14:37 +01:00
|
|
|
|
2024-03-03 15:08:05 +01:00
|
|
|
LIC_FILES_CHKSUM = "file://LICENSES/GPL-3.0-or-later.txt;md5=d32239bcb673463ab874e80d47fae504"
|
2022-02-18 15:14:37 +01:00
|
|
|
|
|
|
|
REQUIRED_DISTRO_FEATURES = "wayland"
|
|
|
|
|
|
|
|
DEPENDS += " \
|
2023-08-15 08:46:46 +02:00
|
|
|
gi-docgen-native \
|
2022-02-18 15:14:37 +01:00
|
|
|
glib-2.0 \
|
2023-06-25 19:58:38 +02:00
|
|
|
gmobile \
|
2022-02-18 15:14:37 +01:00
|
|
|
gnome-desktop \
|
|
|
|
libinput \
|
|
|
|
libxkbcommon \
|
|
|
|
pixman \
|
|
|
|
seatd \
|
|
|
|
wayland \
|
|
|
|
wayland-native \
|
|
|
|
wayland-protocols \
|
2023-12-19 19:48:07 +01:00
|
|
|
wlroots-0.17 \
|
2022-02-18 15:14:37 +01:00
|
|
|
"
|
|
|
|
|
2023-08-15 08:46:46 +02:00
|
|
|
SRC_URI = " \
|
2024-06-06 21:28:29 +02:00
|
|
|
git://gitlab.gnome.org/World/Phosh/phoc.git;protocol=https;nobranch=1"
|
2022-02-18 15:14:37 +01:00
|
|
|
|
|
|
|
S = "${WORKDIR}/git"
|
2024-07-04 14:03:50 +02:00
|
|
|
PV = "0.40.0"
|
|
|
|
SRCREV = "bbb7490ca7216f09db367acb4056e8e6e249bd3e"
|
2022-02-18 15:14:37 +01:00
|
|
|
|
|
|
|
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)} \
|
|
|
|
"
|
|
|
|
|
2023-08-15 08:46:46 +02:00
|
|
|
EXTRA_OEMESON += "-Dembed-wlroots=disabled --buildtype=release"
|
2022-02-18 15:14:37 +01:00
|
|
|
|
|
|
|
FILES:${PN} += "${datadir}"
|
|
|
|
|