diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2009-02-15 19:11:03 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2009-02-15 19:11:03 +0000 |
commit | 9a6c46a50965fbdbe886d4e5a591acff26be66d2 (patch) | |
tree | 47151c1e565077d5ede1a76e3aff65199c2d1672 /media-video | |
parent | Bump patchset to fix failure with gcc-4.3, bug #258075 (diff) | |
download | gentoo-2-9a6c46a50965fbdbe886d4e5a591acff26be66d2.tar.gz gentoo-2-9a6c46a50965fbdbe886d4e5a591acff26be66d2.tar.bz2 gentoo-2-9a6c46a50965fbdbe886d4e5a591acff26be66d2.zip |
Bump to 1.4. Relies on udev information to load firwmare. Closes bug #258728.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/isight-firmware-tools/ChangeLog | 11 | ||||
-rw-r--r-- | media-video/isight-firmware-tools/isight-firmware-tools-1.4.ebuild | 55 |
2 files changed, 64 insertions, 2 deletions
diff --git a/media-video/isight-firmware-tools/ChangeLog b/media-video/isight-firmware-tools/ChangeLog index d26442f91bf8..ad02561cd249 100644 --- a/media-video/isight-firmware-tools/ChangeLog +++ b/media-video/isight-firmware-tools/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-video/isight-firmware-tools -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/isight-firmware-tools/ChangeLog,v 1.6 2008/12/24 11:49:21 eva Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/isight-firmware-tools/ChangeLog,v 1.7 2009/02/15 19:11:03 eva Exp $ + +*isight-firmware-tools-1.4 (15 Feb 2009) + + 15 Feb 2009; Gilles Dartiguelongue <eva@gentoo.org> + +isight-firmware-tools-1.4.ebuild: + Bump to 1.4. Relies on udev information to load firwmare. Closes bug + #258728. *isight-firmware-tools-1.2-r1 (24 Dec 2008) diff --git a/media-video/isight-firmware-tools/isight-firmware-tools-1.4.ebuild b/media-video/isight-firmware-tools/isight-firmware-tools-1.4.ebuild new file mode 100644 index 000000000000..4febb5606051 --- /dev/null +++ b/media-video/isight-firmware-tools/isight-firmware-tools-1.4.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/isight-firmware-tools/isight-firmware-tools-1.4.ebuild,v 1.1 2009/02/15 19:11:03 eva Exp $ + +inherit autotools eutils multilib + +DESCRIPTION="Extract, load or export firmware for the iSight webcams" +HOMEPAGE="http://bersace03.free.fr/ift/" +SRC_URI="http://launchpad.net/${PN}/main/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-libs/glib-2.14 + dev-libs/libusb + dev-libs/libgcrypt" +# >=sys-apps/hal-0.5.9" +DEPEND="${RDEPEND} + >=dev-util/intltool-0.35.5 + sys-apps/texinfo" + +src_unpack() { + unpack ${A} + cd "${S}" + + # Fix forced as-needed build, bug #247904 + epatch "${FILESDIR}/${PN}-1.2-ift-ldadd.patch" + + sed "s:/lib/firmware:/$(get_libdir)/firmware:" \ + -i src/isight.rules.in.in || die "sed failed" + + eautomake +} + +src_compile() { + # https://bugs.launchpad.net/isight-firmware-tools/+bug/243255 + econf --enable-udev --disable-hal --docdir="${ROOT}/usr/share/doc/${P}" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + mv "${D}"/etc/udev/rules.d/isight.rules "${D}"/etc/udev/rules.d/70-isight.rules + rm -f "${D}/usr/share/doc/${P}/HOWTO" + dodoc AUTHORS ChangeLog HOWTO NEWS README +} + +pkg_postinst() { + elog "You need to extract your firmware prior to being able to loading it" + elog "ift-extract --apple-driver /macos/System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBVideoSupport.kext/Contents/MacOS/AppleUSBVideoSupport" + elog "If you do not have OSX you can get AppleUSBVideoSupport from" + elog "http://www.mediafire.com/?81xtkqyttjt" +} |