diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2011-12-18 14:05:25 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2011-12-18 14:05:25 +0000 |
commit | 5cbbc3535b778d05f28ab50ea300928dcb3d5343 (patch) | |
tree | 379b87bb086c3d563281c97a67d2f90fc3734216 | |
parent | Version bump. Add ruby19. Require new enough version of coderay for tests. It... (diff) | |
download | gentoo-2-5cbbc3535b778d05f28ab50ea300928dcb3d5343.tar.gz gentoo-2-5cbbc3535b778d05f28ab50ea300928dcb3d5343.tar.bz2 gentoo-2-5cbbc3535b778d05f28ab50ea300928dcb3d5343.zip |
Version bump, thanks to Davide Pesavento for reporting bug #393015.
(Portage version: 2.2.0_alpha80/cvs/Linux x86_64)
-rw-r--r-- | media-video/isight-firmware-tools/ChangeLog | 10 | ||||
-rw-r--r-- | media-video/isight-firmware-tools/isight-firmware-tools-1.6.ebuild | 56 |
2 files changed, 64 insertions, 2 deletions
diff --git a/media-video/isight-firmware-tools/ChangeLog b/media-video/isight-firmware-tools/ChangeLog index 2d1532f44468..407ec714e1ee 100644 --- a/media-video/isight-firmware-tools/ChangeLog +++ b/media-video/isight-firmware-tools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-video/isight-firmware-tools -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/isight-firmware-tools/ChangeLog,v 1.14 2010/11/05 21:06:09 eva Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/isight-firmware-tools/ChangeLog,v 1.15 2011/12/18 14:05:25 eva Exp $ + +*isight-firmware-tools-1.6 (18 Dec 2011) + + 18 Dec 2011; Gilles Dartiguelongue <eva@gentoo.org> + +isight-firmware-tools-1.6.ebuild: + Version bump, thanks to Davide Pesavento for reporting bug #393015. *isight-firmware-tools-1.5.93 (05 Nov 2010) diff --git a/media-video/isight-firmware-tools/isight-firmware-tools-1.6.ebuild b/media-video/isight-firmware-tools/isight-firmware-tools-1.6.ebuild new file mode 100644 index 000000000000..f1a3e728394f --- /dev/null +++ b/media-video/isight-firmware-tools/isight-firmware-tools-1.6.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2011 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.6.ebuild,v 1.1 2011/12/18 14:05:25 eva Exp $ + +EAPI="4" + +inherit eutils multilib versionator + +MY_MAJORV="$(get_version_component_range 1).6" +DESCRIPTION="Extract, load or export firmware for the iSight webcams" +HOMEPAGE="https://launchpad.net/isight-firmware-tools" +SRC_URI="http://launchpad.net/${PN}/main/${MY_MAJORV}/+download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-libs/glib-2.14:2 + virtual/libusb:0 + dev-libs/libgcrypt + >=sys-fs/udev-149" +DEPEND="${RDEPEND} + >=dev-util/intltool-0.35.5 + sys-apps/texinfo" + +DOCS="AUTHORS ChangeLog HOWTO NEWS README" + +src_prepare() { + # Fix multilib support + sed "s:/lib/firmware:/$(get_libdir)/firmware:" \ + -i src/isight.rules.in.in || die "sed failed" + + # Fix build with -O0, bug #221325 + epatch "${FILESDIR}/${PN}-1.5.90-build-O0.patch" +} + +src_configure() { + # https://bugs.launchpad.net/isight-firmware-tools/+bug/243255 + econf --docdir=/usr/share/doc/${PF} +} + +src_install() { + default + mkdir -p "${D}"/lib/udev/rules.d + mv "${D}"/etc/udev/rules.d/isight.rules "${D}"/lib/udev/rules.d/70-isight.rules + rm -rf "${D}"/etc + rm -f "${D}/usr/share/doc/${PF}/HOWTO" +} + +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" +} |