diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2011-04-27 12:42:29 +0200 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-05-10 13:57:33 +0200 |
| commit | a8242537b64a16fe7c1b808ace17353ee0b856f3 (patch) | |
| tree | ea5b1ad2b5ac70fef87e47ce34bbbdb23f3e17bd | |
| parent | c4bacfa8621256c8a3115dbd00d261ab2c420ad4 (diff) | |
| download | meta-openembedded-a8242537b64a16fe7c1b808ace17353ee0b856f3.tar.gz | |
xinput-calibrator: add new version 0.7.5 and include .inc to recipe directly
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
3 files changed, 22 insertions, 29 deletions
diff --git a/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator.inc b/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator.inc deleted file mode 100644 index 691a45cd94..0000000000 --- a/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator.inc +++ /dev/null | |||
| @@ -1,12 +0,0 @@ | |||
| 1 | DESCRIPTION = "A generic touchscreen calibration program for X.Org" | ||
| 2 | HOMEPAGE = "http://www.freedesktop.org/wiki/Software/xinput_calibrator" | ||
| 3 | LICENSE = "MIT/X11" | ||
| 4 | DEPENDS = "virtual/libx11 libxi" | ||
| 5 | |||
| 6 | INC_PR = "r8" | ||
| 7 | |||
| 8 | inherit autotools | ||
| 9 | |||
| 10 | RDEPENDS_${PN} = "xinput" | ||
| 11 | RRECOMMENDS_${PN} = "pointercal-xinput" | ||
| 12 | |||
diff --git a/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_0.6.1.bb b/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_0.6.1.bb deleted file mode 100644 index 2eb3cc9427..0000000000 --- a/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_0.6.1.bb +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | require xinput-calibrator.inc | ||
| 2 | |||
| 3 | LIC_FILES_CHKSUM = "file://src/calibrator.cpp;endline=22;md5=998e238a7638a7446eaeb02398f691fc" | ||
| 4 | SRC_URI = "git://github.com/tias/xinput_calibrator.git;protocol=git" | ||
| 5 | |||
| 6 | SRCREV = "d2ce98b3f638667dd64b6d718721379b2dc750a7" | ||
| 7 | PR = "${INC_PR}.0" | ||
| 8 | S = "${WORKDIR}/git/" | ||
| 9 | |||
| 10 | do_install_append() { | ||
| 11 | install -d ${D}${bindir} | ||
| 12 | install -m 0755 scripts/xinput_calibrator_pointercal.sh ${D}${bindir}/xinput_calibrator_once.sh | ||
| 13 | ln -s ${bindir}/xinput_calibrator_x11 ${D}${bindir}/xinput_calibrator | ||
| 14 | install -d ${D}${datadir}/applications/ | ||
| 15 | install -m 0755 scripts/xinput_calibrator.desktop ${D}${datadir}/applications/xinput-calibrator.desktop | ||
| 16 | install -m 0755 scripts/xinput_calibrator_get_hal_calibration.sh ${D}${bindir}/xinput_calibrator_get_hal_calibration.sh | ||
| 17 | } | ||
diff --git a/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb b/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb new file mode 100644 index 0000000000..4024883463 --- /dev/null +++ b/meta-oe/recipes-graphics/xinput-calibrator/xinput-calibrator_0.7.5.bb | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | DESCRIPTION = "A generic touchscreen calibration program for X.Org" | ||
| 2 | HOMEPAGE = "http://www.freedesktop.org/wiki/Software/xinput_calibrator" | ||
| 3 | LICENSE = "MIT/X11" | ||
| 4 | LIC_FILES_CHKSUM = "file://src/calibrator.cpp;endline=22;md5=998e238a7638a7446eaeb02398f691fc" | ||
| 5 | DEPENDS = "virtual/libx11 libxi" | ||
| 6 | |||
| 7 | inherit autotools | ||
| 8 | |||
| 9 | RDEPENDS_${PN} = "xinput" | ||
| 10 | RRECOMMENDS_${PN} = "pointercal-xinput" | ||
| 11 | |||
| 12 | SRC_URI = "http://github.com/downloads/tias/xinput_calibrator/xinput_calibrator-${PV}.tar.gz" | ||
| 13 | SRC_URI[md5sum] = "20da0a2055a5a75962add8c6b44f60fa" | ||
| 14 | SRC_URI[sha256sum] = "baa4ddca49ec94c27ba4c715bfa26692fec1132103e927213c3169e475d3d971" | ||
| 15 | |||
| 16 | S = "${WORKDIR}/xinput_calibrator-${PV}" | ||
| 17 | |||
| 18 | do_install_append() { | ||
| 19 | install -d ${D}${bindir} | ||
| 20 | install -m 0755 scripts/xinput_calibrator_pointercal.sh ${D}${bindir}/xinput_calibrator_once.sh | ||
| 21 | install -m 0755 scripts/xinput_calibrator_get_hal_calibration.sh ${D}${bindir}/xinput_calibrator_get_hal_calibration.sh | ||
| 22 | } | ||
