From d103b227e829d489ad339bf1d6cec443de9d9fd3 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Tue, 27 Jul 2021 11:37:58 +0200 Subject: [PATCH] nwg-launchers: add recipe --- .../nwg-shell/nwg-launchers_git.bb | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 recipes-support/nwg-shell/nwg-launchers_git.bb diff --git a/recipes-support/nwg-shell/nwg-launchers_git.bb b/recipes-support/nwg-shell/nwg-launchers_git.bb new file mode 100644 index 0000000..52754f7 --- /dev/null +++ b/recipes-support/nwg-shell/nwg-launchers_git.bb @@ -0,0 +1,41 @@ +SUMMARY = "nwg-launchers written in c++" +HOMEPAGE = "https://github.com/nwg-piotr/nwg-launchers" +BUGTRACKER = "https://github.com/nwg-piotr/nwg-launchers/issues" +SECTION = "graphics" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464" + +DEPENDS += " \ + gtkmm3 \ + nlohmann-json \ +" + +PACKAGECONFIG[bar] = "-Dbar=true,-Dbar=false" +PACKAGECONFIG[dmenu] = "-Ddmenu=true,-Ddmenu=false" +PACKAGECONFIG[grid] = "-Dgrid=true,-Dgrid=false" +PACKAGECONFIG[layer-shell] = "-Dlayer-shell=enabled,-Dlayer-shell=disabled,gtk-layer-shell" +PACKAGECONFIG[gdk-x11] = "-Dgdk-x11=enabled,-Dgdk-x11=disabled" + +PACKAGECONFIG ?= " \ + bar \ + dmenu \ + grid \ + layer-shell \ +" + +SRC_URI = " \ + git://github.com/nwg-piotr/nwg-launchers.git;protocol=https \ + file://0001-nwg_tools.cc-fix-build-without-gdk-x11.patch \ +" +SRCREV = "v${PV}" +PV = "0.5.0" + +S = "${WORKDIR}/git" + +inherit meson pkgconfig + +EXTRA_OEMESON += "--buildtype release" + +BBCLASSEXTEND = "" +