summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-01-18 18:40:05 +0100
committerfrans <frans@linux-cdv2.site>2009-01-19 19:43:38 +0100
commit7dc7ba7ecc15fd8b70798113918e5811bdad7c54 (patch)
tree6324557dc8b32bb6d9c62bf0fa651cdf20328813
parent69f5e0b0a5ca89a00f364f604a95cbcf23d45986 (diff)
lirc: updated to 0.8.4a; added mceusb & mceusb2 drivers
-rw-r--r--conf/checksums.ini4
-rw-r--r--packages/lirc/lirc-config.inc2
-rw-r--r--packages/lirc/lirc-modules_0.8.4a.bb31
3 files changed, 36 insertions, 1 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini
index 8fe858dadf..60409179d0 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -13578,6 +13578,10 @@ sha256=d701ba12a96d913fc963eb7e5cc751bbd12fefb921dae4e70c8549a43a108dd6
md5=056d3ff0d855427da9628d2ff2ab4f57
sha256=8bc1c6cfc6a9c312c8f5b8cc79b501e26b438c96a2d245f42e50bfb353617716
+[http://downloads.sourceforge.net/lirc/lirc-0.8.4a.tar.gz]
+md5=1101c44d542807a4f9f5e33349b5bf56
+sha256=d6e68935e69c82bba091cb102bbc4b63428eb8deb94c7d00e14ea3b673e10712
+
[http://lisa-home.sourceforge.net/src/lisa-0.2.2.tar.bz2]
md5=cba116a4880f77205e0813d93bf14310
sha256=986a923a5247468db1d2a03e93268f4025ae5dc27e911dafc7b37e6a802122db
diff --git a/packages/lirc/lirc-config.inc b/packages/lirc/lirc-config.inc
index 03bfc61e39..5a2cd83cc0 100644
--- a/packages/lirc/lirc-config.inc
+++ b/packages/lirc/lirc-config.inc
@@ -1,6 +1,6 @@
EXTRA_OECONF = "--with-kerneldir=${STAGING_KERNEL_DIR} --with-driver=${DRIVER}"
-DRIVER ?= "serial"
+DRIVER ?= "serial mceusb mceusb2"
# fails to build at the moment, re-enable later
#DRIVER_collie = "sa1100"
DRIVER_h3600 = "sa1100"
diff --git a/packages/lirc/lirc-modules_0.8.4a.bb b/packages/lirc/lirc-modules_0.8.4a.bb
new file mode 100644
index 0000000000..3815372a47
--- /dev/null
+++ b/packages/lirc/lirc-modules_0.8.4a.bb
@@ -0,0 +1,31 @@
+DESCRIPTION = "LIRC is a package that allows you to decode and send infra-red signals of many commonly used remote controls. This package contains the lirc kernel modules."
+SECTION = "base"
+PRIORITY = "optional"
+HOMEPAGE = "http://www.lirc.org"
+LICENSE = "GPL"
+DEPENDS = "virtual/kernel fakeroot-native setserial"
+PR = "r0"
+
+SRCDATE=${@bb.data.getVar('PV', d, 1)[9:]}
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/lirc/lirc-${PV}.tar.gz"
+S = "${WORKDIR}/lirc-${PV}"
+
+
+inherit autotools module
+
+require lirc-config.inc
+
+MAKE_TARGETS = "KERNEL_PATH=${STAGING_KERNEL_DIR} MAKE='make V=1' -C drivers"
+
+fakeroot do_install() {
+ oe_runmake -C drivers DESTDIR="${D}" moduledir="/lib/modules/${KERNEL_VERSION}/lirc" install
+ rm -rf ${D}/dev
+}
+
+# this is for distributions that don't use udev
+pkg_postinst_append() {
+if [ ! -c $D/dev/lirc -a ! -f /sbin/udevd ]; then mknod $D/dev/lirc c 61 0; fi
+}
+
+FILES_${PN} = "/lib/modules"