diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2021-10-22 09:00:58 +0200 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2021-10-22 10:21:10 +0200 |
commit | 5c6f51815587626a90718810e4b77ced5fa96984 (patch) | |
tree | c621f2ab19b60932fb15469bfc11da38558f955f /media-video/isight-firmware-tools/isight-firmware-tools-1.6-r1.ebuild | |
parent | media-video/dvbsnoop: Port to EAPI 8 (diff) | |
download | gentoo-5c6f51815587626a90718810e4b77ced5fa96984.tar.gz gentoo-5c6f51815587626a90718810e4b77ced5fa96984.tar.bz2 gentoo-5c6f51815587626a90718810e4b77ced5fa96984.zip |
media-video/isight-firmware-tools: Port to EAPI 8
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'media-video/isight-firmware-tools/isight-firmware-tools-1.6-r1.ebuild')
-rw-r--r-- | media-video/isight-firmware-tools/isight-firmware-tools-1.6-r1.ebuild | 59 |
1 files changed, 0 insertions, 59 deletions
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 deleted file mode 100644 index 1d92625a87c5..000000000000 --- a/media-video/isight-firmware-tools/isight-firmware-tools-1.6-r1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit epatch versionator udev - -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="https://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:0 - virtual/libusb:0 - virtual/udev" -DEPEND="${RDEPEND} - >=dev-util/intltool-0.40 - sys-apps/texinfo - virtual/pkgconfig" - -src_prepare() { - # Fix build with -O0, bug #221325 - epatch "${FILESDIR}"/${PN}-1.5.90-build-O0.patch - - sed -i \ - -e "s:@udevdir@:$(get_udevdir):" \ - 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() { - emake \ - DESTDIR="${D}" \ - libudevdir="$(get_udevdir)" \ - rulesdir="$(get_udevdir)"/rules.d \ - install - - mv -vf "${D}/$(get_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" -} |