diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2005-08-23 10:43:47 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2005-08-23 10:43:47 +0000 |
commit | 252e4029d00191e9f01c380ebcca5cd9b6d489ce (patch) | |
tree | 883761d38ea423612af0189e62136bfea8117c9d | |
parent | dhcpcd now reports the correct required version (diff) | |
download | gentoo-2-252e4029d00191e9f01c380ebcca5cd9b6d489ce.tar.gz gentoo-2-252e4029d00191e9f01c380ebcca5cd9b6d489ce.tar.bz2 gentoo-2-252e4029d00191e9f01c380ebcca5cd9b6d489ce.zip |
versino bump, fix rules file
(Portage version: 2.0.51.22-r2)
-rw-r--r-- | app-misc/lirc/ChangeLog | 8 | ||||
-rw-r--r-- | app-misc/lirc/Manifest | 14 | ||||
-rw-r--r-- | app-misc/lirc/files/digest-lirc-0.7.2 | 1 | ||||
-rw-r--r-- | app-misc/lirc/lirc-0.7.1.ebuild | 4 | ||||
-rw-r--r-- | app-misc/lirc/lirc-0.7.2.ebuild | 153 |
5 files changed, 166 insertions, 14 deletions
diff --git a/app-misc/lirc/ChangeLog b/app-misc/lirc/ChangeLog index e35c350f9bc9..0c552aea07a7 100644 --- a/app-misc/lirc/ChangeLog +++ b/app-misc/lirc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/lirc # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/ChangeLog,v 1.70 2005/07/10 15:33:33 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/ChangeLog,v 1.71 2005/08/23 10:43:47 lanius Exp $ + +*lirc-0.7.2 (23 Aug 2005) + + 23 Aug 2005; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.1.ebuild, + +lirc-0.7.2.ebuild: + version bump; fix rules file 10 Jul 2005; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.1.ebuild: add udev rules file, bug #98171 diff --git a/app-misc/lirc/Manifest b/app-misc/lirc/Manifest index ceca0fc89954..75ff8de2b045 100644 --- a/app-misc/lirc/Manifest +++ b/app-misc/lirc/Manifest @@ -1,8 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +MD5 9c81e0bbeb245fc6eb7136f1a315a658 lirc-0.7.2.ebuild 4422 MD5 57ee6a35c4bfcdac11e34f82a7ac2768 lirc-0.7.0-r1.ebuild 4494 -MD5 bb4003736ddee5cfe663907dfd032e33 lirc-0.7.1.ebuild 4421 +MD5 9c81e0bbeb245fc6eb7136f1a315a658 lirc-0.7.1.ebuild 4422 MD5 c26c5e15f0ad242d0043cbb5280c8d99 ChangeLog 10169 MD5 40a6e0a06901a627d29f4c528e40c9ad metadata.xml 265 MD5 8b5ccb169d823795a11450a1c052da55 files/digest-lirc-0.7.0-r1 63 @@ -10,6 +8,7 @@ MD5 d0d865cbe48f328fb4cfb41e22d4407b files/lirc-0.7.0_pre2-i2c.patch.gz 705 MD5 ab341c2bcfd5c4f94560dc256e32a70c files/lircd 450 MD5 96f711e08f4de00f8005fb7160be8452 files/lircd.conf 66 MD5 07a6b9497abcb0ebf09b83699dd56b2c files/digest-lirc-0.7.1 63 +MD5 be588343f18b4d80100ecee0efd3870c files/digest-lirc-0.7.2 63 MD5 8fd71f6a7c4842bfbad1e2bfb67f187f files/lirc-0.7.0-streamzap.patch.bz2 16868 MD5 54581835f791fe37a1285926c6d21b12 files/lircmd 466 MD5 6031968a1ddb51ff5265d1f22bd2d237 files/lirc-0.6.6-gentoo.diff.bz2 2215 @@ -18,10 +17,3 @@ MD5 1106aad81c744af1a4c82b0cb66b3513 files/lirc-0.7.0-xbox.patch.bz2 10512 MD5 ab567186b553096440ee53918e52b867 files/lirc-0.7.0_pre7-streamzap.patch.bz2 10724 MD5 ee2b49c33fb3b2a65122cfc698d9e100 files/xbox-lircd.conf 784 MD5 d874cf5e0b5c21cd211acea456f171d7 files/lirc-0.7.0-configure.in.patch 747 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFC0T/tevY57Fted3ERApCPAKCluaXpTi2fVb4/r+fA6Ks0ODwnLwCgjTnU -HfufesN1vDyovzz2jljpZSU= -=lAcR ------END PGP SIGNATURE----- diff --git a/app-misc/lirc/files/digest-lirc-0.7.2 b/app-misc/lirc/files/digest-lirc-0.7.2 new file mode 100644 index 000000000000..b2fb94c0cc08 --- /dev/null +++ b/app-misc/lirc/files/digest-lirc-0.7.2 @@ -0,0 +1 @@ +MD5 4510cf711f5c146f80c5bdfd61ca3f4a lirc-0.7.2.tar.bz2 496627 diff --git a/app-misc/lirc/lirc-0.7.1.ebuild b/app-misc/lirc/lirc-0.7.1.ebuild index 4480b9096429..6cf63edd4f83 100644 --- a/app-misc/lirc/lirc-0.7.1.ebuild +++ b/app-misc/lirc/lirc-0.7.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.7.1.ebuild,v 1.6 2005/07/10 15:33:33 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.7.1.ebuild,v 1.7 2005/08/23 10:43:47 lanius Exp $ inherit eutils linux-mod flag-o-matic @@ -125,7 +125,7 @@ src_install() { has_version sys-fs/udev && ( insinto /etc/udev/rules.d/; - newins ${FILESDIR}/lirc.rules 10-lirc.rules ) + newins ${S}/contrib/lirc.rules 10-lirc.rules ) if use doc ; then dohtml doc/html/*.html diff --git a/app-misc/lirc/lirc-0.7.2.ebuild b/app-misc/lirc/lirc-0.7.2.ebuild new file mode 100644 index 000000000000..a16debf7dc7a --- /dev/null +++ b/app-misc/lirc/lirc-0.7.2.ebuild @@ -0,0 +1,153 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.7.2.ebuild,v 1.1 2005/08/23 10:43:47 lanius Exp $ + +inherit eutils linux-mod flag-o-matic + +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, act200l, animax, atilibusb, +# atiusb, audio, avermedia, avermedia_vdomate, +# avermedia98, bestbuy, bestbuy2, breakoutbox, +# bte, caraca, chronos, comX, +# creative_infracd, dsp, cph03x, cph06x, +# creative, devinput, exaudio, flyvideo, +# gvbctv5pci, hauppauge, hauppauge_dvb, +# hercules_smarttv_stereo, igorplugusb, irdeo, +# irdeo_remote, irman, irreal, it87, knc_one, +# kworld, leadtek_0007, leadtek_0010, +# livedrive_midi, livedrive_seq, logitech, +# lptX, mceusb, mediafocusI, mp3anywhere, +# packard_bell, parallel, pcmak, pcmak_usb, +# pctv, pixelview_bt878, pixelview_pak, +# pixelview_pro, provideo, realmagic, +# remotemaster, sa1100, sasem, serial, +# silitek, sir, slinke, tekram, tekram_bt829, +# tira, tvbox, udp, uirt2, uirt2_raw" +# winfast_tv2000 is now leadtek_0010 +# streamzap + +# 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="debug doc X" +KEYWORDS="~x86 ~ppc ~alpha ~ia64 ~amd64 ~ppc64" + +RDEPEND="virtual/libc + X? ( virtual/x11 )" + +DEPEND="virtual/linux-sources + sys-devel/autoconf + ${RDEPEND}" + +SRC_URI="mirror://sourceforge/lirc/${P}.tar.bz2" + +src_unpack() { + unpack ${A} + cd ${S} + #epatch ${FILESDIR}/lirc-0.7.0-xbox.patch.bz2 + + filter-flags -Wl,-O1 + sed -i -e "s:-O2 -g:${CFLAGS}:" configure configure.in + + # fix bz878 compilation, bug #87505 + sed -i -e "s:lircd.conf.pixelview_bt878:lircd.conf.playtv_bt878:" configure configure.in +} + +src_compile() { + # set default configure options + [ "x${LIRC_OPTS}" = x ] && [ "${PROFILE_ARCH}" == "xbox" ] && \ + LIRC_OPTS="--with-driver=xboxusb" + [ "x${LIRC_OPTS}" = x ] && LIRC_OPTS="--with-driver=serial \ + --with-port=0x3f8 --with-irq=4" + + # remove parallel driver on SMP systems + if linux_chkconfig_present SMP ; then + sed -i -e "s:lirc_parallel::" drivers/Makefile + fi + + # Patch bad configure for /usr/src/linux + libtoolize --copy --force || die "libtoolize failed" + sed -si "s|/usr/src/kernel\-source\-\`uname \-r\` /usr/src/linux\-\`uname \-r\` ||" \ + acinclude.m4 aclocal.m4 configure || die "/usr/src/linux sed failed" + + get_version + sed -si "s|\`uname \-r\`|${KV_FULL}|" configure configure.in setup.sh || \ + die "/lib/modules sed failed" + + unset ARCH + export WANT_AUTOCONF=2.5 + + econf \ + --disable-manage-devices \ + --localstatedir=/var \ + --with-syslog=LOG_DAEMON \ + --enable-sandboxed \ + `use_enable debug` \ + `use_with X` \ + ${LIRC_OPTS} || die "./configure failed" + + convert_to_m ${S}/Makefile + 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 + + has_version sys-fs/udev && ( + insinto /etc/udev/rules.d/; + newins ${S}/contrib/lirc.rules 10-lirc.rules ) + + if use doc ; then + dohtml doc/html/*.html + insinto /usr/share/doc/${PF}/images + doins doc/images/* + fi +} + +pkg_preinst() { + cp ${ROOT}/etc/lircd.conf ${IMAGE}/etc +} + +pkg_postinst() { + 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 + + update_depmod +} |