From 649cdac6fb1264352e65c4b55fb9135bc587a3a9 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Tue, 31 Dec 2024 17:38:59 +0100 Subject: [PATCH] clipboard: add recipe for cb --- recipes-support/clipboard/clipboard_git.bb | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 recipes-support/clipboard/clipboard_git.bb diff --git a/recipes-support/clipboard/clipboard_git.bb b/recipes-support/clipboard/clipboard_git.bb new file mode 100644 index 0000000..f0f3779 --- /dev/null +++ b/recipes-support/clipboard/clipboard_git.bb @@ -0,0 +1,28 @@ +SUMMARY = "The Clipboard Project is a fast, lightweight and user friendly tool that lets you do more on the computer in style" +HOMEPAGE = "https://github.com/Slackadays/Clipboard" +LICENSE = "GPL-3.0-only" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464" + +DEPENDS += " \ + alsa-lib \ + wayland \ + wayland-native \ + wayland-protocols \ +" + +SRC_URI = "git://github.com/Slackadays/Clipboard.git;protocol=https;branch=main" + +S = "${WORKDIR}/git" +PV = "0.10.1" +SRCREV = "cf596b0b2403d1d184d509a2c7ddd0f3c11040b9" + +inherit cmake pkgconfig + +EXTRA_OECMAKE += "-DMSVC=ON -DCMAKE_BUILD_TYPE=Debug" + +PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" +PACKAGECONFIG[x11] = ",-DNO_X11=ON,libx11" + +FILES:${PN} += "${libdir}/libcbx11.so ${libdir}/libcbwayland.so ${datadir}/bash-completion" +FILES:${PN}-dev = ""