From 923da5faf7fc77f7c3d65c94c80972126ce9e48b Mon Sep 17 00:00:00 2001 From: Christian Faulhammer Date: Sat, 3 Oct 2009 22:46:15 +0000 Subject: fix bug 276518 (with sping) and some RDEPEND/DEPEND issues (Portage version: 2.1.6.13/cvs/Linux i686) --- app-misc/lirc/ChangeLog | 8 +++++++- app-misc/lirc/lirc-0.8.5.ebuild | 22 ++++++++++++---------- 2 files changed, 19 insertions(+), 11 deletions(-) (limited to 'app-misc/lirc') diff --git a/app-misc/lirc/ChangeLog b/app-misc/lirc/ChangeLog index ae78233e013f..d862268c5873 100644 --- a/app-misc/lirc/ChangeLog +++ b/app-misc/lirc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/lirc # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/ChangeLog,v 1.206 2009/09/25 10:20:22 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/ChangeLog,v 1.207 2009/10/03 22:46:15 fauli Exp $ + + 03 Oct 2009; Christian Faulhammer lirc-0.8.5.ebuild: + Rework dependencies: + * Add dev-embedded/libftdi for some drivers, bug 276518 (with help + from sping) + * Correct assignment of RDEPEND and DEPEND 25 Sep 2009; Diego E. Pettenò lirc-0.8.4.ebuild, -files/lirc-0.8.4-imon-pad2keys.patch, lirc-0.8.4a.ebuild: diff --git a/app-misc/lirc/lirc-0.8.5.ebuild b/app-misc/lirc/lirc-0.8.5.ebuild index f425c04ec087..dc6bef6d9c0b 100644 --- a/app-misc/lirc/lirc-0.8.5.ebuild +++ b/app-misc/lirc/lirc-0.8.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.8.5.ebuild,v 1.5 2009/08/29 18:09:00 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.8.5.ebuild,v 1.6 2009/10/03 22:46:15 fauli Exp $ inherit eutils linux-mod flag-o-matic autotools @@ -17,7 +17,7 @@ fi LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ppc ~ppc64 x86" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" IUSE="debug doc X hardware-carrier transmitter" S="${WORKDIR}/${MY_P}" @@ -73,25 +73,27 @@ IUSE_LIRC_DEVICES="${IUSE_LIRC_DEVICES_DIRECT} ${IUSE_LIRC_DEVICES_SPECIAL}" LIBUSB_USED_BY_DEV=" all atilibusb awlibusb sasem igorplugusb imon imon_lcd imon_pad imon_rsc streamzap mceusb mceusb2 xboxusb irlink commandir" +LIBFTDI_USED_BY_DEV=" + ftdi usbirboy userspace" for dev in ${LIBUSB_USED_BY_DEV}; do - RDEPEND="${RDEPEND} lirc_devices_${dev}? ( dev-libs/libusb )" + DEPEND="${DEPEND} lirc_devices_${dev}? ( dev-libs/libusb )" +done + +for dev in ${LIBFTDI_USED_BY_DEV}; do + DEPEND="${DEPEND} lirc_devices_${dev}? ( dev-embedded/libftdi )" done RDEPEND="${RDEPEND} - lirc_devices_ftdi? ( dev-embedded/libftdi )" + lirc_devices_usbirboy? ( app-misc/usbirboy ) + lirc_devices_inputlirc? ( app-misc/inputlircd ) + lirc_devices_iguana? ( app-misc/iguanaIR )" # adding only compile-time depends DEPEND="${RDEPEND} virtual/linux-sources lirc_devices_all? ( dev-embedded/libftdi )" -# adding only run-time depends -RDEPEND="${RDEPEND} - lirc_devices_usbirboy? ( app-misc/usbirboy ) - lirc_devices_inputlirc? ( app-misc/inputlircd ) - lirc_devices_iguana? ( app-misc/iguanaIR )" - # add all devices to IUSE for dev in ${IUSE_LIRC_DEVICES}; do IUSE="${IUSE} lirc_devices_${dev}" -- cgit v1.2.3-65-gdbad