From 6951307aeaafbf0119f62a9685c80bf0f009b6b6 Mon Sep 17 00:00:00 2001 From: MarkusVolk Date: Tue, 14 Dec 2021 13:49:45 +0100 Subject: [PATCH] kanshi: add recipe --- recipes-extended/libvarlink/libvarlink_git.bb | 22 +++++++++++++ recipes-support/kanshi/kanshi_git.bb | 32 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 recipes-extended/libvarlink/libvarlink_git.bb create mode 100644 recipes-support/kanshi/kanshi_git.bb diff --git a/recipes-extended/libvarlink/libvarlink_git.bb b/recipes-extended/libvarlink/libvarlink_git.bb new file mode 100644 index 0000000..e739b26 --- /dev/null +++ b/recipes-extended/libvarlink/libvarlink_git.bb @@ -0,0 +1,22 @@ +SUMMARY = "varlink is an interface description format and protocol accessible to both humans and machines." +HOMEPAGE = "https://varlink.org" +LICENSE = "Apache-2.0 & BSD-3-Clause" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=e316e9609dd7672b87ff25b46b2cf3e1" + +SRC_URI = " \ + git://github.com/varlink/libvarlink.git;protocol=https;branch=master \ +" + +inherit meson + +S = "${WORKDIR}/git" +PV = "23" +SRCREV = "${PV}" + +EXTRA_OEMESON += "--buildtype release" + +FILES:${PN} += "${datadir}" + +BBCLASSEXTEND = "" + diff --git a/recipes-support/kanshi/kanshi_git.bb b/recipes-support/kanshi/kanshi_git.bb new file mode 100644 index 0000000..4ee400e --- /dev/null +++ b/recipes-support/kanshi/kanshi_git.bb @@ -0,0 +1,32 @@ +SUMMARY = "kanshi allows you to define output profiles that are automatically enabled and disabled on hotplug." +HOMEPAGE = "https://git.sr.ht/~emersion/kanshi" +SECTION = "Wayland" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=706cd9899438a9385250ab6773c1fa53" + +REQUIRED_DISTRO_FEATURES = "wayland" + +SRC_URI = " \ + git://git.sr.ht/~emersion/kanshi;protocol=https;branch=master \ +" + +DEPENDS = "wayland wayland-native" + +inherit meson pkgconfig features_check + +PACKAGECONFIG[ipc] = "-Dipc=enabled,-Dipc=disabled,libvarlink" +PACKAGECONFIG[man-pages] = "-Dman-pages=enabled,-Dman-pages=disabled,scdoc-native" + +PACKAGECONFIG ?= " \ + ipc \ +" + +S = "${WORKDIR}/git" +PV = "1.2.0" +SRCREV = "992c1954a6a00a3f66882c9eb75d74c2dbcbe25c" + +EXTRA_OEMESON += "--buildtype release" + +BBCLASSEXTEND = "" +