Skip to contentSkip to conversation

consolation: Add recipe

PATCH New Robert Joslyn 1 participant 1 message Sep 13, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 consolation: Add recipe

Consolation is a daemon that provide copy-paste and scrolling support to the Linux console.

It is based on the libinput library and supports all pointer devices and settings provided by this library,

Similar software include gpm and jamd.

---
 .../packagegroups/packagegroup-meta-oe.bb     |  1 +
 .../consolation/consolation_0.0.8.bb          | 29 +++++++++++++++++++
 2 files changed, 30 insertions(+)
 create mode 100644 meta-oe/recipes-support/consolation/consolation_0.0.8.bb
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +1 -0
index 2e84576ca..d4489e2a4 100644
@@ -685,6 +685,7 @@ RDEPENDS_packagegroup-meta-oe-support ="\
     c-ares \
     cmark \
     ${@bb.utils.contains("DISTRO_FEATURES", "polkit gobject-introspection-data", "colord", "", d)} \
+    consolation \
     cpprest \
     ctapi-common \
     dfu-util \
meta-oe/recipes-support/consolation/consolation_0.0.8.bb new file +29 -0
new file mode 100644
index 000000000..90bd560c4
@@ -0,0 +1,29 @@
+SUMMARY = "copy-paste for the Linux console"
+DESCRIPTION = "Consolation is a daemon that provides copy-paste and scrolling \
+support to the Linux console. It is based on the libinput library and \
+supports all pointer devices and settings provided by this library. Similar \
+software include gpm and jamd."
+HOMEPAGE = "https://salsa.debian.org/consolation-team/consolation"
+SECTION = "console/utils"
+LICENSE = "GPL-2.0+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=73ca626e1d9048abfc7d599370650827"
+
+DEPENDS = " \
+    libevdev \
+    libinput \
+    udev \
+"
+
+SRC_URI = "git://salsa.debian.org/consolation-team/consolation.git"
+SRCREV = "4581eaece6e49fa2b687efbdbe23b2de452e7902"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig systemd
+
+do_install_append() {
+    install -d ${D}${systemd_system_unitdir}
+    install -m 644 ${B}/consolation.service ${D}${systemd_system_unitdir}
+}
+
+SYSTEMD_SERVICE_${PN} = "consolation.service"
Signature · 1 line
2.26.2