From 1030f8b122a25ae73b20ae080cbf923c72a56895 Mon Sep 17 00:00:00 2001 From: Frans Meulenbroeks Date: Sun, 13 Jun 2010 22:01:38 +0200 Subject: lirc: moved 0.8.5 to 0.8.6+cvs20100613 lirc versions before mar 20, 2010 do not compile with kernels >= 2.6.33 As there is no regular release after that date, I've moved lirc to the current cvs head Signed-off-by: Frans Meulenbroeks --- recipes/lirc/lirc-modules_0.8.5.bb | 33 ------------- recipes/lirc/lirc-modules_0.8.6+cvs20100613.bb | 29 ++++++++++++ recipes/lirc/lirc_0.8.5.bb | 65 -------------------------- recipes/lirc/lirc_0.8.6+cvs20100613.bb | 65 ++++++++++++++++++++++++++ 4 files changed, 94 insertions(+), 98 deletions(-) delete mode 100644 recipes/lirc/lirc-modules_0.8.5.bb create mode 100644 recipes/lirc/lirc-modules_0.8.6+cvs20100613.bb delete mode 100644 recipes/lirc/lirc_0.8.5.bb create mode 100644 recipes/lirc/lirc_0.8.6+cvs20100613.bb (limited to 'recipes/lirc') diff --git a/recipes/lirc/lirc-modules_0.8.5.bb b/recipes/lirc/lirc-modules_0.8.5.bb deleted file mode 100644 index 03f1f914fa..0000000000 --- a/recipes/lirc/lirc-modules_0.8.5.bb +++ /dev/null @@ -1,33 +0,0 @@ -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" - -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" - -SRC_URI[md5sum] = "a9e44df2adbd71be586e0df6304605cc" -SRC_URI[sha256sum] = "ab5752e9af2df5f4cd2bd6d4f13872fbb519d7fa1bd3f187cc14dcb163440234" diff --git a/recipes/lirc/lirc-modules_0.8.6+cvs20100613.bb b/recipes/lirc/lirc-modules_0.8.6+cvs20100613.bb new file mode 100644 index 0000000000..fa941043d8 --- /dev/null +++ b/recipes/lirc/lirc-modules_0.8.6+cvs20100613.bb @@ -0,0 +1,29 @@ +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" + +SRCDATE=${@bb.data.getVar('PV', d, 1)[9:]} + +SRC_URI = "cvs://anonymous@lirc.cvs.sourceforge.net/cvsroot/lirc;module=lirc;method=pserver;cvsdate=${SRCDATE}" +S = "${WORKDIR}/lirc" + +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" diff --git a/recipes/lirc/lirc_0.8.5.bb b/recipes/lirc/lirc_0.8.5.bb deleted file mode 100644 index d37ca3f8ad..0000000000 --- a/recipes/lirc/lirc_0.8.5.bb +++ /dev/null @@ -1,65 +0,0 @@ -DESCRIPTION = "LIRC is a package that allows you to decode and send infra-red signals of many commonly used remote controls." -DESCRIPTION_append_lirc = " This package contains the lirc daemon, libraries and tools." -DESCRIPTION_append_lirc-x = " This package contains lirc tools for X11." -DESCRIPTION_append_lirc-exec = " This package contains a daemon that runs programs on IR signals." -DESCRIPTION_append_lirc-remotes = " This package contains some config files for remotes." -DESCRIPTION_append_lirc-nslu2example = " This package contains a working config for RC5 remotes and a modified NSLU2." -SECTION = "console/network" -PRIORITY = "optional" -HOMEPAGE = "http://www.lirc.org" -LICENSE = "GPL" -DEPENDS = "virtual/kernel virtual/libx11 libxau libsm libice" -DEPENDS_nslu2 = "virtual/kernel lirc-modules" -RDEPENDS_${PN} = "lirc-modules" -RDEPENDS_lirc-x = "lirc" -RDEPENDS_lirc-exec = "lirc" -RDEPENDS_lirc-nslu2example = "lirc lirc-exec" -RRECOMMENDS_lirc = "lirc-exec" -PR = "r2" - -SRC_URI = "${SOURCEFORGE_MIRROR}/lirc/lirc-${PV}.tar.gz \ - file://lircd.init file://lircmd.init file://lircexec.init" -SRC_URI_append_nslu2 = " file://lircd.conf_nslu2 file://lircrc_nslu2" - -S = "${WORKDIR}/lirc-${PV}" - -inherit autotools module-base update-rc.d - -INITSCRIPT_PACKAGES = "lirc lirc-exec" -INITSCRIPT_NAME = "lircd" -INITSCRIPT_PARAMS = "defaults 20" -INITSCRIPT_NAME_lirc-exec = "lircexec" -INITSCRIPT_PARAMS_lirc-exec = "defaults 21" - -require lirc-config.inc - -EXTRA_OEMAKE = 'SUBDIRS="daemons tools"' - -do_install_append() { - install -d ${D}${sysconfdir}/init.d - install ${WORKDIR}/lircd.init ${D}${sysconfdir}/init.d/lircd - install ${WORKDIR}/lircexec.init ${D}${sysconfdir}/init.d/lircexec - install -d ${D}${datadir}/lirc/ - cp -pPR ${S}/remotes ${D}${datadir}/lirc/ - rm -rf ${D}/dev -} - -do_install_append_nslu2() { - install -d ${D}${sysconfdir} - install ${WORKDIR}/lircd.conf_nslu2 ${D}${sysconfdir}/lircd.conf - install ${WORKDIR}/lircrc_nslu2 ${D}${sysconfdir}/lircrc -} - -PACKAGES =+ "lirc-x lirc-exec lirc-remotes" -PACKAGES_prepend_nslu2 = "lirc-nslu2example " - -FILES_${PN}-dbg += "${bindir}/.debug ${sbindir}/.debug" -FILES_${PN} = "${bindir} ${sbindir} ${libdir} ${sysconfdir}/init.d" -FILES_lirc-x = "${bindir}/irxevent ${bindir}/xmode2" -FILES_lirc-exec = "${bindir}/irexec ${sysconfdir}/init.d/lircexec" -FILES_lirc-remotes = "${datadir}/lirc/remotes" -FILES_lirc-nslu2example = "${sysconfdir}/lircd.conf ${sysconfdir}/lircrc" -CONFFILES_lirc-nslu2example = "${FILES_lirc-nslu2example}" - -SRC_URI[md5sum] = "a9e44df2adbd71be586e0df6304605cc" -SRC_URI[sha256sum] = "ab5752e9af2df5f4cd2bd6d4f13872fbb519d7fa1bd3f187cc14dcb163440234" diff --git a/recipes/lirc/lirc_0.8.6+cvs20100613.bb b/recipes/lirc/lirc_0.8.6+cvs20100613.bb new file mode 100644 index 0000000000..ee979f463f --- /dev/null +++ b/recipes/lirc/lirc_0.8.6+cvs20100613.bb @@ -0,0 +1,65 @@ +DESCRIPTION = "LIRC is a package that allows you to decode and send infra-red signals of many commonly used remote controls." +DESCRIPTION_append_lirc = " This package contains the lirc daemon, libraries and tools." +DESCRIPTION_append_lirc-x = " This package contains lirc tools for X11." +DESCRIPTION_append_lirc-exec = " This package contains a daemon that runs programs on IR signals." +DESCRIPTION_append_lirc-remotes = " This package contains some config files for remotes." +DESCRIPTION_append_lirc-nslu2example = " This package contains a working config for RC5 remotes and a modified NSLU2." +SECTION = "console/network" +PRIORITY = "optional" +HOMEPAGE = "http://www.lirc.org" +LICENSE = "GPL" +DEPENDS = "virtual/kernel virtual/libx11 libxau libsm libice" +DEPENDS_nslu2 = "virtual/kernel lirc-modules" +RDEPENDS_${PN} = "lirc-modules" +RDEPENDS_lirc-x = "lirc" +RDEPENDS_lirc-exec = "lirc" +RDEPENDS_lirc-nslu2example = "lirc lirc-exec" +RRECOMMENDS_lirc = "lirc-exec" +PR = "r0" + +SRCDATE=${@bb.data.getVar('PV', d, 1)[9:]} + +SRC_URI = "cvs://anonymous@lirc.cvs.sourceforge.net/cvsroot/lirc;module=lirc;method=pserver;cvsdate=${SRCDATE} \ + file://lircd.init file://lircmd.init file://lircexec.init" +SRC_URI_append_nslu2 = " file://lircd.conf_nslu2 file://lircrc_nslu2" + +S = "${WORKDIR}/lirc" + +inherit autotools module-base update-rc.d + +INITSCRIPT_PACKAGES = "lirc lirc-exec" +INITSCRIPT_NAME = "lircd" +INITSCRIPT_PARAMS = "defaults 20" +INITSCRIPT_NAME_lirc-exec = "lircexec" +INITSCRIPT_PARAMS_lirc-exec = "defaults 21" + +require lirc-config.inc + +EXTRA_OEMAKE = 'SUBDIRS="daemons tools"' + +do_install_append() { + install -d ${D}${sysconfdir}/init.d + install ${WORKDIR}/lircd.init ${D}${sysconfdir}/init.d/lircd + install ${WORKDIR}/lircexec.init ${D}${sysconfdir}/init.d/lircexec + install -d ${D}${datadir}/lirc/ + cp -pPR ${S}/remotes ${D}${datadir}/lirc/ + rm -rf ${D}/dev +} + +do_install_append_nslu2() { + install -d ${D}${sysconfdir} + install ${WORKDIR}/lircd.conf_nslu2 ${D}${sysconfdir}/lircd.conf + install ${WORKDIR}/lircrc_nslu2 ${D}${sysconfdir}/lircrc +} + +PACKAGES =+ "lirc-x lirc-exec lirc-remotes" +PACKAGES_prepend_nslu2 = "lirc-nslu2example " + +FILES_${PN}-dbg += "${bindir}/.debug ${sbindir}/.debug" +FILES_${PN}-dev += "${libdir}/liblirc_client.so" +FILES_${PN} = "${bindir} ${sbindir} ${libdir} ${sysconfdir} ${exec_prefix}/var" +FILES_lirc-x = "${bindir}/irxevent ${bindir}/xmode2" +FILES_lirc-exec = "${bindir}/irexec ${sysconfdir}/init.d/lircexec" +FILES_lirc-remotes = "${datadir}/lirc/remotes" +FILES_lirc-nslu2example = "${sysconfdir}/lircd.conf ${sysconfdir}/lircrc" +CONFFILES_lirc-nslu2example = "${FILES_lirc-nslu2example}" -- cgit v1.2.3