cage: add recipe for dev version

This commit is contained in:
Markus Volk 2024-02-26 11:51:15 +01:00
parent 0c7826f73f
commit df8fdfb9ab
2 changed files with 29 additions and 4 deletions

View File

@ -0,0 +1,25 @@
SUMMARY = "Cage: a Wayland kiosk"
HOMEPAGE = "https://www.hjdskes.nl/projects/cage/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e3d06ce025701c9a0b391f15902ce8ed"
DEPENDS = " \
wayland-native \
wayland \
wayland-protocols \
wlroots-0.16 \
pixman \
libxkbcommon \
"
inherit meson pkgconfig features_check
REQUIRED_DISTRO_FEATURES = "wayland"
SRC_URI = "git://github.com/cage-kiosk/cage;branch=master;protocol=https"
SRCREV = "83ffc574be860527814c595756a558c228a3475d"
S = "${WORKDIR}/git"
PV = "0.1.5"
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'xwayland', d)}"
PACKAGECONFIG[xwayland] = "-Dxwayland=true,-Dxwayland=false,xserver-xorg,xwayland"

View File

@ -7,7 +7,7 @@ DEPENDS = " \
wayland-native \ wayland-native \
wayland \ wayland \
wayland-protocols \ wayland-protocols \
wlroots-0.16 \ wlroots-0.17 \
pixman \ pixman \
libxkbcommon \ libxkbcommon \
" "
@ -17,9 +17,9 @@ inherit meson pkgconfig features_check
REQUIRED_DISTRO_FEATURES = "wayland" REQUIRED_DISTRO_FEATURES = "wayland"
SRC_URI = "git://github.com/cage-kiosk/cage;branch=master;protocol=https" SRC_URI = "git://github.com/cage-kiosk/cage;branch=master;protocol=https"
SRCREV = "83ffc574be860527814c595756a558c228a3475d" SRCREV = "9d43282fa0cd5925a6f9304f0218fd79ae9fcd94"
PV = "0.1.5" PV = "0.1.5+dev"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'xwayland', d)}" PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'xwayland', d)}"
PACKAGECONFIG[xwayland] = "-Dxwayland=true,-Dxwayland=false,xserver-xorg,xwayland" PACKAGECONFIG[xwayland] = "-Dxwayland=enabled,-Dxwayland=disabled,xserver-xorg,xwayland"