summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Pielmeier <billie@gentoo.org>2009-11-12 18:18:55 +0000
committerDaniel Pielmeier <billie@gentoo.org>2009-11-12 18:18:55 +0000
commitd775be07388c5f3a64503c8739fcce0b0369fa51 (patch)
tree781138db7b7c4fe32cf8b129990ecd7b88b892d3
parentVersion bump (diff)
downloadgentoo-2-d775be07388c5f3a64503c8739fcce0b0369fa51.tar.gz
gentoo-2-d775be07388c5f3a64503c8739fcce0b0369fa51.tar.bz2
gentoo-2-d775be07388c5f3a64503c8739fcce0b0369fa51.zip
Add TeVii S650 firmware. Thanks to Arne Stäcker in bug #291954.
(Portage version: 2.1.6.13/cvs/Linux i686)
-rw-r--r--media-tv/linuxtv-dvb-firmware/ChangeLog6
-rw-r--r--media-tv/linuxtv-dvb-firmware/linuxtv-dvb-firmware-2009.09.19.ebuild22
2 files changed, 26 insertions, 2 deletions
diff --git a/media-tv/linuxtv-dvb-firmware/ChangeLog b/media-tv/linuxtv-dvb-firmware/ChangeLog
index 957b095a974d..c30622f98be5 100644
--- a/media-tv/linuxtv-dvb-firmware/ChangeLog
+++ b/media-tv/linuxtv-dvb-firmware/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-tv/linuxtv-dvb-firmware
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/linuxtv-dvb-firmware/ChangeLog,v 1.27 2009/10/08 16:05:47 billie Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/linuxtv-dvb-firmware/ChangeLog,v 1.28 2009/11/12 18:18:55 billie Exp $
+
+ 12 Nov 2009; Daniel Pielmeier <billie@gentoo.org>
+ linuxtv-dvb-firmware-2009.09.19.ebuild:
+ Add TeVii S650 firmware. Thanks to Arne Stäcker in bug #291954.
*linuxtv-dvb-firmware-2009.09.19 (08 Oct 2009)
diff --git a/media-tv/linuxtv-dvb-firmware/linuxtv-dvb-firmware-2009.09.19.ebuild b/media-tv/linuxtv-dvb-firmware/linuxtv-dvb-firmware-2009.09.19.ebuild
index 89f13b3cce84..d5acaa78fd70 100644
--- a/media-tv/linuxtv-dvb-firmware/linuxtv-dvb-firmware-2009.09.19.ebuild
+++ b/media-tv/linuxtv-dvb-firmware/linuxtv-dvb-firmware-2009.09.19.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/linuxtv-dvb-firmware/linuxtv-dvb-firmware-2009.09.19.ebuild,v 1.1 2009/10/08 16:05:47 billie Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/linuxtv-dvb-firmware/linuxtv-dvb-firmware-2009.09.19.ebuild,v 1.2 2009/11/12 18:18:55 billie Exp $
DESCRIPTION="Firmware files needed for operation of some dvb-devices"
HOMEPAGE="http://www.linuxtv.org"
@@ -20,6 +20,8 @@ S="${WORKDIR}"
# Files which can be fetched from linuxtv.org
PACKET_NAME=dvb-firmwares-1.tar.bz2
PACKET_SRC_URI="http://www.linuxtv.org/downloads/firmware/${PACKET_NAME}"
+TEVII_NAME=Tevii_linuxdriver_0815.rar
+TEVII_SRC_URI="http://tevii.com/${TEVII_NAME}"
get_dvb_firmware="${FILESDIR}/get_dvb_firmware-${PV}"
# from http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6-stable.git;a=history;f=Documentation/dvb/get_dvb_firmware
@@ -36,6 +38,8 @@ FW_USE_FLAGS=(
"or51211"
"or51132"
"or51132"
+ "usb-dw2104"
+ "usb-dw2104"
# own URL
"ttpci"
"bcm3510"
@@ -81,6 +85,8 @@ FW_FILES=(
"dvb-fe-or51211.fw"
"dvb-fe-or51132-qam.fw"
"dvb-fe-or51132-vsb.fw"
+ "dvb-usb-dw2104.fw"
+ "dvb-fe-cx24116.fw"
# own URL
"dvb-ttpci-01.fw"
"dvb-fe-bcm3510-01.fw"
@@ -126,6 +132,8 @@ FW_GET_PARAMETER=(
"-"
"-"
"-"
+ "-"
+ "-"
# own URL
"-"
"-"
@@ -171,6 +179,8 @@ FW_URLS=(
"${PACKET_SRC_URI}"
"${PACKET_SRC_URI}"
"${PACKET_SRC_URI}"
+ "${TEVII_SRC_URI}"
+ "${TEVII_SRC_URI}"
# own URL
"http://www.escape-edv.de/endriss/firmware/dvb-ttpci-01.fw-fc2624"
"http://www.linuxtv.org/downloads/firmware/dvb-fe-bcm3510-01.fw"
@@ -304,6 +314,11 @@ src_unpack() {
unpack ${PACKET_NAME}
fi
+ # unpack tevii packet
+ if has ${TEVII_NAME} ${A}; then
+ unpack ${TEVII_NAME}
+ fi
+
if [[ -z ${DVB_CARDS} ]] || use dvb_cards_mpc718 ; then
mv Yuan%20MPC718%20TV%20Tuner%20Card%202.13.10.1016.zip "Yuan MPC718 TV Tuner Card 2.13.10.1016.zip"
fi
@@ -311,6 +326,11 @@ src_unpack() {
mv dvb-ttpci-01.fw-fc2624 dvb-ttpci-01.fw
fi
+ if [[ -z ${DVB_CARDS} ]] || use dvb_cards_usb-dw2104 ; then
+ mv tevii_linuxdriver_0815/fw/dvb-usb-s650.fw dvb-usb-dw2104.fw
+ mv tevii_linuxdriver_0815/fw/dvb-fe-cx24116.fw ./
+ fi
+
local script_v=${PV}
# Adjust temp-dir of get_dvb_firmware