mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-04 16:10:10 +00:00
xinput-calibrator: : move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
parent
23d5e85065
commit
34fe984fc6
|
|
@ -4,13 +4,12 @@ LICENSE = "MIT-X"
|
|||
LIC_FILES_CHKSUM = "file://src/calibrator.cpp;endline=22;md5=998e238a7638a7446eaeb02398f691fc"
|
||||
DEPENDS = "virtual/libx11 libxi"
|
||||
|
||||
PR = "r7"
|
||||
PR = "r8"
|
||||
|
||||
inherit autotools systemd
|
||||
inherit autotools
|
||||
|
||||
SRC_URI = "http://github.com/downloads/tias/xinput_calibrator/xinput_calibrator-${PV}.tar.gz \
|
||||
file://0001-xinput_calibrator_pointercal.sh-specify-output-type-.patch \
|
||||
file://xinput-calibrator.service \
|
||||
file://xinput-calibrator-autostart.desktop \
|
||||
"
|
||||
SRC_URI[md5sum] = "20da0a2055a5a75962add8c6b44f60fa"
|
||||
|
|
@ -29,9 +28,6 @@ do_install_append() {
|
|||
install -m 0644 ${WORKDIR}/xinput-calibrator-autostart.desktop ${D}${sysconfdir}/xdg/autostart
|
||||
}
|
||||
|
||||
SYSTEMD_PACKAGES = "${PN}-systemd"
|
||||
SYSTEMD_SERVICE = "${PN}.service"
|
||||
|
||||
FILES_${PN} += "${sysconfdir}/xdg/autostart"
|
||||
RDEPENDS_${PN} = "xinput xterm"
|
||||
RRECOMMENDS_${PN} = "pointercal-xinput"
|
||||
|
|
|
|||
|
|
@ -0,0 +1,10 @@
|
|||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
PRINC := "${@int(PRINC) + 1}"
|
||||
|
||||
inherit systemd
|
||||
|
||||
SRC_URI += "file://xinput-calibrator.service"
|
||||
|
||||
SYSTEMD_PACKAGES = "${PN}-systemd"
|
||||
SYSTEMD_SERVICE = "${PN}.service"
|
||||
Loading…
Reference in New Issue
Block a user