From 8fe22da85143d99e88ad7ba40a9e56be7c41cf9b Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Wed, 7 Aug 2024 16:19:46 +0200 Subject: [PATCH] gbar: add recipe --- recipes-gtk/gbar/gbar_git.bb | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 recipes-gtk/gbar/gbar_git.bb diff --git a/recipes-gtk/gbar/gbar_git.bb b/recipes-gtk/gbar/gbar_git.bb new file mode 100644 index 0000000..93a9530 --- /dev/null +++ b/recipes-gtk/gbar/gbar_git.bb @@ -0,0 +1,29 @@ +SUMMARY = "Blazingly fast and efficient status bar + widgets written for gtk3" +HOMEPAGE = "https://github.com/scorpion-26/gBar" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=15efb84d5f4a09189d30d2682a2373ec" + +REQUIRED_DISTRO_FEATURES = "wayland" + +SRC_URI = "git://github.com/scorpion-26/gBar.git;protocol=https;branch=master" + +S = "${WORKDIR}/git" +SRCREV = "b1e2c2ed26a62058c502db3a03ac615f2567942e" + +DEPENDS += " \ + gtk+3 \ + gtk-layer-shell \ + pulseaudio \ + wayland \ + wayland-native \ + wayland-protocols \ +" + +inherit meson pkgconfig features_check + +PACKAGECONFIG ?= "sassc ${@bb.utils.filter('DISTRO_FEATURES', 'bluetooth', d)}" +PACKAGECONFIG[bluetooth] = "-DWithBlueZ=true,-DWithBlueZ=false,bluez5" +PACKAGECONFIG[dbusmenu] = "-DWithSNI=true,-DWithSNI=false,libdbusmenu" +PACKAGECONFIG[sassc] = "-DWithLibSass=true,-DWithLibSass=false,sassc" + +FILES:${PN} += "${datadir}"