Version bump, pre8 doesnt appear to need the patches that were applied to pre7
authorChris Bainbridge <chrb@gentoo.org>
Fri, 3 Dec 2004 11:52:03 +0000 (11:52 +0000)
committerChris Bainbridge <chrb@gentoo.org>
Fri, 3 Dec 2004 11:52:03 +0000 (11:52 +0000)
app-misc/lirc/ChangeLog
app-misc/lirc/Manifest
app-misc/lirc/files/digest-lirc-0.7.0_pre8 [new file with mode: 0644]
app-misc/lirc/lirc-0.7.0_pre8.ebuild [new file with mode: 0644]

index c5ebf1dea5b7aa8d53b92e9e73a4a9d4ac1a9572..d883f9fdbfaddac3b4a95278e393ead680e190a0 100644 (file)
@@ -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.51 2004/11/30 16:19:25 iggy Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/ChangeLog,v 1.52 2004/12/03 11:52:03 chrb Exp $
+
+*lirc-0.7.0_pre8 (03 Dec 2004)
+
+  03 Dec 2004; Chris Bainbridge <chrb@gentoo.org> +lirc-0.7.0_pre8.ebuild:
+  Version bump, pre8 doesnt appear to need the patches that were applied to pre7
 
   30 Nov 2004; Brian Jackson <iggy@gentoo.org> metadata.xml,
   lirc-0.7.0.ebuild:
index 2594d3a435d8a650c552639c89963359aa46a6eb..f0ba8d217266c56ebf7e438ef3bea81f645bfba2 100644 (file)
@@ -1,20 +1,22 @@
-MD5 6ea46a8f53247afcc0e5566e20a97270 lirc-0.7.0_pre6.ebuild 4619
-MD5 a9b4e7432c9154352e2db62a6f46cd06 lirc-0.7.0.ebuild 3696
+MD5 e3baa1aebab6527dcc58dca53592ed87 ChangeLog 7722
+MD5 9addc749627c39db73047d512379735c lirc-0.7.0_pre8.ebuild 3327
 MD5 9dec01b704006290727d5bf8d5c7fb3b lirc-0.7.0_pre3.ebuild 4430
+MD5 6ea46a8f53247afcc0e5566e20a97270 lirc-0.7.0_pre6.ebuild 4619
 MD5 6409d202b33858fe2babae36d09cff0c lirc-0.7.0_pre7.ebuild 3524
-MD5 2e77e12d9b618f60dea85398745df387 ChangeLog 7533
+MD5 a9b4e7432c9154352e2db62a6f46cd06 lirc-0.7.0.ebuild 3696
 MD5 40a6e0a06901a627d29f4c528e40c9ad metadata.xml 265
-MD5 d0d865cbe48f328fb4cfb41e22d4407b files/lirc-0.7.0_pre2-i2c.patch.gz 705
-MD5 ab341c2bcfd5c4f94560dc256e32a70c files/lircd 450
-MD5 96f711e08f4de00f8005fb7160be8452 files/lircd.conf 66
 MD5 38f5c72cd28f349ae1bfc116190bda17 files/digest-lirc-0.7.0 150
-MD5 8fd71f6a7c4842bfbad1e2bfb67f187f files/lirc-0.7.0-streamzap.patch.bz2 16868
 MD5 cec75bc2acbedddba62b71993bf9981c files/digest-lirc-0.7.0_pre3 67
+MD5 7f3bfc2b752e452a3a45a97ecd5c39d6 files/digest-lirc-0.7.0_pre8 67
 MD5 9d17cef262495b7318c8929900877365 files/digest-lirc-0.7.0_pre6 67
 MD5 556773de652aa24339c9807015e154a9 files/digest-lirc-0.7.0_pre7 154
-MD5 54581835f791fe37a1285926c6d21b12 files/lircmd 466
+MD5 96f711e08f4de00f8005fb7160be8452 files/lircd.conf 66
 MD5 6031968a1ddb51ff5265d1f22bd2d237 files/lirc-0.6.6-gentoo.diff.bz2 2215
+MD5 d0d865cbe48f328fb4cfb41e22d4407b files/lirc-0.7.0_pre2-i2c.patch.gz 705
 MD5 deb700405f78459561856d13837fdd7c files/lirc-0.7.0_pre7-configure.patch 924
 MD5 ab567186b553096440ee53918e52b867 files/lirc-0.7.0_pre7-streamzap.patch.bz2 10724
+MD5 ab341c2bcfd5c4f94560dc256e32a70c files/lircd 450
+MD5 54581835f791fe37a1285926c6d21b12 files/lircmd 466
 MD5 ee2b49c33fb3b2a65122cfc698d9e100 files/xbox-lircd.conf 784
 MD5 d874cf5e0b5c21cd211acea456f171d7 files/lirc-0.7.0-configure.in.patch 747
+MD5 8fd71f6a7c4842bfbad1e2bfb67f187f files/lirc-0.7.0-streamzap.patch.bz2 16868
diff --git a/app-misc/lirc/files/digest-lirc-0.7.0_pre8 b/app-misc/lirc/files/digest-lirc-0.7.0_pre8
new file mode 100644 (file)
index 0000000..0baad2b
--- /dev/null
@@ -0,0 +1 @@
+MD5 aa3b1dccf187753753e392d681bc8b21 lirc-0.7.0pre8.tar.bz2 464294
diff --git a/app-misc/lirc/lirc-0.7.0_pre8.ebuild b/app-misc/lirc/lirc-0.7.0_pre8.ebuild
new file mode 100644 (file)
index 0000000..4db3fb2
--- /dev/null
@@ -0,0 +1,122 @@
+# 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_pre8.ebuild,v 1.1 2004/12/03 11:52:03 chrb 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 ~sparc"
+
+DEPEND="virtual/linux-sources"
+
+MY_P=${P/_/}
+
+SRC_URI="http://lirc.sourceforge.net/software/snapshots/${MY_P}.tar.bz2"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       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"
+
+       # 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 \
+               --localstatedir=/var \
+               --with-syslog=LOG_DAEMON \
+               --enable-sandboxed \
+               ${LIRC_OPTS} || die "./configure failed"
+
+       drivers=`cat drivers/Makefile | grep "^SUBDIRS ="`
+       if is_kernel 2 6 && ! is_koutput && [ "$drivers" != "SUBDIRS = " ]; then
+               kmod_make_linux_writable
+       fi
+
+       emake || die
+
+}
+
+src_install() {
+       make DESTDIR=${D} install || die
+
+       exeinto /etc/init.d
+       doexe ${FILESDIR}/lircd
+       doexe ${FILESDIR}/lircmd
+
+       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
+}