From a2aabf686c375554b86bb519c1d4454806ef2129 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Tue, 18 Jan 2011 11:21:57 +0100 Subject: [PATCH] new package: add package 'linuxtv-dvb-firmware' Signed-off-by: Stephan Raue --- packages/linux-firmware/install | 2 ++ .../linuxtv-dvb-firmware/install | 26 ++++++++++++++ .../linux-firmware/linuxtv-dvb-firmware/meta | 36 +++++++++++++++++++ projects/ATV/options | 6 ++-- projects/Generic/options | 5 +-- projects/ION/options | 5 +-- projects/Intel/options | 3 +- 7 files changed, 75 insertions(+), 8 deletions(-) create mode 100755 packages/linux-firmware/linuxtv-dvb-firmware/install create mode 100644 packages/linux-firmware/linuxtv-dvb-firmware/meta diff --git a/packages/linux-firmware/install b/packages/linux-firmware/install index fa8f398c8..c648fc18e 100755 --- a/packages/linux-firmware/install +++ b/packages/linux-firmware/install @@ -34,6 +34,8 @@ for firmware in $FIRMWARE; do [ $firmware = iwl6000 ] && $SCRIPTS/install iwlwifi-6000-ucode [ $firmware = iwl6050 ] && $SCRIPTS/install iwlwifi-6050-ucode + [ $firmware = dvb-firmware ] && $SCRIPTS/install linuxtv-dvb-firmware + done exit 0 diff --git a/packages/linux-firmware/linuxtv-dvb-firmware/install b/packages/linux-firmware/linuxtv-dvb-firmware/install new file mode 100755 index 000000000..1643ed9bf --- /dev/null +++ b/packages/linux-firmware/linuxtv-dvb-firmware/install @@ -0,0 +1,26 @@ +#!/bin/sh + +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +. config/options $1 + +mkdir -p $INSTALL/lib/firmware + cp -PR $PKG_BUILD/*.fw* $INSTALL/lib/firmware diff --git a/packages/linux-firmware/linuxtv-dvb-firmware/meta b/packages/linux-firmware/linuxtv-dvb-firmware/meta new file mode 100644 index 000000000..4e1be895d --- /dev/null +++ b/packages/linux-firmware/linuxtv-dvb-firmware/meta @@ -0,0 +1,36 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +PKG_NAME="linuxtv-dvb-firmware" +PKG_VERSION="20110118" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="Free-to-use" +PKG_SITE="http://www.linuxtv.org" +PKG_URL="$OPENELEC_SRC/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_DEPENDS="" +PKG_BUILD_DEPENDS="toolchain" +PKG_PRIORITY="optional" +PKG_SECTION="linux-firmware" +PKG_SHORTDESC="linuxtv-dvb-firmware: firmwarefiles for various DVB Cards." +PKG_LONGDESC="firmwarefiles for various DVB Cards." +PKG_IS_ADDON="no" + +PKG_AUTORECONF="no" diff --git a/projects/ATV/options b/projects/ATV/options index c854db5e7..c22a3c010 100644 --- a/projects/ATV/options +++ b/projects/ATV/options @@ -88,7 +88,6 @@ # additional drivers to install: # bcm_sta: Broadcom STA WLAN Driver # rtl8192se: Realtek RTL8192SE WLAN driver -# bcm_sta: Broadcom STA WLAN Driver # Space separated list is supported, # e.g. ADDITIONAL_DRIVERS="rtl8192se" ADDITIONAL_DRIVERS="bcm_sta" @@ -186,10 +185,11 @@ # "none" for disable LCD support LCD_DRIVER="none" -# Firmware to use (iwl1000, iwl3945, iwl4965, iwl5000, iwl5150, iwl6000, iwl6050) +# Firmware to use (iwl1000, iwl3945, iwl4965, iwl5000, iwl5150, iwl6000, iwl6050, +# dvb-firmware) # Space separated list is supported, # e.g. FIRMWARE="iwl3945 iwl5000" - FIRMWARE="" + FIRMWARE="dvb-firmware" # build with lm_sensors hardware monitoring support (yes / no) SENSOR_SUPPORT="yes" diff --git a/projects/Generic/options b/projects/Generic/options index 87dc92e22..610671445 100644 --- a/projects/Generic/options +++ b/projects/Generic/options @@ -185,10 +185,11 @@ # "none" for disable LCD support LCD_DRIVER="irtrans,imon" -# Firmware to use (iwl1000, iwl3945, iwl4965, iwl5000, iwl5150, iwl6000, iwl6050) +# Firmware to use (iwl1000, iwl3945, iwl4965, iwl5000, iwl5150, iwl6000, iwl6050, +# dvb-firmware) # Space separated list is supported, # e.g. FIRMWARE="iwl3945 iwl5000" - FIRMWARE="ipw2100 ipw2200 iwl1000 iwl3945 iwl4965 iwl5000 iwl5150 iwl6000 iwl6050" + FIRMWARE="ipw2100 ipw2200 iwl1000 iwl3945 iwl4965 iwl5000 iwl5150 iwl6000 iwl6050 dvb-firmware" # build with lm_sensors hardware monitoring support (yes / no) SENSOR_SUPPORT="yes" diff --git a/projects/ION/options b/projects/ION/options index a140e9b0b..35afe9b54 100644 --- a/projects/ION/options +++ b/projects/ION/options @@ -185,10 +185,11 @@ # "none" for disable LCD support LCD_DRIVER="irtrans,imon" -# Firmware to use (iwl1000, iwl3945, iwl4965, iwl5000, iwl5150, iwl6000, iwl6050) +# Firmware to use (iwl1000, iwl3945, iwl4965, iwl5000, iwl5150, iwl6000, iwl6050, +# dvb-firmware) # Space separated list is supported, # e.g. FIRMWARE="iwl3945 iwl5000" - FIRMWARE="" + FIRMWARE="dvb-firmware" # build with lm_sensors hardware monitoring support (yes / no) SENSOR_SUPPORT="yes" diff --git a/projects/Intel/options b/projects/Intel/options index 6316c0602..d857b8d95 100644 --- a/projects/Intel/options +++ b/projects/Intel/options @@ -185,10 +185,11 @@ # "none" for disable LCD support LCD_DRIVER="irtrans,imon" +# Firmware to use (iwl1000, iwl3945, iwl4965, iwl5000, iwl5150, iwl6000, iwl6050, # Firmware to use (iwl1000, iwl3945, iwl4965, iwl5000, iwl5150, iwl6000, iwl6050) # Space separated list is supported, # e.g. FIRMWARE="iwl3945 iwl5000" - FIRMWARE="iwl4965 iwl5000" + FIRMWARE="iwl4965 iwl5000 dvb-firmware" # build with lm_sensors hardware monitoring support (yes / no) SENSOR_SUPPORT="yes"