diff options
author | Joerg Bornkessel <hd_brummy@gentoo.org> | 2012-03-06 13:56:41 +0000 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2012-03-06 13:56:41 +0000 |
commit | 9a03bd2ad38843f4ccb14e571fc4b5df630eccb6 (patch) | |
tree | da7778206ef3b79cefa3593106056b1a7dc122db /media-tv | |
parent | Version bump to 1.7.25. The noepg patch has been removed as vdr offers almost... (diff) | |
download | devel-9a03bd2ad38843f4ccb14e571fc4b5df630eccb6.tar.gz devel-9a03bd2ad38843f4ccb14e571fc4b5df630eccb6.tar.bz2 devel-9a03bd2ad38843f4ccb14e571fc4b5df630eccb6.zip |
intial ebuild, written by M.Dummer
(Portage version: 2.1.10.11/svn/Linux i686)
svn path=/vdr-devel/; revision=929
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/v4l-dvb-saa716x/ChangeLog | 14 | ||||
-rw-r--r-- | media-tv/v4l-dvb-saa716x/Manifest | 9 | ||||
-rw-r--r-- | media-tv/v4l-dvb-saa716x/files/OSD_RAW_CMD_patch_1.diff | 27 | ||||
-rw-r--r-- | media-tv/v4l-dvb-saa716x/files/OSD_RAW_CMD_patch_2.diff | 27 | ||||
-rw-r--r-- | media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-Makefilepatch.diff | 24 | ||||
-rw-r--r-- | media-tv/v4l-dvb-saa716x/metadata.xml | 20 | ||||
-rw-r--r-- | media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20111011.ebuild | 45 | ||||
-rw-r--r-- | media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20120129.ebuild | 45 |
8 files changed, 211 insertions, 0 deletions
diff --git a/media-tv/v4l-dvb-saa716x/ChangeLog b/media-tv/v4l-dvb-saa716x/ChangeLog new file mode 100644 index 0000000..60e183f --- /dev/null +++ b/media-tv/v4l-dvb-saa716x/ChangeLog @@ -0,0 +1,14 @@ +# ChangeLog for media-tv/v4l-dvb-saa716x +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*v4l-dvb-saa716x-0.0.1_p20120129 (06 Mar 2012) +*v4l-dvb-saa716x-0.0.1_p20111011 (06 Mar 2012) + + 06 Mar 2012; Joerg Bornkessel <hd_brummy@gentoo.org> + +files/OSD_RAW_CMD_patch_1.diff, +files/OSD_RAW_CMD_patch_2.diff, + +files/v4l-dvb-saa716x-Makefilepatch.diff, + +v4l-dvb-saa716x-0.0.1_p20111011.ebuild, + +v4l-dvb-saa716x-0.0.1_p20120129.ebuild, +metadata.xml: + intial ebuild, written by M.Dummer + diff --git a/media-tv/v4l-dvb-saa716x/Manifest b/media-tv/v4l-dvb-saa716x/Manifest new file mode 100644 index 0000000..de8c280 --- /dev/null +++ b/media-tv/v4l-dvb-saa716x/Manifest @@ -0,0 +1,9 @@ +AUX OSD_RAW_CMD_patch_1.diff 830 RMD160 9c1ae68f682f723d7a0f31b0242c41fd69b5ff1f SHA1 63a3d821a1226d638a57a89f68f3b5d04c4c6921 SHA256 e1e0dd76ba734db6e4257c08dfb9f7234939236750c2e38703727e4915d60018 +AUX OSD_RAW_CMD_patch_2.diff 843 RMD160 5a146363f431de210c0840290177680477fcc3b3 SHA1 0e171f3dd585efb483acbde87884d2abad08da7c SHA256 41ad8460fd67ec56466266fd4e89de712dc8ca99327cf95670a5a0a27b6a9a14 +AUX v4l-dvb-saa716x-Makefilepatch.diff 1647 RMD160 606342db51a89acf16769bed977a745389dbec60 SHA1 981fda37c022536d6f8e60c25faa20f708a1db81 SHA256 ce57cbe82775e8dd52db844d974a7e4656048ecea634fb712c7b81eaf6e9254b +DIST v4l-dvb-saa716x-0.0.1_p20111011.tar.gz 5023597 RMD160 630c9f1d570048e9fc59082b307a3e60500def82 SHA1 dd836373ba4fd370589565d537ea0b938c30e201 SHA256 9f25c7a3125f00a15166bf0de57d9fb4960f95b8e6249266a8b3c47657b77805 +DIST v4l-dvb-saa716x-0.0.1_p20120129.tar.gz 5027733 RMD160 21346532509963dc96fb97715384d4289717db34 SHA1 09294c196c996af8d217769efe49ce5fddb31dea SHA256 f3e5e371c67e927ef325b921f3d117925ba996059963fc707b522294738ece20 +EBUILD v4l-dvb-saa716x-0.0.1_p20111011.ebuild 1395 RMD160 fb512d6d107bbfb63192c59260a2813116cad9b0 SHA1 d7d93a4cdbdb513984f613a6f44c3a345e39b10d SHA256 a3196f4adcbb145838c61efbc65f39085c874443a753009202ede07d0df9dc49 +EBUILD v4l-dvb-saa716x-0.0.1_p20120129.ebuild 1395 RMD160 556c43ccf9bb71afe76bf16d83b4186bf8bbdfac SHA1 49f187d70e86f3ee3818421c9d7af8c57d8dbf28 SHA256 be8369208afd7996f8f9c9f8a08a94ce44dad6a1bd4636f6c5f9686f95e688cd +MISC ChangeLog 527 RMD160 ebd0366e1d076fe668dedd917d19cb4fa1ada9cc SHA1 433b7e13040c931ab9ba2824751719c4a68110c9 SHA256 dd46621f61b18b605078f728361d5dd4fcaf111d6a4490b5a98e9e929705d304 +MISC metadata.xml 509 RMD160 fb9e3774edeebf2bec21d941c0d94186f68e76eb SHA1 b272bb01038b61ed3ba21032b030404ee1d14696 SHA256 8ab7ed29b4992f6b67f878164915ec7ab4ca149b3aa2ba45505d7ca2ad8761ab diff --git a/media-tv/v4l-dvb-saa716x/files/OSD_RAW_CMD_patch_1.diff b/media-tv/v4l-dvb-saa716x/files/OSD_RAW_CMD_patch_1.diff new file mode 100644 index 0000000..3f30fd9 --- /dev/null +++ b/media-tv/v4l-dvb-saa716x/files/OSD_RAW_CMD_patch_1.diff @@ -0,0 +1,27 @@ +--- linux/drivers/media/common/saa716x/saa716x_ff_main.c.orig 2011-06-02 13:44:47.663001005 +0200 ++++ linux/drivers/media/common/saa716x/saa716x_ff_main.c 2011-06-02 13:50:16.608001176 +0200 +@@ -49,6 +49,24 @@ + #include "stv090x.h" + #include "isl6423.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 ++ + unsigned int verbose; + module_param(verbose, int, 0644); + MODULE_PARM_DESC(verbose, "verbose startup messages, default is 1 (yes)"); 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 0000000..7f09a1d --- /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.diff b/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-Makefilepatch.diff new file mode 100644 index 0000000..4d1dc7b --- /dev/null +++ b/media-tv/v4l-dvb-saa716x/files/v4l-dvb-saa716x-Makefilepatch.diff @@ -0,0 +1,24 @@ +diff -Naur v4l-dvb-saa716x-ac1783f4bd1b.orig/linux/drivers/media/common/saa716x/Makefile v4l-dvb-saa716x-ac1783f4bd1b/linux/drivers/media/common/saa716x/Makefile +--- v4l-dvb-saa716x-ac1783f4bd1b.orig/linux/drivers/media/common/saa716x/Makefile 2012-01-29 20:17:10.000000000 +0100 ++++ v4l-dvb-saa716x-ac1783f4bd1b/linux/drivers/media/common/saa716x/Makefile 2012-03-03 22:43:45.675807125 +0100 +@@ -24,3 +24,4 @@ + obj-$(CONFIG_DVB_SAA716X_FF) += saa716x_ff.o + + EXTRA_CFLAGS = -Idrivers/media/dvb/dvb-core/ ++EXTRA_CFLAGS += -Idrivers/media/dvb/frontends/ +diff -Naur v4l-dvb-saa716x-ac1783f4bd1b.orig/linux/drivers/media/common/saa716x/saa716x_ff_ir.c v4l-dvb-saa716x-ac1783f4bd1b/linux/drivers/media/common/saa716x/saa716x_ff_ir.c +--- v4l-dvb-saa716x-ac1783f4bd1b.orig/linux/drivers/media/common/saa716x/saa716x_ff_ir.c 2012-01-29 20:17:10.000000000 +0100 ++++ v4l-dvb-saa716x-ac1783f4bd1b/linux/drivers/media/common/saa716x/saa716x_ff_ir.c 2012-03-03 22:44:05.099806606 +0100 +@@ -1,3 +1,4 @@ ++#include <linux/version.h> + /* + * Driver for the remote control of the TT6400 DVB-S2 card + * +diff -Naur v4l-dvb-saa716x-ac1783f4bd1b.orig/linux/drivers/media/common/saa716x/saa716x_ff_main.c v4l-dvb-saa716x-ac1783f4bd1b/linux/drivers/media/common/saa716x/saa716x_ff_main.c +--- v4l-dvb-saa716x-ac1783f4bd1b.orig/linux/drivers/media/common/saa716x/saa716x_ff_main.c 2012-01-29 20:17:10.000000000 +0100 ++++ v4l-dvb-saa716x-ac1783f4bd1b/linux/drivers/media/common/saa716x/saa716x_ff_main.c 2012-03-03 22:44:05.099806606 +0100 +@@ -1,3 +1,4 @@ ++#include <linux/version.h> + #include <linux/module.h> + #include <linux/moduleparam.h> + #include <linux/kernel.h> diff --git a/media-tv/v4l-dvb-saa716x/metadata.xml b/media-tv/v4l-dvb-saa716x/metadata.xml new file mode 100644 index 0000000..6d818c1 --- /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_p20111011.ebuild b/media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20111011.ebuild new file mode 100644 index 0000000..e937279 --- /dev/null +++ b/media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20111011.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="4" + +inherit 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="159875070cab" +HG_REVISION_DATE="20111011" + +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? ( media-tv/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)" + +CONFIG_CHECK="DVB_CORE DVB_STV6110x DVB_STV090x" + +src_prepare() { + epatch "${FILESDIR}/OSD_RAW_CMD_patch_1.diff" + epatch "${FILESDIR}/v4l-dvb-saa716x-Makefilepatch.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" + addpredict "${ROOT}"/usr/src/linux/ + linux-mod_src_compile +} diff --git a/media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20120129.ebuild b/media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20120129.ebuild new file mode 100644 index 0000000..571000b --- /dev/null +++ b/media-tv/v4l-dvb-saa716x/v4l-dvb-saa716x-0.0.1_p20120129.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="4" + +inherit 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="ac1783f4bd1b" +HG_REVISION_DATE="20120129" + +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? ( media-tv/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)" + +CONFIG_CHECK="DVB_CORE DVB_STV6110x DVB_STV090x" + +src_prepare() { + epatch "${FILESDIR}/OSD_RAW_CMD_patch_2.diff" + epatch "${FILESDIR}/v4l-dvb-saa716x-Makefilepatch.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" + addpredict "${ROOT}"/usr/src/linux/ + linux-mod_src_compile +} |