diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2004-08-01 22:07:51 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2004-08-01 22:07:51 +0000 |
commit | 5d71bc14ad8d596efc7b4a10a011356cac54137d (patch) | |
tree | d5bab838733a0e70f4e5dda471d456f6ffe0bdff /app-misc/lirc | |
parent | Masked on sparc as only Solaris/SPARC binaries exist. (diff) | |
download | historical-5d71bc14ad8d596efc7b4a10a011356cac54137d.tar.gz historical-5d71bc14ad8d596efc7b4a10a011356cac54137d.tar.bz2 historical-5d71bc14ad8d596efc7b4a10a011356cac54137d.zip |
version bump, make it work with 2.6 kernels, install graphics
Diffstat (limited to 'app-misc/lirc')
-rw-r--r-- | app-misc/lirc/ChangeLog | 7 | ||||
-rw-r--r-- | app-misc/lirc/Manifest | 14 | ||||
-rw-r--r-- | app-misc/lirc/files/digest-lirc-0.7.0_pre7 | 2 | ||||
-rw-r--r-- | app-misc/lirc/lirc-0.7.0_pre7.ebuild | 121 |
4 files changed, 137 insertions, 7 deletions
diff --git a/app-misc/lirc/ChangeLog b/app-misc/lirc/ChangeLog index c4d412e8c172..e6c63c02c9e7 100644 --- a/app-misc/lirc/ChangeLog +++ b/app-misc/lirc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-misc/lirc # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/ChangeLog,v 1.31 2004/07/29 04:24:12 tgall Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/ChangeLog,v 1.32 2004/08/01 22:07:51 lanius Exp $ + +*lirc-0.7.0_pre7 (02 Aug 2004) + + 02 Aug 2004; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.0_pre7.ebuild: + version bump, make it work with 2.6 kernels, install graphics 28 Jul 2004; Tom Gall <tgall@gentoo.org> lirc-0.7.0_pre6.ebuild: stable on ppc64, bug #55076 diff --git a/app-misc/lirc/Manifest b/app-misc/lirc/Manifest index 525509dbd36d..55e2b6ef0ae6 100644 --- a/app-misc/lirc/Manifest +++ b/app-misc/lirc/Manifest @@ -1,15 +1,17 @@ -MD5 ebff9b336b8ca203556612be769f5838 ChangeLog 4423 -MD5 39e8c8029290c82b23eb12334f1a2800 lirc-0.6.6-r1.ebuild 3853 +MD5 6ea46a8f53247afcc0e5566e20a97270 lirc-0.7.0_pre6.ebuild 4619 MD5 9dec01b704006290727d5bf8d5c7fb3b lirc-0.7.0_pre3.ebuild 4430 +MD5 599c3664397eb7bae33d02195e9df4a5 lirc-0.7.0_pre7.ebuild 3330 +MD5 39e8c8029290c82b23eb12334f1a2800 lirc-0.6.6-r1.ebuild 3853 MD5 81130c567a1cb8a47c8c4934171c5526 lirc-0.7.0_pre4.ebuild 4490 -MD5 6ea46a8f53247afcc0e5566e20a97270 lirc-0.7.0_pre6.ebuild 4619 +MD5 6a360d8f81b26440eb135c924d4d7dd1 ChangeLog 4596 MD5 1652522405f5936eb29776ef8d5ffa5b metadata.xml 310 MD5 eb1d5f40e0d59edbc1ac2a097cea5850 files/digest-lirc-0.6.6-r1 63 +MD5 d0d865cbe48f328fb4cfb41e22d4407b files/lirc-0.7.0_pre2-i2c.patch.gz 705 +MD5 c596050c9cc46444831c6108bc787c0f files/lircd 476 +MD5 ce31954d209c4e81861d7e3c76aaa91e files/lircd.conf 71 MD5 cec75bc2acbedddba62b71993bf9981c files/digest-lirc-0.7.0_pre3 67 MD5 03a0569271c2917b330754938b62cae7 files/digest-lirc-0.7.0_pre4 67 MD5 9d17cef262495b7318c8929900877365 files/digest-lirc-0.7.0_pre6 67 +MD5 556773de652aa24339c9807015e154a9 files/digest-lirc-0.7.0_pre7 154 MD5 6031968a1ddb51ff5265d1f22bd2d237 files/lirc-0.6.6-gentoo.diff.bz2 2215 -MD5 d0d865cbe48f328fb4cfb41e22d4407b files/lirc-0.7.0_pre2-i2c.patch.gz 705 -MD5 c596050c9cc46444831c6108bc787c0f files/lircd 476 -MD5 ce31954d209c4e81861d7e3c76aaa91e files/lircd.conf 71 MD5 ee2b49c33fb3b2a65122cfc698d9e100 files/xbox-lircd.conf 784 diff --git a/app-misc/lirc/files/digest-lirc-0.7.0_pre7 b/app-misc/lirc/files/digest-lirc-0.7.0_pre7 new file mode 100644 index 000000000000..8e9b751a1cf3 --- /dev/null +++ b/app-misc/lirc/files/digest-lirc-0.7.0_pre7 @@ -0,0 +1,2 @@ +MD5 6e8e6d847042e17151eaf58266b58759 lirc-0.7.0pre7.tar.bz2 452630 +MD5 6dcc4716e2a6a09a1674cc1757c6b92e 01-add-2.6-devfs-and-sysfs-to-lirc_dev.patch 4007 diff --git a/app-misc/lirc/lirc-0.7.0_pre7.ebuild b/app-misc/lirc/lirc-0.7.0_pre7.ebuild new file mode 100644 index 000000000000..1dbc0184cbd3 --- /dev/null +++ b/app-misc/lirc/lirc-0.7.0_pre7.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.7.0_pre7.ebuild,v 1.1 2004/08/01 22:07:51 lanius Exp $ + +inherit eutils kmod + +DESCRIPTION="LIRC is a package that allows you to decode and send infra-red \ + signals of many (but not all) commonly used remote controls." +HOMEPAGE="http://www.lirc.org" + +# LIRC_OPTS = ???? v +# This are the defaults. With this support for all supported remotes +# will be build. +# If you want other options then set the Environment variable to your needs. + +# Note: If you don't specify the driver configure becomes interactiv. + +# You have to know, which driver you want; +# --with-driver=X + +# where X is one of: +# none, any, animax, avermedia, avermedia98, +# bestbuy, bestbuy2, caraca, chronos, comX, +# cph03x, cph06x, creative, fly98, flyvideo, +# hauppauge,hauppauge_dvb, ipaq, irdeo, +# irdeo_remote, irman, irreal, it87, knc_one, +# logitech, lptX, mediafocusI, packard_bell, +# parallel, pctv, pixelview_bt878, +# pixelview_pak, pixelview_pro, provideo, +# realmagic, remotemaster, serial, silitek, +# sir, slinke, tekram, winfast_tv2000 + +# This could be usefull too + +# --with-port=port # port number for the lirc device. +# --with-irq=irq # irq line for the lirc device. +# --with-timer=value # timer value for the parallel driver +# --with-tty=file # tty to use (Irman, RemoteMaster, etc.) +# --without-soft-carrier # if your serial hw generates carrier +# --with-transmitter # if you use a transmitter diode + +SLOT="0" +LICENSE="GPL-2" +IUSE="doc" +KEYWORDS="~x86 ~ppc ~alpha ~ia64 ~amd64 ~ppc64" + +DEPEND="virtual/linux-sources" + +MY_P=${P/_/} + +SRC_URI="http://lirc.sourceforge.net/software/snapshots/${MY_P}.tar.bz2 + http://www.hardeman.nu/~david/lirc/broken-out/01-add-2.6-devfs-and-sysfs-to-lirc_dev.patch" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${DISTDIR}/01-add-2.6-devfs-and-sysfs-to-lirc_dev.patch + sed -i -e "s:-O2 -g:${CFLAGS}:" configure configure.in +} + +src_compile() { + [ "x${LIRC_OPTS}" = x ] && LIRC_OPTS="--with-driver=serial \ + --with-port=0x3f8 --with-irq=4" + + if is_kernel 2 6; then + kmod_make_linux_writable + fi + + # remove parallel driver on SMP systems + if [ ! -z "`uname -v | grep SMP`" ] + then + sed -i -e "s:lirc_parallel::" drivers/Makefile + fi + + unset ARCH + econf \ + --disable-manage-devices \ + --with-syslog=LOG_DAEMON \ + --enable-sandboxed \ + ${LIRC_OPTS} || die "./configure failed" + + emake || die + +} + +src_install() { + make DESTDIR=${D} install || die + + exeinto /etc/init.d + doexe ${FILESDIR}/lircd + + insinto /etc/conf.d + newins ${FILESDIR}/lircd.conf lircd + + if [ "${PROFILE_ARCH}" == "xbox" ]; then + insinto /etc + newins ${FILESDIR}/xbox-lircd.conf lircd.conf + fi + + if [ `use doc` ]; then + dohtml doc/html/*.html + insinto /usr/share/doc/${PF}/images + doins doc/images/* + fi +} + +pkg_postinst() { + /usr/sbin/update-modules + + einfo + einfo "The lirc Linux Infrared Remote Control Package has been" + einfo "merged, please read the documentation, and if necessary" + einfo "add what is needed to /etc/modules.autoload or" + einfo "/etc/modules.d. If you need special compile options" + einfo "then read the comments at the begin of this" + einfo "ebuild (source) and set the LIRC_OPTS environment" + einfo "variable to your needs." + einfo +} |