summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-12-29 16:06:40 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-12-29 16:06:40 +0000
commit2d391a9f9315a64b38199dd0007d51fea984f0c3 (patch)
tree98ad37c35beaa2a511c0d13ee6840aeca963404c /media-video/isight-firmware-tools
parentApply patch from upstream SVN revision 2078. Thanks to Petteri Räty for repo... (diff)
downloadgentoo-2-2d391a9f9315a64b38199dd0007d51fea984f0c3.tar.gz
gentoo-2-2d391a9f9315a64b38199dd0007d51fea984f0c3.tar.bz2
gentoo-2-2d391a9f9315a64b38199dd0007d51fea984f0c3.zip
version bump
(Portage version: 2.1.4_rc11)
Diffstat (limited to 'media-video/isight-firmware-tools')
-rw-r--r--media-video/isight-firmware-tools/ChangeLog8
-rw-r--r--media-video/isight-firmware-tools/files/digest-isight-firmware-tools-1.03
-rw-r--r--media-video/isight-firmware-tools/files/ift-ldadd.diff50
-rw-r--r--media-video/isight-firmware-tools/isight-firmware-tools-1.0.ebuild36
4 files changed, 96 insertions, 1 deletions
diff --git a/media-video/isight-firmware-tools/ChangeLog b/media-video/isight-firmware-tools/ChangeLog
index d5fcabf1feae..b9f28c439470 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-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/isight-firmware-tools/ChangeLog,v 1.1 2007/12/19 11:30:44 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/isight-firmware-tools/ChangeLog,v 1.2 2007/12/29 16:06:39 genstef Exp $
+
+*isight-firmware-tools-1.0 (29 Dec 2007)
+
+ 29 Dec 2007; Stefan Schweizer <genstef@gentoo.org> +files/ift-ldadd.diff,
+ +isight-firmware-tools-1.0.ebuild:
+ version bump
*isight-firmware-tools-0.5.1.1 (19 Dec 2007)
diff --git a/media-video/isight-firmware-tools/files/digest-isight-firmware-tools-1.0 b/media-video/isight-firmware-tools/files/digest-isight-firmware-tools-1.0
new file mode 100644
index 000000000000..9390794d4f91
--- /dev/null
+++ b/media-video/isight-firmware-tools/files/digest-isight-firmware-tools-1.0
@@ -0,0 +1,3 @@
+MD5 1706ffd1ecfc28891b12583e72b67915 isight-firmware-tools-1.0.tar.gz 264537
+RMD160 14a556b4f166df46d3f51e9fdc6429272de976f3 isight-firmware-tools-1.0.tar.gz 264537
+SHA256 a9ab0eba062b398927581adca478cab1013b5139820378826fd4d27f932e7d23 isight-firmware-tools-1.0.tar.gz 264537
diff --git a/media-video/isight-firmware-tools/files/ift-ldadd.diff b/media-video/isight-firmware-tools/files/ift-ldadd.diff
new file mode 100644
index 000000000000..e71bd670d6b9
--- /dev/null
+++ b/media-video/isight-firmware-tools/files/ift-ldadd.diff
@@ -0,0 +1,50 @@
+diff -Nur src.orig/Makefile.am src/Makefile.am
+--- src.orig/Makefile.am 2007-12-29 15:38:01.000000000 +0100
++++ src/Makefile.am 2007-12-29 15:38:27.000000000 +0100
+@@ -5,13 +5,13 @@
+ # extractor
+ ift_extract_SOURCES = extract.c
+ ift_extract_CFLAGS = $(IFT_CFLAGS) $(AM_CFLAGS)
+-ift_extract_LDFLAGS = $(IFT_LIBS) -lgcrypt
++ift_extract_LDADD = $(IFT_LIBS) -lgcrypt
+
+
+ # export
+ ift_export_SOURCES = export.c
+ ift_export_CFLAGS = $(IFT_CFLAGS) $(AM_CFLAGS)
+-ift_export_LDFLAGS = $(IFT_LIBS)
++ift_export_LDADD = $(IFT_LIBS)
+
+ libudevdir = ${libdir}/udev
+ libudev_PROGRAMS = ift-load
+@@ -19,4 +19,4 @@
+ # loader
+ ift_load_SOURCES = load.c
+ ift_load_CFLAGS = $(IFT_CFLAGS) $(LOAD_CFLAGS) $(AM_CFLAGS)
+-ift_load_LDFLAGS = $(IFT_LIBS) $(LOAD_LIBS)
++ift_load_LDADD = $(IFT_LIBS) $(LOAD_LIBS)
+diff -Nur src.orig/Makefile.in src/Makefile.in
+--- src.orig/Makefile.in 2007-12-29 15:38:01.000000000 +0100
++++ src/Makefile.in 2007-12-29 15:38:27.000000000 +0100
+@@ -215,18 +215,18 @@
+ # extractor
+ ift_extract_SOURCES = extract.c
+ ift_extract_CFLAGS = $(IFT_CFLAGS) $(AM_CFLAGS)
+-ift_extract_LDFLAGS = $(IFT_LIBS) -lgcrypt
++ift_extract_LDADD = $(IFT_LIBS) -lgcrypt
+
+ # export
+ ift_export_SOURCES = export.c
+ ift_export_CFLAGS = $(IFT_CFLAGS) $(AM_CFLAGS)
+-ift_export_LDFLAGS = $(IFT_LIBS)
++ift_export_LDADD = $(IFT_LIBS)
+ libudevdir = ${libdir}/udev
+
+ # loader
+ ift_load_SOURCES = load.c
+ ift_load_CFLAGS = $(IFT_CFLAGS) $(LOAD_CFLAGS) $(AM_CFLAGS)
+-ift_load_LDFLAGS = $(IFT_LIBS) $(LOAD_LIBS)
++ift_load_LDADD = $(IFT_LIBS) $(LOAD_LIBS)
+ all: all-am
+
+ .SUFFIXES:
diff --git a/media-video/isight-firmware-tools/isight-firmware-tools-1.0.ebuild b/media-video/isight-firmware-tools/isight-firmware-tools-1.0.ebuild
new file mode 100644
index 000000000000..40f79aac13b6
--- /dev/null
+++ b/media-video/isight-firmware-tools/isight-firmware-tools-1.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2007 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.0.ebuild,v 1.1 2007/12/29 16:06:39 genstef Exp $
+
+inherit eutils
+
+DESCRIPTION="Extract, load or export firmware for the iSight webcams"
+HOMEPAGE="http://bersace03.free.fr/ift/"
+SRC_URI="http://bersace03.free.fr/ift/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND="dev-libs/glib
+ dev-libs/libusb
+ dev-libs/libgcrypt"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch "${FILESDIR}/ift-ldadd.diff"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+}
+
+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"
+}