summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-08-12 06:42:08 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-08-12 06:42:08 +0000
commitda8066911be9842d5f497ba3b6e44fb9efb9ed72 (patch)
tree545812d2822a41ad9f6ea716d83d1d0694e0d348 /media-video
parentDo not use the -lgcc_eh hack with glibc-2.17+ since its been addressed upstream. (diff)
downloadhistorical-da8066911be9842d5f497ba3b6e44fb9efb9ed72.tar.gz
historical-da8066911be9842d5f497ba3b6e44fb9efb9ed72.tar.bz2
historical-da8066911be9842d5f497ba3b6e44fb9efb9ed72.zip
Read udev.pc pkg-config file and install ift-load and 70-isight.rules to correct directory.
Package-Manager: portage-2.2.0_alpha120/cvs/Linux x86_64
Diffstat (limited to 'media-video')
-rw-r--r--media-video/isight-firmware-tools/ChangeLog9
-rw-r--r--media-video/isight-firmware-tools/Manifest23
-rw-r--r--media-video/isight-firmware-tools/isight-firmware-tools-1.6-r1.ebuild67
3 files changed, 89 insertions, 10 deletions
diff --git a/media-video/isight-firmware-tools/ChangeLog b/media-video/isight-firmware-tools/ChangeLog
index d2348d3fa280..2154e939694e 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-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/isight-firmware-tools/ChangeLog,v 1.16 2012/04/15 15:51:51 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/isight-firmware-tools/ChangeLog,v 1.17 2012/08/12 06:42:08 ssuominen Exp $
+
+*isight-firmware-tools-1.6-r1 (12 Aug 2012)
+
+ 12 Aug 2012; Samuli Suominen <ssuominen@gentoo.org>
+ +isight-firmware-tools-1.6-r1.ebuild:
+ Read udev.pc pkg-config file and install ift-load and 70-isight.rules to
+ correct directory.
15 Apr 2012; Gilles Dartiguelongue <eva@gentoo.org>
-isight-firmware-tools-1.5.92.ebuild, -isight-firmware-tools-1.5.93.ebuild:
diff --git a/media-video/isight-firmware-tools/Manifest b/media-video/isight-firmware-tools/Manifest
index c77ba12feaa8..967d7bdded93 100644
--- a/media-video/isight-firmware-tools/Manifest
+++ b/media-video/isight-firmware-tools/Manifest
@@ -1,15 +1,20 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
-AUX isight-firmware-tools-1.5.90-build-O0.patch 1323 RMD160 aacf179a7117b48ffea4c418c031eb8a9ad7b23b SHA1 06a461bf2972f94a58fe341b9ac77e91024e656b SHA256 05958f4dc755992a62dc192e7ee85684dd9708a3ad4e0ff8c986c6c5f21eb2ac
-DIST isight-firmware-tools-1.6.tar.gz 229122 RMD160 be0eb02fc7495a230136e751ea2ae8a45b62a63c SHA1 b0b69ecb7ea99de7127041ccc0e03a0bd288d5a4 SHA256 3181973db8a1cadd68785cd81959c8e1e9dc8110342ec1639a50db53d82a367e
-EBUILD isight-firmware-tools-1.6.ebuild 1726 RMD160 003d1bc1555ba02fb5a7f21ce0e2e13582264a27 SHA1 4bc9a5f1fe9e2f9a71ef20b48ddf1c1e8ae4240d SHA256 e5c6e1cfa6ce895e7128e4f4c82f583733b54dca5b989eb480b9152b382b2f07
-MISC ChangeLog 4223 RMD160 c44f68c7b5fdc45a03b2d47f104082302ce78e78 SHA1 e511c6fe1994624a774e0f8c1711caf686db043b SHA256 635b2cd148f029b6b1a627bb51ed3e19cc5920446520ad8b4aaeed9a7e344908
-MISC metadata.xml 197 RMD160 9c05d600d19c2a022d89b9b483f1fccba02ca479 SHA1 31536ee4838f2523aaadf2f4acdcdd1021af77c3 SHA256 61000fa383abb075fecef07179c91dd1d7344240d6819d55000a6151ab0d70a6
+AUX isight-firmware-tools-1.5.90-build-O0.patch 1323 SHA256 05958f4dc755992a62dc192e7ee85684dd9708a3ad4e0ff8c986c6c5f21eb2ac SHA512 cb91c3e686fd72f1689e2ce2ea57ee10419ce86390a138a2b046869df88bf4fea3099c1a9fbae82f0a4a5b722b07a6be800ecf1e9c028536a4fd7d0a4daf34d3 WHIRLPOOL 1e9cdc47ed513029df2d5e3da652b2392b40bd367521a46b72dfb6ad4b51ff999bf2b6ad58cd2f1dfb37c564b079ae9d8fd8e0d2d76b3e3ac54e1f28b067d7df
+DIST isight-firmware-tools-1.6.tar.gz 229122 SHA256 3181973db8a1cadd68785cd81959c8e1e9dc8110342ec1639a50db53d82a367e SHA512 1d72e10d1ff97665c96113c70786307e0b5d1cd24cd8f5fcd15ddd7b608ff1596023139a41f550a9fd288bd8968f69d348b433f5a739179fc0e3f8fa3e143fea WHIRLPOOL ac29469f205a3150f8ef0d95fc7c3b113559f325b172a8c4ccb1758195da32024b278d3e46b2eb899eca4e140758ef6b2381086b7f6e5c837adbb5b4bd3d520f
+EBUILD isight-firmware-tools-1.6-r1.ebuild 2013 SHA256 d99619a365021afbb25f4be41bfd7dae1fd3c24148ff769ad1a15db54eb57f80 SHA512 7b791507e3b06175a9f7c21d1a053ac5a81ca3b9ad97056811b491154af36413cbc271172783282a778e24fba76d948de528a5a4e14877aa39551ca8b11fd243 WHIRLPOOL 0dea5938c48820aac6838b9b8d66e88cc17ed4be49f785a700d23e6275f77570ed052db38e49fffd73e55b9a2f69d66e1e4cf6ba13ec57cbf8b700fa2394f628
+EBUILD isight-firmware-tools-1.6.ebuild 1726 SHA256 e5c6e1cfa6ce895e7128e4f4c82f583733b54dca5b989eb480b9152b382b2f07 SHA512 6d72b524dad697fb4850e80f8ebe7a3166d855c6cd97c145aa9c273de47e24de9c0017397872cd38fbf51dbbdcf359baf71a9128cdfc6dbb698a3bbb317f908e WHIRLPOOL cc747333ba81e89b3f0d0ba964e6ba9ed40103163a18db742c749bab420be6c960722ed696b1d3d76be06038345a2690d00deeabef4390ad0cf44711719ddc5e
+MISC ChangeLog 4465 SHA256 e6615ab50b76572104ed128818780a2f5f6672a42be1f36e55106870c58a4062 SHA512 5f5e67f419e50f2afaa3c9b3efe400a781c1dae3ccce9d586baaf33098a09587f891c1634a3f41ac8917ec2dd25bb5d5171c60415ad988d8e45d3b1b097cdf2c WHIRLPOOL 2ce97b1ee0cce3960cda858a990c8906955e2b5e3896172ff917ce03ea424b28a5bbf912b9272e995e47bb600f3225d4fee72d9509de616f7cd14770dee6a605
+MISC metadata.xml 197 SHA256 61000fa383abb075fecef07179c91dd1d7344240d6819d55000a6151ab0d70a6 SHA512 22b63ecc70b4c622b5e7ff55794041bfd96518fbfdb4ca8b6fb0a66d12645db8de45c50445bce7cc6a7b7475210cdd32873fef15d8a84245650986f6d715e727 WHIRLPOOL c6f1f1f55e80bfc905c59190c7b3a7c365b29d82ed4deec32f4e707bb4b446374a17b862939a028373528e15065dd276739878e62a5fc6a060031d71d927a858
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREKAAYFAk+K7pwACgkQ1fmVwcYIWAYsWgCfb6ckmtgS661KiiCpFMrye8qF
-r/EAn2kMGBg12i675Vqu7KKFqeJ6ef3M
-=4UGn
+iQEcBAEBCAAGBQJQJ1AhAAoJEEdUh39IaPFNHssH/Aliml0bs1hBcexroljMTQOB
+84WLcFTIYbQYeNMd7EPHal6GHT5hizzR6foUQpcmnmt0fQJugDIjNtZQ65/0oxE/
+FcMEFUE5rucq/m9SI9RIW8PDV9uVrVYCodQPr/75KX7OtPGj025AXMzZ1/m3Q6h2
+xqN+rTkrN2iR+8q1asifrccUUhuhz0xQN40h2sCvIsM11/b4e1ZnFuUTFEBimQ+a
+j7wRlktOYCBBFd4d67fk7h+78tu5digkcOXf8O5hTTZCccSGUUD3CGBzmwxjODDW
+44YksU3YkMVbIhLdK0MIpUWlnm9Ter0eaoZjZ18giq2uclAe3XNkJjjf/rJ+K/0=
+=PSF6
-----END PGP SIGNATURE-----
diff --git a/media-video/isight-firmware-tools/isight-firmware-tools-1.6-r1.ebuild b/media-video/isight-firmware-tools/isight-firmware-tools-1.6-r1.ebuild
new file mode 100644
index 000000000000..81feec82901e
--- /dev/null
+++ b/media-video/isight-firmware-tools/isight-firmware-tools-1.6-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2012 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-r1.ebuild,v 1.1 2012/08/12 06:42:08 ssuominen Exp $
+
+EAPI=4
+inherit eutils multilib versionator toolchain-funcs
+
+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
+ dev-libs/libgcrypt
+ >=sys-fs/udev-149
+ virtual/libusb:0"
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.40
+ sys-apps/texinfo
+ virtual/pkgconfig"
+
+src_prepare() {
+ # Fix multilib support
+ sed -i \
+ -e "s:/lib/firmware:/$(get_libdir)/firmware:" \
+ src/isight.rules.in.in || die
+
+ # Fix build with -O0, bug #221325
+ epatch "${FILESDIR}"/${PN}-1.5.90-build-O0.patch
+
+ # Fix for systems with lib64 but no symlink to lib
+ sed -i \
+ -e "s:@udevdir@:$($(tc-getPKG_CONFIG) --variable=udevdir udev):" \
+ src/isight.rules.in.in || die
+}
+
+src_configure() {
+ # https://bugs.launchpad.net/isight-firmware-tools/+bug/243255
+ econf --docdir=/usr/share/doc/${PF}
+}
+
+src_install() {
+ local udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
+
+ emake \
+ DESTDIR="${D}" \
+ libudevdir="${udevdir}" \
+ rulesdir="${udevdir}"/rules.d \
+ install
+
+ mv -vf "${D}"/"${udevdir}"/rules.d/{isight.rules,70-isight.rules}
+
+ dodoc AUTHORS ChangeLog HOWTO NEWS README
+ 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"
+}