diff options
author | 2009-11-12 18:58:05 +0000 | |
---|---|---|
committer | 2009-11-12 18:58:05 +0000 | |
commit | 30e2e1b1fa9882e01735b7e5b0408d13d5a349a5 (patch) | |
tree | d22d7d1387e23e8659a30ced53c649e16b385659 | |
parent | net-dns/ldns-utils: version bump (diff) | |
download | sunrise-30e2e1b1fa9882e01735b7e5b0408d13d5a349a5.tar.gz sunrise-30e2e1b1fa9882e01735b7e5b0408d13d5a349a5.tar.bz2 sunrise-30e2e1b1fa9882e01735b7e5b0408d13d5a349a5.zip |
media-video/stk11xx: New ebuild for bug #178946, thanks to Krzysztof Magusiak and other Bugzilla thread contributors.
svn path=/sunrise/; revision=9510
-rw-r--r-- | media-video/stk11xx/ChangeLog | 10 | ||||
-rw-r--r-- | media-video/stk11xx/Manifest | 5 | ||||
-rw-r--r-- | media-video/stk11xx/files/stk11xx-v4l_compat_ioctl32.diff | 15 | ||||
-rw-r--r-- | media-video/stk11xx/metadata.xml | 5 | ||||
-rw-r--r-- | media-video/stk11xx/stk11xx-2.1.0.ebuild | 30 |
5 files changed, 65 insertions, 0 deletions
diff --git a/media-video/stk11xx/ChangeLog b/media-video/stk11xx/ChangeLog new file mode 100644 index 000000000..775195fbb --- /dev/null +++ b/media-video/stk11xx/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-video/stk11xx +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 12 Nov 2009; Michał Górny (sedzimir) <gentoo@mgorny.alt.pl> + +stk11xx-2.1.0.ebuild, +files/stk11xx-v4l_compat_ioctl32.diff, + +metadata.xml: + New ebuild for bug #178946, thanks to Krzysztof Magusiak and other Bugzilla + thread contributors. + diff --git a/media-video/stk11xx/Manifest b/media-video/stk11xx/Manifest new file mode 100644 index 000000000..0df3501c0 --- /dev/null +++ b/media-video/stk11xx/Manifest @@ -0,0 +1,5 @@ +AUX stk11xx-v4l_compat_ioctl32.diff 567 RMD160 e830d9277c47998a95534c2a9313316148a6c73f SHA1 6fb207046df931b294daabd2165d59cec8190188 SHA256 a14efdf8644cdc5ad0ec092395eecd481031c3ee33bfe5dee36167b6d147287c +DIST stk11xx-2.1.0.tar.gz 67744 RMD160 17efa80920ed8a9482b395373df0c62b76d85c1c SHA1 e2fd96f8c1377994a7cecfc415831a67a2111807 SHA256 8058cece918b7ebca18524447b5d80b348a8156ad954134e01c7dace950d02d9 +EBUILD stk11xx-2.1.0.ebuild 643 RMD160 8c409955ca38dd920763693edca6c3d7b88f4f05 SHA1 75ce74c94be7d1fe6897b1a81c0a8ee123fa9725 SHA256 ad5c0b36de431e0d8f4f405f922e79d7814aa2a586b16b28080c24d923ec21c7 +MISC ChangeLog 368 RMD160 efdaee02dbea95ffeb9998bfbd16839b2e677932 SHA1 ac90225909a355bc65c74afdca399611a2597ce5 SHA256 d2a43b4d74fc81faeed99da8b0ebda9acb4bc52af48420657fe6433991e955bd +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/media-video/stk11xx/files/stk11xx-v4l_compat_ioctl32.diff b/media-video/stk11xx/files/stk11xx-v4l_compat_ioctl32.diff new file mode 100644 index 000000000..1f9e77b14 --- /dev/null +++ b/media-video/stk11xx/files/stk11xx-v4l_compat_ioctl32.diff @@ -0,0 +1,15 @@ +Patch fixing compilation on amd64, thanks to Krzysztof Magusiak. +Upstream accepted and applied into r95: + http://syntekdriver.svn.sourceforge.net/viewvc/syntekdriver?view=rev&revision=95 + +--- stk11xx-2.1.0/stk11xx-v4l.c.old 2009-07-03 19:27:15.882898391 +0200 ++++ stk11xx-2.1.0/stk11xx-v4l.c 2009-07-03 19:27:40.246883049 +0200 +@@ -1733,7 +1733,7 @@ + .poll = v4l_stk11xx_poll, + .mmap = v4l_stk11xx_mmap, + .ioctl = v4l_stk11xx_ioctl, +-#ifdef CONFIG_COMPAT ++#if defined(CONFIG_COMPAT) && defined(v4l_compat_ioctl32) + .compat_ioctl = v4l_compat_ioctl32, + #endif + }; diff --git a/media-video/stk11xx/metadata.xml b/media-video/stk11xx/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/media-video/stk11xx/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>maintainer-wanted</herd> +</pkgmetadata> diff --git a/media-video/stk11xx/stk11xx-2.1.0.ebuild b/media-video/stk11xx/stk11xx-2.1.0.ebuild new file mode 100644 index 000000000..4cb005ee7 --- /dev/null +++ b/media-video/stk11xx/stk11xx-2.1.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit linux-mod + +DESCRIPTION="Driver for Syntek webcams" +HOMEPAGE="http://syntekdriver.sourceforge.net/" +SRC_URI="mirror://sourceforge/syntekdriver/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +MODULE_NAMES="stk11xx(media/video:)" +BUILD_TARGETS="stk11xx.ko" +CONFIG_CHECK="VIDEO_DEV VIDEO_V4L1_COMPAT" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-v4l_compat_ioctl32.diff + BUILD_PARAMS="-C ${KV_DIR} SUBDIRS=${S}" +} + +src_install() { + linux-mod_src_install + dodoc README || die "dodoc failed" +} |