summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2013-03-31 16:42:34 +0000
committerJoerg Bornkessel <hd_brummy@gentoo.org>2013-03-31 16:42:34 +0000
commit6ecf26b34227517a4e0578c0b558cc0d0e0ef302 (patch)
tree5c25180fafd594ec67cc79d4da4fcf2b612a4754 /media-tv/v4l-dvb-saa716x
parentversion bump (diff)
downloadhistorical-6ecf26b34227517a4e0578c0b558cc0d0e0ef302.tar.gz
historical-6ecf26b34227517a4e0578c0b558cc0d0e0ef302.tar.bz2
historical-6ecf26b34227517a4e0578c0b558cc0d0e0ef302.zip
initial ebuild, taken from vdr-devel overlay
Package-Manager: portage-2.1.11.50/cvs/Linux i686 Manifest-Sign-Key: 0x34C2808A
Diffstat (limited to 'media-tv/v4l-dvb-saa716x')
-rw-r--r--media-tv/v4l-dvb-saa716x/ChangeLog11
-rw-r--r--media-tv/v4l-dvb-saa716x/Manifest6
-rw-r--r--media-tv/v4l-dvb-saa716x/files/OSD_RAW_CMD_patch_2.diff27
-rw-r--r--media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-Makefilepatch-2.diff8
-rw-r--r--media-tv/v4l-dvb-saa716x/metadata.xml20
-rw-r--r--media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20130224.ebuild48
6 files changed, 120 insertions, 0 deletions
diff --git a/media-tv/v4l-dvb-saa716x/ChangeLog b/media-tv/v4l-dvb-saa716x/ChangeLog
new file mode 100644
index 000000000000..2f8f720fde50
--- /dev/null
+++ b/media-tv/v4l-dvb-saa716x/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-tv/v4l-dvb-saa716x
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/v4l-dvb-saa716x/ChangeLog,v 1.1 2013/03/31 16:42:29 hd_brummy Exp $
+
+*v4l-dvb-saa716x-0.0.1_p20130224 (31 Mar 2013)
+
+ 31 Mar 2013; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +files/OSD_RAW_CMD_patch_2.diff, +v4l-dvb-saa716x-0.0.1_p20130224.ebuild,
+ +files/v4l-dvb-saa716x-Makefilepatch-2.diff, +metadata.xml:
+ initial ebuild, taken from vdr-devel overlay
+
diff --git a/media-tv/v4l-dvb-saa716x/Manifest b/media-tv/v4l-dvb-saa716x/Manifest
new file mode 100644
index 000000000000..37813518b434
--- /dev/null
+++ b/media-tv/v4l-dvb-saa716x/Manifest
@@ -0,0 +1,6 @@
+AUX OSD_RAW_CMD_patch_2.diff 843 SHA256 41ad8460fd67ec56466266fd4e89de712dc8ca99327cf95670a5a0a27b6a9a14 SHA512 57688acc06ac9fcde332e3fba9d4048ac962d7c65c3844ff60e1d48956f7fe0f02315859f427cd5e21695ffa0c3d5cbd46ff953d7d1eca4b3e2ab165f6985e71 WHIRLPOOL 18ef1d95fa4bd2e0e3d353356782d39f84179a9f0f48bb36f5b4705500d7c4030b3ad684a2e186c3c6e64d72d55059f65fb9cd63c170701865b39f406fe9541d
+AUX v4l-dvb-saa716x-Makefilepatch-2.diff 562 SHA256 2b4cd1fd3d185f3d20654d759db177beffa52984178e55e149789697f10edf69 SHA512 e0ff1c5a79f7b02323eff281bf6dc6ebb7a8fe7a43eb83ebd4a7379468924d3992790899bfabbbf2ee411cda6366ad6a677d8ad004a306e14b55d891f6f69dc0 WHIRLPOOL 289bbb5858afed31c77e9427e7e4d2872ed14ae048c9e84ba0faad8435de431271798f5b6ba53bc1217d4554ff36cab94b980cc5a6ead92610be25f85c192432
+DIST v4l-dvb-saa716x-0.0.1_p20130224.tar.gz 5025513 SHA256 862f019aa523bc75d6f5429ffdc2037e58a41cb7480f8ff45d0a793dff7ca434 SHA512 8d22cc1b4b0eab96fbb06639e31baaa2fc94640ad52175e8632a96885a2b1e96b554b91be1a8d342064c530a4aacc0b88a97b5fd61a56be1d5f29c85acfc65c1 WHIRLPOOL 6083f4ae9febfcc6f521e8949d1f12e886030ce5d7ba7898bc1aa387eec768c4d22d04527f5401694b9b70aecc3a7bd265095f20462f98c88ad5f7a86e932e06
+EBUILD v4l-dvb-saa716x-0.0.1_p20130224.ebuild 1658 SHA256 fe606e0816369d0e141401167f265ca09c5ddf7a0b7b077e26fe3c87c305747c SHA512 1f6d90f6189818ff50b13cc4312673f2aedcc294511e94c2e3bafd70c5d2f0293a15f77709078dfb40fcb901b8f356adefbcb4b0a003420ab9ec8d3dd67cbd5d WHIRLPOOL 65f75fc55c82c7e2eb0f8997ddb58c316615d607e393bcd04ba8d4836f45ba1ed62f8e906cd3845e8cd42716f8a7450115313bc51d7e9d96e25e757c41f3d9da
+MISC ChangeLog 513 SHA256 067d204793539d37244b2e4cc19b719da06ce700de3e8db1499c631ffdeef8cc SHA512 c314722f36bd8db9f74d22f14a1ba39630ac25c88a96b7b70e6637d6093c6ce05f169745e64ffdda1d3262ed2ae1df8e021e3e2bd4654a6213d31d1cd1288940 WHIRLPOOL eaa4ae1c6715da11f750a4bfe578ad5d40bd9a158abcc8aa03c3ba404da744f39ece4b74370c6d17f812580b7ddda70cfbcbe78ceccea9be1818767cb2dc290e
+MISC metadata.xml 509 SHA256 8ab7ed29b4992f6b67f878164915ec7ab4ca149b3aa2ba45505d7ca2ad8761ab SHA512 02275bb31dbd3344f6776c51d6beabe33e80668d0f43509ace769a328958e080461a459d728757bc223aad1e793a8087f833464482c36caef591f97933e70af2 WHIRLPOOL f9bb8503ef35092b10d521ff0d35469732955381e12a2174a7206c0a8e566dc7c4ef667497be00c3dd8449ca1e1a015906a22e29a3d3d676584e2ea038114efe
diff --git a/media-tv/v4l-dvb-saa716x/files/OSD_RAW_CMD_patch_2.diff b/media-tv/v4l-dvb-saa716x/files/OSD_RAW_CMD_patch_2.diff
new file mode 100644
index 000000000000..7f09a1d60f1a
--- /dev/null
+++ b/media-tv/v4l-dvb-saa716x/files/OSD_RAW_CMD_patch_2.diff
@@ -0,0 +1,27 @@
+--- linux/drivers/media/common/saa716x/saa716x_ff_cmd.h.orig 2011-11-12 14:46:51.175700236 +0100
++++ linux/drivers/media/common/saa716x/saa716x_ff_cmd.h 2011-11-12 14:45:10.103702959 +0100
+@@ -1,6 +1,24 @@
+ #ifndef __SAA716x_FF_CMD_H
+ #define __SAA716x_FF_CMD_H
+
++#if !defined OSD_RAW_CMD
++typedef struct osd_raw_cmd_s {
++ const void *cmd_data;
++ int cmd_len;
++ void *result_data;
++ int result_len;
++} osd_raw_cmd_t;
++
++typedef struct osd_raw_data_s {
++ const void *data_buffer;
++ int data_length;
++ int data_handle;
++} osd_raw_data_t;
++
++#define OSD_RAW_CMD _IOWR('o', 162, osd_raw_cmd_t)
++#define OSD_RAW_DATA _IOWR('o', 163, osd_raw_data_t)
++#endif
++
+ extern int sti7109_cmd_init(struct sti7109_dev *sti7109);
+ extern int sti7109_raw_cmd(struct sti7109_dev * sti7109,
+ osd_raw_cmd_t * cmd);
diff --git a/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-Makefilepatch-2.diff b/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-Makefilepatch-2.diff
new file mode 100644
index 000000000000..78ba021fb4fe
--- /dev/null
+++ b/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-Makefilepatch-2.diff
@@ -0,0 +1,8 @@
+--- v4l-dvb-saa716x-cfa4b4faab67/linux/drivers/media/common/saa716x/Makefile.orig 2013-03-02 07:44:51.112642592 +0100
++++ v4l-dvb-saa716x-cfa4b4faab67/linux/drivers/media/common/saa716x/Makefile 2013-03-02 07:46:56.703138542 +0100
+@@ -24,3 +24,5 @@
+ obj-$(CONFIG_DVB_SAA716X_FF) += saa716x_ff.o
+
+ EXTRA_CFLAGS = -Idrivers/media/dvb/dvb-core/ -Idrivers/media/dvb/frontends/ -Idrivers/media/dvb-core/ -Idrivers/media/dvb-frontends/
++EXTRA_CFLAGS += -Idrivers/media/common/tuners/ # up to kernel 3.6
++EXTRA_CFLAGS += -Idrivers/media/tuners/ # kernel 3.7+
diff --git a/media-tv/v4l-dvb-saa716x/metadata.xml b/media-tv/v4l-dvb-saa716x/metadata.xml
new file mode 100644
index 000000000000..6d818c125c3e
--- /dev/null
+++ b/media-tv/v4l-dvb-saa716x/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>media-tv</herd>
+
+<maintainer>
+ <email>martin.dummer@gmx.net</email>
+ <name>Martin Dummer</name>
+ <description>Proxied maintainer</description>
+</maintainer>
+
+<maintainer>
+ <email>hd_brummy@gentoo.org</email>
+ <name>Joerg Bornkessel</name>
+ <description>Proxying maintainer</description>
+</maintainer>
+ <use>
+ <flag name="firmware">Install firmware</flag>
+ </use>
+</pkgmetadata>
diff --git a/media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20130224.ebuild b/media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20130224.ebuild
new file mode 100644
index 000000000000..9d6f733616d3
--- /dev/null
+++ b/media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20130224.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20130224.ebuild,v 1.1 2013/03/31 16:42:29 hd_brummy Exp $
+
+EAPI="5"
+
+inherit linux-info linux-mod
+
+DESCRIPTION="driver for saa716x based dvb cards like Technotrend S2-6400 or Technisat Skystar 2 eXpress HD"
+HOMEPAGE="http://powarman.dyndns.org/hgwebdir.cgi/v4l-dvb-saa716x/"
+
+HG_REVISION="cfa4b4faab67"
+HG_REVISION_DATE="20130224"
+
+SRC_URI="http://powarman.dyndns.org/hgwebdir.cgi/v4l-dvb-saa716x/archive/${HG_REVISION}.tar.gz
+-> v4l-dvb-saa716x-0.0.1_p${HG_REVISION_DATE}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+firmware"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ firmware? ( sys-firmware/tt-s2-6400-firmware )"
+
+S="${WORKDIR}/v4l-dvb-saa716x-${HG_REVISION}"
+
+BUILD_TARGETS="modules"
+MODULE_NAMES="saa716x_ff(misc:${ROOT}/usr/src/linux:${S}/linux/drivers/media/common/saa716x)
+ saa716x_core(misc:${ROOT}/usr/src/linux:${S}/linux/drivers/media/common/saa716x)
+ saa716x_budget(misc:${ROOT}/usr/src/linux:${S}/linux/drivers/media/common/saa716x)
+ saa716x_hybrid(misc:${ROOT}/usr/src/linux:${S}/linux/drivers/media/common/saa716x)"
+
+CONFIG_CHECK="DVB_CORE DVB_STV6110x DVB_STV090x"
+
+src_prepare() {
+ epatch "${FILESDIR}/OSD_RAW_CMD_patch_2.diff"
+ epatch "${FILESDIR}/v4l-dvb-saa716x-Makefilepatch-2.diff"
+}
+
+src_compile() {
+ BUILD_PARAMS="SUBDIRS=${S}/linux/drivers/media/common/saa716x \
+ CONFIG_SAA716X_CORE=m CONFIG_DVB_SAA716X_FF=m CONFIG_DVB_SAA716X_BUDGET=m \
+ CONFIG_DVB_SAA716X_HYBRID=m"
+ addpredict "${ROOT}"/usr/src/linux/
+ linux-mod_src_compile
+}