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.

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Robert Joslyn 2020-09-13 04:27:10 -07:00 committed by Khem Raj
parent fb320603be
commit 87229e8aae
2 changed files with 30 additions and 0 deletions

View File

@ -686,6 +686,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 \

View File

@ -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"