summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2010-10-25 19:28:41 +0000
committerMichał Górny <mgorny@gentoo.org>2010-10-25 19:28:41 +0000
commit6745b7c5ba193b50e23d7e72da862a2030e1c6bd (patch)
treec06d91943d0a1a378f9b472b1d7d420a6aa1e660 /media-video/stk11xx
parentDrop ia64/sparc keywords (diff)
downloadhistorical-6745b7c5ba193b50e23d7e72da862a2030e1c6bd.tar.gz
historical-6745b7c5ba193b50e23d7e72da862a2030e1c6bd.tar.bz2
historical-6745b7c5ba193b50e23d7e72da862a2030e1c6bd.zip
Import from the Sunrise overlay per bug #178946. Thanks to Krzysztof Magusiak for his effort.
Package-Manager: portage-2.2.0_alpha1_p12/cvs/Linux x86_64
Diffstat (limited to 'media-video/stk11xx')
-rw-r--r--media-video/stk11xx/ChangeLog11
-rw-r--r--media-video/stk11xx/Manifest15
-rw-r--r--media-video/stk11xx/files/stk11xx-v4l_compat_ioctl32.diff15
-rw-r--r--media-video/stk11xx/metadata.xml9
-rw-r--r--media-video/stk11xx/stk11xx-2.1.0.ebuild29
5 files changed, 79 insertions, 0 deletions
diff --git a/media-video/stk11xx/ChangeLog b/media-video/stk11xx/ChangeLog
new file mode 100644
index 000000000000..1cc0cf5d88f6
--- /dev/null
+++ b/media-video/stk11xx/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-video/stk11xx
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/stk11xx/ChangeLog,v 1.1 2010/10/25 19:28:41 mgorny Exp $
+
+*stk11xx-2.1.0 (25 Oct 2010)
+
+ 25 Oct 2010; Michał Górny <mgorny@gentoo.org>
+ +files/stk11xx-v4l_compat_ioctl32.diff, +stk11xx-2.1.0.ebuild, +metadata.xml:
+ Import from the Sunrise overlay per bug #178946. Thanks to Krzysztof Magusiak
+ for his effort.
+
diff --git a/media-video/stk11xx/Manifest b/media-video/stk11xx/Manifest
new file mode 100644
index 000000000000..497fdbda4bb2
--- /dev/null
+++ b/media-video/stk11xx/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+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 761 RMD160 4e7dd05e49a4eb1bee2ce062ab57d2a7e5c06489 SHA1 897808e92abacd612508ecb53b07b152f55359aa SHA256 e6ea633974c966d991c8eadc824941b96b28deda4a990eba926570ccbfcdd683
+MISC ChangeLog 470 RMD160 2781b5a5a1642f4964faece7b47fafb505a00c14 SHA1 556f5ad0bc50d764c9678e957bd139bb8b019e6e SHA256 2519802aa7a7038b8987a0ac078321b7a792a33fca2f7fb9ea3e38e77780e26e
+MISC metadata.xml 255 RMD160 b5f39d5799b7c36dbd279e5433753376c082afa8 SHA1 a4698c0973522834fc27ba7dc0757453338268af SHA256 fbdf23d280480a82b5640acbe75500ca6067b5f565223f62fbd525bda216b972
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iEYEARECAAYFAkzF2i8ACgkQnGSe5QXeB7vO/wCgptavhngfk3je5WJX1bZR8MO1
+V/wAnijAxuTcKFc9IyPxwGi4XYlhorN+
+=fQrk
+-----END PGP SIGNATURE-----
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 000000000000..1f9e77b14a58
--- /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 000000000000..af81389004c1
--- /dev/null
+++ b/media-video/stk11xx/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+</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 000000000000..73daae79f779
--- /dev/null
+++ b/media-video/stk11xx/stk11xx-2.1.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/stk11xx/stk11xx-2.1.0.ebuild,v 1.1 2010/10/25 19:28:41 mgorny Exp $
+
+EAPI=2
+
+inherit base linux-mod
+
+DESCRIPTION="A driver for Syntek webcams often found in Asus notebooks"
+HOMEPAGE="http://syntekdriver.sourceforge.net/"
+SRC_URI="mirror://sourceforge/syntekdriver/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+MODULE_NAMES="${PN}(media/video:)"
+CONFIG_CHECK="VIDEO_DEV VIDEO_V4L1_COMPAT"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ BUILD_TARGETS="${PN}.ko"
+ BUILD_PARAMS="-C ${KV_DIR} SUBDIRS=${S}"
+
+ PATCHES=( "${FILESDIR}"/${PN}-v4l_compat_ioctl32.diff )
+ MODULESD_STK11XX_DOCS=( README )
+}