meta-wayland/recipes-support/wob/wob_git.bb

44 lines
1.4 KiB
BlitzBasic
Raw Normal View History

2021-12-19 16:53:32 +01:00
SUMMARY = "A lightweight overlay volume/backlight/progress/anything bar for wlroots based Wayland compositors."
HOMEPAGE = "https://github.com/francma/wob"
SECTION = "Wayland"
LICENSE = "ISC"
LIC_FILES_CHKSUM = "file://LICENSE;md5=07d60638be9414ee4e38ed68e642ba25"
REQUIRED_DISTRO_FEATURES = "wayland"
SRC_URI = " \
git://github.com/francma/wob.git;protocol=https;branch=master \
"
DEPENDS = " \
2023-04-11 16:16:48 +02:00
libinih \
2021-12-19 16:53:32 +01:00
wayland \
wayland-native \
wayland-protocols \
"
inherit meson pkgconfig features_check
PACKAGECONFIG[seccomp] = "-Dseccomp=enabled,-Dseccomp=disabled,libseccomp"
PACKAGECONFIG[man-pages] = "-Dman-pages=enabled,-Dman-pages=disabled,scdoc-native"
PACKAGECONFIG ??= ""
S = "${WORKDIR}/git"
2024-03-26 10:29:05 +01:00
PV = "0.15.1"
SRCREV = "c3db849397039ba0cf55acd05568d73db17fbf5b"
2021-12-19 16:53:32 +01:00
EXTRA_OEMESON += "--buildtype release"
2023-02-15 07:14:08 +01:00
do_install:append() {
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
install -d ${D}${systemd_user_unitdir}/sockets.target.wants ${D}${systemd_user_unitdir}/graphical-session.target.wants
install -m 0644 ${S}/contrib/systemd/* ${D}${systemd_user_unitdir}
ln -fs ${systemd_user_unitdir}/wob.socket ${D}${systemd_user_unitdir}/sockets.target.wants
ln -fs ${systemd_user_unitdir}/wob.service ${D}${systemd_user_unitdir}/graphical-session.target.wants
fi
}
FILES:${PN} += "${systemd_user_unitdir}"