xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/consolation/consolation_0.0.8.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "copy-paste for the Linux console"
2*4882a593SmuzhiyunDESCRIPTION = "Consolation is a daemon that provides copy-paste and scrolling \
3*4882a593Smuzhiyunsupport to the Linux console. It is based on the libinput library and \
4*4882a593Smuzhiyunsupports all pointer devices and settings provided by this library. Similar \
5*4882a593Smuzhiyunsoftware include gpm and jamd."
6*4882a593SmuzhiyunHOMEPAGE = "https://salsa.debian.org/consolation-team/consolation"
7*4882a593SmuzhiyunSECTION = "console/utils"
8*4882a593SmuzhiyunLICENSE = "GPL-2.0-or-later"
9*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE;md5=73ca626e1d9048abfc7d599370650827"
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunDEPENDS = " \
12*4882a593Smuzhiyun    libevdev \
13*4882a593Smuzhiyun    libinput \
14*4882a593Smuzhiyun    udev \
15*4882a593Smuzhiyun"
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunSRC_URI = "git://salsa.debian.org/consolation-team/consolation.git;branch=master"
18*4882a593SmuzhiyunSRCREV = "4581eaece6e49fa2b687efbdbe23b2de452e7902"
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunS = "${WORKDIR}/git"
21*4882a593Smuzhiyun
22*4882a593Smuzhiyuninherit autotools pkgconfig systemd
23*4882a593Smuzhiyun
24*4882a593Smuzhiyundo_install:append() {
25*4882a593Smuzhiyun    install -d ${D}${systemd_system_unitdir}
26*4882a593Smuzhiyun    install -m 644 ${B}/consolation.service ${D}${systemd_system_unitdir}
27*4882a593Smuzhiyun}
28*4882a593Smuzhiyun
29*4882a593SmuzhiyunSYSTEMD_SERVICE:${PN} = "consolation.service"
30