From d62eceee1e942bc7e0eb05ae5736132f78560da1 Mon Sep 17 00:00:00 2001 From: randomdan Date: Sat, 26 Sep 2009 14:16:35 +0000 Subject: sufficiently new build now in gentoo --- media-tv/linuxtv-dvb-firmware/Manifest | 14 - .../linuxtv-dvb-firmware-2009.07.23.ebuild | 291 --------------------- 2 files changed, 305 deletions(-) delete mode 100644 media-tv/linuxtv-dvb-firmware/Manifest delete mode 100644 media-tv/linuxtv-dvb-firmware/linuxtv-dvb-firmware-2009.07.23.ebuild (limited to 'media-tv') diff --git a/media-tv/linuxtv-dvb-firmware/Manifest b/media-tv/linuxtv-dvb-firmware/Manifest deleted file mode 100644 index d470eb1..0000000 --- a/media-tv/linuxtv-dvb-firmware/Manifest +++ /dev/null @@ -1,14 +0,0 @@ -DIST AVerTVHD_MCE_A180_Drv_v1.2.2.16.zip 156028 RMD160 59f0b35f04d0030b39cde9c1a2e04cf060670769 SHA1 42a8f736fc0c1d62c91d9f8f4337d37d07216840 SHA256 7f65564416b12bc34d0d2e49b61a11c557e0f48a49064a8c880423606d43aa3f -DIST Drv_2.11.02.zip 235227 RMD160 b47dd9508fd5dd57355e138eea93658ab413ac13 SHA1 1796ed41f2c8c1ccd10f61e634c7733ed8be14fa SHA256 a8e994a4af94cc5c4808603d648a19d5056f85338cfa6bfffffb072f2fde36bf -DIST TechniSat_DVB-PC_4_4_3_COMPACT.zip 1490788 RMD160 cad1770b51f2ba6d515353b93cc10c3baee3b9fd SHA1 618cb177c37fc6c37ed5c87ec7f60ab9217bd83d SHA256 becee48ef6cd0278528d574dbfd4f1a9ecf3b70fde8384d6d03d4f12177688aa -DIST af9005.fw 28250 RMD160 ad88928d271b0bf3d172dd44e09db0c83d87c3b1 SHA1 25d75856bbae1afd1cac24c083584db831e00a0b SHA256 5d1eedb40067a622c3ac6ec782f8c2de3af8d11e76603deed738deac7144cd82 -DIST dec217g.exe 432724 RMD160 b3a857844b3e3e637745eeec23d7ff9036e0f45b SHA1 f2216e22a4560bb9f34f4437c999159a7c4a87e3 SHA256 4ae046d391dd2fa57fe0d61213961b91f49805fb8de46fa2b0fe5ca163950abc -DIST dvb-fe-bcm3510-01.fw 2285 RMD160 894ecf8ddcf0bd7b34caed81053a18233a82f9f0 SHA1 09a2478fdff67ed6a4e77f4dcd05da43841874a9 SHA256 978ece002a3e1f5eb760f6ca48496e05da00b7aa76e0f6f2cb108bde2ea14f51 -DIST dvb-fe-sp887x.fw 23620 RMD160 e83382b4cb2dfa90c216e0a2b0e10cdddf5ce593 SHA1 bd64a6042f4f1884c87f0cfda24ed656f2333bcd SHA256 e0a3b66c7b059c3be93764bea82866121c1f4fa2336f4b6abed1047360e92368 -DIST dvb-firmwares-1.tar.bz2 182356 RMD160 2e70e8111e0d8889f5cd017dfa1c8d2b635f61a2 SHA1 5431a0f6c95ca14f36531e841f95a2472d2c96b9 SHA256 11772d539e5605e92f51a1edc82382c19808dea2bb9f0b425efad354e0d9bd52 -DIST dvb-usb-bluebird-01.fw 9025 RMD160 878f8f820993dbc1f03de43145a51e49e55e0733 SHA1 5a44455b383e5b8104215481693baa9498841f63 SHA256 1d9d8c5a320a0a76c476e08bd212291144439121d4147dbf8d48822b576306fc -DIST dvb-usb-dib0700-1.20.fw 33768 RMD160 ee241d2a59a9e04d94723b15ac86483b36daf0dd SHA1 415bd83150ebca3ed3ba8c1f74bf0b6a8a225c01 SHA256 74f5ffeb43767e1af6d379d6cc2e0efeaa54455d030bcd71d95f0f2a908c672a -DIST dvb-usb-wt220u-02.fw 8480 RMD160 a291280a67a04bae78c83763150d2d81aef0bd38 SHA1 149c2fe9912707100360829d3302dfcc3e596275 SHA256 ed8cd2ae6b5ad540fd4a14de9ccaa10f662781961f44cfe58b623679a5f508df -DIST dvb-usb-wt220u-fc03.fw 12902 RMD160 33dd26ffe5129ce56a20d28762d7e12e04882082 SHA1 b3e1a394fdc5d4bae921487b3b1fc4bf89594aab SHA256 838044a2f98736fe5b1266598a36eed4b5c9aa845e65c5d1d4054b8b72f808dc -DIST tt_Premium_217g.zip 114028 RMD160 5823e9d276f01f4316bca3a474f932f99f7f9cc1 SHA1 2d1b5319054b872d188e79d970f1bd5065456279 SHA256 371207e322cb83cf07656ff49c6c74aa9044f3309b67a735a619423242e3eb7f -EBUILD linuxtv-dvb-firmware-2009.07.23.ebuild 7048 RMD160 eb2d146183c57f56f81eb24e0cb27d2fcf71a8a1 SHA1 4c81c0c21bdd9eb12d22f872543c13702c363eb0 SHA256 600993406f629a21682345c3b863c205d9389aa9a26e93c3b6322f4146869076 diff --git a/media-tv/linuxtv-dvb-firmware/linuxtv-dvb-firmware-2009.07.23.ebuild b/media-tv/linuxtv-dvb-firmware/linuxtv-dvb-firmware-2009.07.23.ebuild deleted file mode 100644 index ff257d9..0000000 --- a/media-tv/linuxtv-dvb-firmware/linuxtv-dvb-firmware-2009.07.23.ebuild +++ /dev/null @@ -1,291 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvs/lportage/media-tv/linuxtv-dvb-firmware/linuxtv-dvb-firmware-2009.07.23.ebuild,v 1.1 2009-07-23 20:17:49 randomdan Exp $ - -DESCRIPTION="Firmware files needed for operation of some dvb-devices" -HOMEPAGE="http://www.linuxtv.org" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -UNSHIELD_DEPEND=">=app-arch/unshield-0.4" -DEPEND="dvb_cards_sp887x? ( ${UNSHIELD_DEPEND} )" - -RDEPEND="" - -RESTRICT="mirror" - -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}" -get_dvb_firmware="${FILESDIR}/get_dvb_firmware-${PV}" - -FW_USE_FLAGS=( -# packet - "or51132" - "or51132" - "or51211" - "usb-a800" - "dibusb-usb1" - "dibusb-usb2" - "usb-dtt200u" - "usb-umt" - "usb-vp702x" - "usb-vp7045" - "usb-wt220u" - "ttpci" -# own URL - "bcm3510" - "usb-wt220u" - "usb-wt220u" - "usb-dib0700" - "af9005" - "sp887x" -# get_dvb_firmware - "sp8870" -# "tda10045" -# "tda10046" - "tda10046lifeview" - "ttusb-dec" - "ttusb-dec" - "ttusb-dec" - "nxt2002" - "nxt200x" - "usb-bluebird" -) - -FW_FILES=( -# packet - "dvb-fe-or51132-qam.fw" - "dvb-fe-or51132-vsb.fw" - "dvb-fe-or51211.fw" - "dvb-usb-avertv-a800-02.fw" - "dvb-dibusb-5.0.0.11.fw" - "dvb-usb-dibusb-6.0.0.8.fw" - "dvb-usb-dtt200u-01.fw" - "dvb-usb-umt-010-02.fw" - "dvb-usb-vp702x-01.fw" - "dvb-usb-vp7045-01.fw" - "dvb-usb-wt220u-01.fw" - "dvb-ttpci-01.fw" -# own URL - "dvb-fe-bcm3510-01.fw" - "dvb-usb-wt220u-02.fw" - "dvb-usb-wt220u-fc03.fw" - "dvb-usb-dib0700-1.20.fw" - "af9005.fw" - "dvb-fe-sp887x.fw" -# get_dvb_firmware - "dvb-fe-sp8870.fw" -# "dvb-fe-tda10045.fw" -# "dvb-fe-tda10046.fw" - "dvb-fe-tda10046.fw" - "dvb-ttusb-dec-2000t.fw" - "dvb-ttusb-dec-2540t.fw" - "dvb-ttusb-dec-3000s.fw" - "dvb-fe-nxt2002.fw" - "dvb-fe-nxt2004.fw" - "dvb-usb-bluebird-01.fw" -) - -FW_GET_PARAMETER=( -# packet - "-" - "-" - "-" - "-" - "-" - "-" - "-" - "-" - "-" - "-" - "-" - "-" -# own URL - "-" - "-" - "-" - "-" - "-" - "-" -# get_dvb_firmware - "sp8870" -# "tda10045" -# "tda10046" - "tda10046lifeview" - "dec2000t" - "dec2540t" - "dec3000s" - "nxt2002" - "nxt2004" - "-" -) - -FW_URLS=( -# packet - "${PACKET_SRC_URI}" - "${PACKET_SRC_URI}" - "${PACKET_SRC_URI}" - "${PACKET_SRC_URI}" - "${PACKET_SRC_URI}" - "${PACKET_SRC_URI}" - "${PACKET_SRC_URI}" - "${PACKET_SRC_URI}" - "${PACKET_SRC_URI}" - "${PACKET_SRC_URI}" - "${PACKET_SRC_URI}" - "${PACKET_SRC_URI}" -# own URL - "http://www.linuxtv.org/downloads/firmware/dvb-fe-bcm3510-01.fw" - "http://www.linuxtv.org/downloads/firmware/dvb-usb-wt220u-02.fw" - "http://home.arcor.de/efocht/dvb-usb-wt220u-fc03.fw" - "http://www.wi-bw.tfh-wildau.de/~pboettch/home/files/dvb-usb-dib0700-1.20.fw" - "http://ventoso.org/luca/af9005/af9005.fw" - "http://peterdamen.com/dvb-fe-sp887x.fw" -# get_dvb_firmware - "http://www.softwarepatch.pl/9999ccd06a4813cb827dbb0005071c71/tt_Premium_217g.zip" -# "http://www.technotrend.de/new/217g/tt_budget_217g.zip" -# "http://www.technotrend.de/new/217g/tt_budget_217g.zip" - "http://www.lifeview.com.tw/drivers/pci_card/FlyDVB-T/Drv_2.11.02.zip" - "http://hauppauge.lightpath.net/de/dec217g.exe" - "http://hauppauge.lightpath.net/de/dec217g.exe" - "http://hauppauge.lightpath.net/de/dec217g.exe" - "http://www.bbti.us/download/windows/TechniSat_DVB-PC_4_4_3_COMPACT.zip" - "http://www.avermedia-usa.com/support/Drivers/AVerTVHD_MCE_A180_Drv_v1.2.2.16.zip" - "http://www.linuxtv.org/download/dvb/firmware/dvb-usb-bluebird-01.fw" -) - -SRC_URI="" -NEGATIVE_USE_FLAGS="" -NEGATIVE_END_BRACKETS="" -ALL_URLS="" - -for ((CARD=0; CARD < ${#FW_USE_FLAGS[*]}; CARD++)) do - URL="${FW_URLS[CARD]}" - - if [[ -z ${URL} ]]; then - echo "missing url for ${FW_USE_FLAGS[CARD]}" - continue - fi - SRC_URI="${SRC_URI} dvb_cards_${FW_USE_FLAGS[CARD]}? ( ${URL} )" - - IUSE="${IUSE} dvb_cards_${FW_USE_FLAGS[CARD]}" - NEGATIVE_USE_FLAGS="${NEGATIVE_USE_FLAGS} !dvb_cards_${FW_USE_FLAGS[CARD]}? ( " - NEGATIVE_END_BRACKETS="${NEGATIVE_END_BRACKETS} )" - ALL_URLS="${ALL_URLS} ${URL}" - - GET_PARAM="${FW_GET_PARAMETER[CARD]}" - if [[ ${GET_PARAM} != "-" ]]; then - # all with get_dvb_firmware need unzip - DEPEND="${DEPEND} dvb_cards_${FW_USE_FLAGS[CARD]}? ( app-arch/unzip )" - fi -done - -SRC_URI="${SRC_URI} ${NEGATIVE_USE_FLAGS} ${ALL_URLS} ${NEGATIVE_END_BRACKETS}" - -DEPEND="${DEPEND} - ${NEGATIVE_USE_FLAGS} - ${UNSHIELD_DEPEND} - app-arch/unzip - ${NEGATIVE_END_BRACKETS}" - -install_dvb_card() { - if [[ -z ${DVB_CARDS} ]]; then - # install (almost) all firmware files - - # do not install this one due to conflicting filenames - [[ "${1}" != "tda10046lifeview" ]] - else - # Check if this flag is set - use dvb_cards_${1} - fi -} - -pkg_setup() { - #echo SRC_URI=${SRC_URI} - #echo DEPEND=${DEPEND} - if hasq tda1004x ${DVB_CARDS}; then - eerror - eerror "DVB_CARDS flag tda1004x has been split into" - eerror "tda10045, tda10046 and tda10046lifeview". - eerror - eerror "But beware that you cannot enable tda10046 and" - eerror "tda10046lifeview at the same time." - eerror - fi - - if [[ -z ${DVB_CARDS} ]]; then - elog "DVB_CARDS is not set, installing all available firmware files." - fi - # according to http://devmanual.gentoo.org/general-concepts/use-flags/index.html - # we should not die here. However, there is no sensible fallback choice to make - # because the user may have either the one or the other. WYGIWYG - if useq dvb_cards_tda10046 && useq dvb_cards_tda10046lifeview; then - eerror - eerror "You cannot have both tda10046 and tda10046lifeview in DVB_CARDS" - eerror "because of colliding firmware filenames (dvb-fe-tda10046.fw)." - eerror "Sorry." - eerror - die "Conflicting values for DVB_CARDS set." - fi - elog "List of possible card-names to use for DVB_CARDS:" - echo ${FW_USE_FLAGS[*]}| tr ' ' '\n' | sort | uniq | fmt \ - | while read line; do - elog " ${line}" - done - elog "If you need another firmware file and want it included create a bug" - elog "at bugs.gentoo.org." -} - -src_unpack() { - # link all downloaded files to ${S} - for f in ${A}; do - [[ -L ${f} ]] || ln -s ${DISTDIR}/${f} ${f} - done - - # unpack firmware-packet - if hasq ${PACKET_NAME} ${A}; then - unpack ${PACKET_NAME} - # this file has renamed - mv dvb-usb-dibusb-5.0.0.11.fw dvb-dibusb-5.0.0.11.fw - fi - - #SCRIPT_V=${PV} - #unchanged since last ebuild - SCRIPT_V=2006.11.13 - - # Adjust temp-dir of get_dvb_firmware - sed "${FILESDIR}"/get_dvb_firmware-${SCRIPT_V} \ - -e "s#/tmp#${T}#g" \ - > get_dvb_firmware - chmod a+x get_dvb_firmware - - # extract the firmware-files - for ((CARD=0; CARD < ${#FW_USE_FLAGS[*]}; CARD++)) do - install_dvb_card ${FW_USE_FLAGS[CARD]} || continue - - GET_PARAM=${FW_GET_PARAMETER[CARD]} - if [[ ${GET_PARAM} != "-" ]]; then - [[ -f ${FW_FILES[CARD]} ]] && ewarn "Already existing: ${FW_FILES[CARD]}" - elog "Extracting ${FW_FILES[CARD]}" - ./get_dvb_firmware ${GET_PARAM} - fi - done -} - -src_install() { - insinto /lib/firmware - - for ((CARD=0; CARD < ${#FW_USE_FLAGS[*]}; CARD++)) do - if install_dvb_card ${FW_USE_FLAGS[CARD]}; then - local FILE=${FW_FILES[CARD]} - [[ -f ${FILE} ]] || die "File ${FILE} does not exist!" - doins ${FILE} - fi - done -} -- cgit v1.2.3