summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-10-01 10:00:27 +0200
committerPacho Ramos <pacho@gentoo.org>2016-10-01 10:02:02 +0200
commit755e2e74b59343ea17fa6b7582ced53cd83dfd0f (patch)
treee9b2954a209e84f61273cbfc9f4cb26e00a65cf5 /media-tv
parentpackage.mask: remove some masked for removal packages (diff)
downloadgentoo-755e2e74b59343ea17fa6b7582ced53cd83dfd0f.tar.gz
gentoo-755e2e74b59343ea17fa6b7582ced53cd83dfd0f.tar.bz2
gentoo-755e2e74b59343ea17fa6b7582ced53cd83dfd0f.zip
package.mask: remove some masked for removal packages
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/linuxtv-dvb-firmware/Manifest29
-rw-r--r--media-tv/linuxtv-dvb-firmware/files/get_dvb_firmware-2009.07.06638
-rw-r--r--media-tv/linuxtv-dvb-firmware/files/get_dvb_firmware-2009.09.19674
-rw-r--r--media-tv/linuxtv-dvb-firmware/linuxtv-dvb-firmware-2009.07.06-r1.ebuild343
-rw-r--r--media-tv/linuxtv-dvb-firmware/linuxtv-dvb-firmware-2009.09.19.ebuild363
-rw-r--r--media-tv/linuxtv-dvb-firmware/metadata.xml5
6 files changed, 0 insertions, 2052 deletions
diff --git a/media-tv/linuxtv-dvb-firmware/Manifest b/media-tv/linuxtv-dvb-firmware/Manifest
deleted file mode 100644
index 18eed6653831..000000000000
--- a/media-tv/linuxtv-dvb-firmware/Manifest
+++ /dev/null
@@ -1,29 +0,0 @@
-DIST 2830SCap2.sys 86912 SHA256 ba96cf8e973c721a7a5a78f99b46065fef6a44169f7c2c75007f51b1432b2538 SHA512 641d9c8a44f7a6833538d780e45f71108a2d2d3a36913118d221e923b083eced572ee681a748ec492039d632a2f5124a8d1c5949938aeeae377337c2a6ef1136 WHIRLPOOL 6b0d4499a961b273150cd92ea3383fd77bad27fbbcf879240660d4ad2fe4e45ae0f6c4837397547212ffd5dd66df3445a9737c3182d1d721b52ace3837e3da09
-DIST 2830SLoad2.sys 15872 SHA256 899c3ddecd4227d0bf8ac393a297bc3fe9cd5e366d389154044d14a7dcf255b6 SHA512 594c8608682a515c21112f95be73135d3400a2fcd0d5896c12dae65ca2bdcf50cbd51c01dc4e68b613b848e90d957d259c20bcd670b897df44e33f189df96730 WHIRLPOOL 9f142959ebdacfcc12e845707f5a3b8a9f311bbb589bc806b1d83da100435c39122acd9c3177372d5eee5f708aca94f849d9811603e23cd6b8b3916e40940592
-DIST 7%5Cdrv_2.11.02.zip 235227 SHA256 a8e994a4af94cc5c4808603d648a19d5056f85338cfa6bfffffb072f2fde36bf SHA512 afbb14176d4ea201f67cb6cbb8a525bf6a8bbeb9ef4ec865165a337d4a59e43fe71419123671407e659789662bbd5d7aa3fe16ea7d690abeec5ae26cfb9f7f4e WHIRLPOOL d931f3b068b63655f7439227a3d225563bcee586c705d165238eca1eda0b2bd8ec04139b796c511f593e42ba892d8a663af816039dba67180eeaaaf8054d5159
-DIST AVerTVHD_MCE_A180_Drv_v1.2.2.16.zip 156028 SHA256 7f65564416b12bc34d0d2e49b61a11c557e0f48a49064a8c880423606d43aa3f SHA512 df8515e05fcb612b094e6c65caf10eab571178fe2fbf3b5645ceaec56c2221edf2bb059165c259484acaac77d9779c7b8cc347ffd8b24339be472d982e1222ff WHIRLPOOL 632f517883b6d68af994bc31476aa994cf991fb9ee0bf67e8f426a5c81042b2ac1cf407540069cfa16a0695d75dda605560501fec18c4a4fa851e2209489880e
-DIST TT_PCI_2.19h_28_11_2006.zip 22366414 SHA256 887492ba12193ed39ac28ed98f02e6ebb7290807461f4c7ffb10750685098061 SHA512 08d840c08fcd59d4a613197adf5d271a76de101e0db7fdee21a7fa38b1d6f5b573e58f430e95c74a35db33e2866316143bc56f17316acdfb6875f390cbd64362 WHIRLPOOL 0252866f0af60f8df354a5432a54d0ef7977da438397aa917eded37c61bb350203523c8c1ffda81e139082f6ce58829f36e0b5036e7511eb3508d7f2e86b2419
-DIST Tevii_linuxdriver_0815.rar 3743579 SHA256 e1c5f04d3c565e43f90cf00dea6a1c30981d8bd14162163d8b97755d8ea909c1 SHA512 da35df5c18132df0781055b7d85a267e15051ba697ab1f67a7c4ed274c533d15eb4b21dfe719a72f5ceabaea873ec920185aa564c885413e6fe717d3d5f36560 WHIRLPOOL b3a5e32e6232fdcb4ff95959e51d5f13254b6bb3bf7bd518798e60c7d2dbcb4b5172b1da22f3eeff48c7aecd24932b1fe0f7b579fab099268b811d1d3878883c
-DIST TwinhanDTV2.608a.zip 22316104 SHA256 5e6007e28d2d043c63bb917189f6ddfe8e8a25edd007af0328926a093e2390a6 SHA512 1476ba9b7845bece86d26f272f908704f828ebea2cc68468b4d8cb4180fa22bb8dbea870ae2fbde233a2424e9249de5f21c75a459e65ad067780fb18e1c9fe99 WHIRLPOOL 3c0a73d58f8b30ffec713cccaa644c38c84fcfd9dba57b27f855d896f706d213d150e32115a26913fecaf41d8b03a09001c7e2fd5933fc0259453bbc609f298b
-DIST Yuan%20MPC718%20TV%20Tuner%20Card%202.13.10.1016.zip 2485056 SHA256 0a3e5272ccbc7fbd3ac006d8677a22a556b39594febb52d2cbab637d153e7381 SHA512 58fa3ec67443023d6ac259a6d765453c6ca5271ab6db8f62ed1ccf0c18bf4e88b456dc48cd4015fff72801285149d81412aa64179e0c1797c03c7f7879e617c4 WHIRLPOOL cd0cfc1ea9c9524571aeee6b53c573bb07e14fc144c5cea11ea5059e52b4785702531d15f18f13c5335a16e1752923e4365cfa40d5aa177f454903f55de29978
-DIST af9005.fw 28250 SHA256 5d1eedb40067a622c3ac6ec782f8c2de3af8d11e76603deed738deac7144cd82 SHA512 8937b39d2718ca09f4699a0982c7ad86405230a28f51d6b5e750451197796b3bf4fe6506caa07da47597109af935373f4ac9fb350472f72f7fa6d6c01881e2a3 WHIRLPOOL 955fa7800e3c4ea7918fcd06e42c1967dac05345bfae9a90fb894d24bb4cbf876ce5dafa2d29a4a07d82e179dddf6ed4501123b44d3412210a65ee16c1b5e644
-DIST dec217g.exe 16371951 SHA256 fd20902bcc3178a26b5a27fe88adcdfce888daa8d2206b67b13e5f3a3973dc1c SHA512 2d0fc3b3b7bd8391fb29d1e6378dcb3d61cbb12959a9b57ffe6e68446493a9a43c98a982c08a7394a219bdda64e5c78addc9f6df7db0a7e6bda2830d6941cd65 WHIRLPOOL 932e876d2a779af49030f56bcd7ed7f9081f72f45422573bb990257a4fc75a41dbf25e172862ca2758efa7f8d4e669589d2b55f4263c70763e380af4d0fc8e5d
-DIST download.ashx?file=57 3667491 SHA256 c548a010b8900dece021b29c01052fb195ffd590cb3e6f0c8f8c632fc3901abe SHA512 d0e877fce2f41f5e6444c8c297080b5b3139a6be9034de40dc9dd8b789f9bf403b00ebdb926e930780dce4e054150231c457c543e65988c492dbeffc87de08e3 WHIRLPOOL 30cdcef0b339f6b97dde6afd336dcb1621792a966c48c3abbb5b440e88b657d4b9d21a50bf704241a25b9368c773e86ed90eea9aad72080de91fe463bf8a2cc6
-DIST dvb-fe-bcm3510-01.fw 2285 SHA256 978ece002a3e1f5eb760f6ca48496e05da00b7aa76e0f6f2cb108bde2ea14f51 SHA512 a753e5cca7f976801f02de4a5502b8c149238473b75a492ecca77a8ebbdc006b8e5914f16f7876c6c5f08bea7548aeec56ca111d6b290cdf508e61b865848128 WHIRLPOOL 70edb9c0460fa4a67c586d698c81388755eece217848afbea59869a4cd9a5a3d5213469cdf1bb83ddc6a1f014f51c6e84aff827a2cd87c6d3ca6d877fbdfbd73
-DIST dvb-fe-sp887x.fw 23620 SHA256 e0a3b66c7b059c3be93764bea82866121c1f4fa2336f4b6abed1047360e92368 SHA512 7e7373f28b237c41e8b2bdcda0677ed5a67cf10d47ee87659f6358413b5fd82ed4d39c83344a1134292fc1e76650bf7431aa58e087716b4e4d00c52088469843 WHIRLPOOL f42345c210918e08eaed4a792370d2e7779ddee0ee5b6565456f917d90c473035c1df680e6758c19f21ba56c65d976baa532ee95b53143a32549bf430bf82323
-DIST dvb-fe-tda10045.fw 30555 SHA256 211d6917a2c1b56838d91bdd5963d0646fac111cdd8c765c2398af49e33b0e46 SHA512 ee09e4d6e397d3a5ec24abe136802c43dd854b4fc43e2041a12b525fbd4cf0b9e5fe50c4b4fe0772262de54626d553853bde5bbcf49cf5a74dca8e369a5a865b WHIRLPOOL 0867e6307ef604f4e5ff191d189c02316d0808506dcafc475a254bd9e20917cd2c5d395b3bf8501fd2e1999983db37bb00b06478631f1541fe6ca4c15f1a2214
-DIST dvb-firmwares-1.tar.bz2 182356 SHA256 11772d539e5605e92f51a1edc82382c19808dea2bb9f0b425efad354e0d9bd52 SHA512 e0d94e906034ca4d3b81d5e8802114bcda8cd06119e505425b3d65e9ead39d8d18c3f0bf77df845b47b99a77468fb781412dbf6ee15878c254648499c17461f4 WHIRLPOOL 0aec50735266823e444af7c2e4613c2a02f33e400f136c21db2367972608f7b2b278326b8263df654f0e2802c94256000b440c48ea7628a00ed985f3d15fb5ef
-DIST dvb-ttpci-01.fw-fc2624 242836 SHA256 044c4974189d90715189af82e648a8a0512cd4ce5bd48d50d6f2b80f1095de40 SHA512 044b812043d8d7acbb6c4ac06cb745172976ef0db70122b8be4c0bd74427d92de675fe866f64d639e880476ee11348dd88e8c9d998d9c60c58749aa80c961611 WHIRLPOOL 0f81b7e8573d9958a97ef4d256c6ba18a095bdefbf77ace5329181b94585353799456bf850a6a014d7ccc1f7b383e7d61049d90bcecf2c2b02df6516a04a307d
-DIST dvb-usb-af9015.fw 15913 SHA256 a0ae064c3acef212172f13317d627492d0ed3c0a43f3634821b33a00fbf99621 SHA512 b7ba58329d7432a3c91176632f3905ce073c9cf8531a1629a539cceb0cf018769b0cf966b37350642ce41eddce4036d4dbc123aebc8d63367109cbbdeb590edc WHIRLPOOL 3e0f1811a2598d050c8f7b5264deaf148da6dd2a67c0d6779716df5853d7c01c11298a13c30b7adb8cd6a6e503d8523c8b056e5853e29b0068473f21e891709e
-DIST dvb-usb-bluebird-01.fw 9025 SHA256 1d9d8c5a320a0a76c476e08bd212291144439121d4147dbf8d48822b576306fc SHA512 5e71d89bec537253ec13d1c4de5b82704924a3b20af68b7685e19ca67b7b0776783acbbd2162caac14e53da6b62c51df5467446df5e54dab7cee84217977b42f WHIRLPOOL 8cc3e5f443fa3731d00ef2d271ddd92f006290862baf4d85864781cc877bb012a3883e4dad9ebe49467a6d68527425fb5eecbb5d0c6fa4a0c0819425898b2e97
-DIST dvb-usb-dib0700-1.20.fw 33768 SHA256 74f5ffeb43767e1af6d379d6cc2e0efeaa54455d030bcd71d95f0f2a908c672a SHA512 b9265a620f5e42d3daba60dbaa5f893d118bb1c4285e3f1612e6a9ac2661db911c1ecb36b2974409f2a8c591b5d21566e433db5178a2683c8cbb791504a8972d WHIRLPOOL 2c52c1c4e744996ce8ab3c4f82e3f4d07fb190aa0e95241fa7154e6220ccd96f6be768e4f3e318476b6b73eae767487d3e618752fb1b5c33784998346927f6ba
-DIST dvb-usb-wt220u-02.fw 8480 SHA256 ed8cd2ae6b5ad540fd4a14de9ccaa10f662781961f44cfe58b623679a5f508df SHA512 ed7e493d4a1f8fb89335ba4783cb45bdbb9dc01afd6a56a15cde532c735247ee4e640360307f72464ae56922297d0b166e7b2f5b6dc751fddf00ae9ea7598fe7 WHIRLPOOL 2917c3ee32f770fc5520f45857aa636d1e9c54383be34d4bd1664722b1af7e0ef47287f8ba7afb5c58667d330eec069d3b154d51722be722ab54de1459be1e0b
-DIST dvb-usb-wt220u-fc03.fw 12902 SHA256 838044a2f98736fe5b1266598a36eed4b5c9aa845e65c5d1d4054b8b72f808dc SHA512 94a07b404d7ca678b09d29eb74842f2aeb3e4a61e73d7a225c817e468bdd46b396dc6c8db6ba6cbd69d9ce661bf89add2528d57647586472cc9f3c018b731509 WHIRLPOOL 5efe2f1f19392163f8166a34561f86f66c306d9a3d845ac44f030544434a5ad90fba2cf7a8cfe54b9fe822173b7c8abe8b9c06e6c0352bdac03ebc37cc30d323
-DIST tt_Premium_217g.zip 11348671 SHA256 cfe84a039c20473ba41c2e3da165c668a0e227f197ea0e272abc253c5f9f5a83 SHA512 468dcd8102a8506d51a30eb87b056f98c336bb3894b0a3f0d993dc66f61640b287886fae8e84bae87bdf4eb8008870c6f856181407f63345430a02ef3fdc84ae WHIRLPOOL a96d3734d43740abcec94bdf5e1e4083d6e4fa1954cc8699166d93b2a1c76d068eea190cb87350f38de8ea365e275d8a15fc137f06cf853234244cce5600b7eb
-DIST v4l-cx231xx-avcore-01.fw 16382 SHA256 c2a75fc710f51c778abe7c7e8b54ed5686b17811dd203d1de3070d3df70d70f6 SHA512 2c7db24188c3399b05a2362ef359f9b9978dd3ab937c09ce86c2e923c19a687499d89cd07738e6dc1f4232be15caf989f602b4522d7bb5f3da6009bdcfe0508c WHIRLPOOL 28cb9906c6c85f2f5d6ddfa17eb101bdafab54dafbd9ebaeb8552f0dec4537202a3b05a65250e7280fdae8462e4098c22c864aa88943f98cbe94caf967bbe056
-DIST v4l-cx23418-apu.fw 141200 SHA256 770351d86c757f4be635f276386269eeaf0448e7c3fa1791507e77e5556c063a SHA512 627e073d09d4136604627f24b8a69539221d9becc4e6e18f24d9a81eb417f4f0183484ae38ccbea0aa93da9e8d75882e603f0788b4dff3160f73f2e42e08284e WHIRLPOOL e1aed81fa9da4c6028e76e3a5606c2ec0baafedb01e491ca11f50f6b369a004cfe01d05bd92af6d52265155262b7b5c20cba23aa810e89d859d6419427127b10
-DIST v4l-cx23418-cpu.fw 158332 SHA256 058eebb8072bbf0628de3774aad0e5eaa83f871334f8120c0e12c9b971be9bce SHA512 02bd66461efb50bd74bbf2ba4423db143e7d458e5bf573da5378bf93822ec762b7783b7fcc4163a4e97eda1ac741500db02d16c0c00763daaa8c031fe824b647 WHIRLPOOL 5f5c4b7426ffdc5da1637918c722efa28ada03a3e60ea715d99d8807b598d8b8f39ad474ed6d556df02342726182e63b0b22dc15791d0aba3f4e97bc8b6969ab
-DIST v4l-cx23418-dig.fw 16382 SHA256 a6505aee99fa71768daece0a7ced1ac1f60bf7f8d823707640778fe0a4fd0a81 SHA512 02b48cf498abfc2d72b420021cf6dc3a47d28c883c5175df9718d19b5f31bb7e0bf912088bd47a7572f96c4a9764cf16f4e7db58bfa1d43d79d5e95a90a66d37 WHIRLPOOL a797615acdf6a6f54bc160dacb3e0da077985e1824b6da37b54e44ffd8425f5621370cf904c029ea5ac275c9359b07b2c3cca6638d8d5ae0f1cf749fdc1ebf77
-DIST v4l-cx23885-avcore-01.fw 16382 SHA256 c2a75fc710f51c778abe7c7e8b54ed5686b17811dd203d1de3070d3df70d70f6 SHA512 2c7db24188c3399b05a2362ef359f9b9978dd3ab937c09ce86c2e923c19a687499d89cd07738e6dc1f4232be15caf989f602b4522d7bb5f3da6009bdcfe0508c WHIRLPOOL 28cb9906c6c85f2f5d6ddfa17eb101bdafab54dafbd9ebaeb8552f0dec4537202a3b05a65250e7280fdae8462e4098c22c864aa88943f98cbe94caf967bbe056
-DIST v4l-cx23885-enc.fw 16382 SHA256 c2a75fc710f51c778abe7c7e8b54ed5686b17811dd203d1de3070d3df70d70f6 SHA512 2c7db24188c3399b05a2362ef359f9b9978dd3ab937c09ce86c2e923c19a687499d89cd07738e6dc1f4232be15caf989f602b4522d7bb5f3da6009bdcfe0508c WHIRLPOOL 28cb9906c6c85f2f5d6ddfa17eb101bdafab54dafbd9ebaeb8552f0dec4537202a3b05a65250e7280fdae8462e4098c22c864aa88943f98cbe94caf967bbe056
-DIST v4l-cx25840.fw 16382 SHA256 67a06c2dbcdf893c309357c4de181655be55708b6985c99b2e7ba8bebc417212 SHA512 69e3020b97f80ea8da65c7b141f5281be997fba43f96365b40bfcca2ab788775d39a38c0164f1803ed37c4fabc14fb0cc9e16b46cf791e3eee7403401fc47cc1 WHIRLPOOL ee019238f658025bb3e6bd9dc33b392d66cd394b43794b86876f9d19b188b91b2690b9f7f1fddff7828a953f13b2a5be57949cce8073d0997176729f1c8e4625
diff --git a/media-tv/linuxtv-dvb-firmware/files/get_dvb_firmware-2009.07.06 b/media-tv/linuxtv-dvb-firmware/files/get_dvb_firmware-2009.07.06
deleted file mode 100644
index 1b7428e0c660..000000000000
--- a/media-tv/linuxtv-dvb-firmware/files/get_dvb_firmware-2009.07.06
+++ /dev/null
@@ -1,638 +0,0 @@
-#!/usr/bin/perl
-# DVB firmware extractor
-#
-# (c) 2004 Andrew de Quincey
-#
-# 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 of the License, 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 this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-use File::Temp qw/ tempdir /;
-use IO::Handle;
-
-@components = ( "sp8870", "sp887x", "tda10045", "tda10046",
- "tda10046lifeview", "av7110", "dec2000t", "dec2540t",
- "dec3000s", "vp7041", "dibusb", "nxt2002", "nxt2004",
- "or51211", "or51132_qam", "or51132_vsb", "bluebird",
- "opera1", "cx231xx", "cx18", "cx23885", "pvrusb2", "mpc718" );
-
-# Check args
-syntax() if (scalar(@ARGV) != 1);
-$cid = $ARGV[0];
-
-# Do it!
-for ($i=0; $i < scalar(@components); $i++) {
- if ($cid eq $components[$i]) {
- $outfile = eval($cid);
- die $@ if $@;
- print STDERR <<EOF;
-Firmware(s) $outfile extracted successfully.
-Now copy it(they) to either /usr/lib/hotplug/firmware or /lib/firmware
-(depending on configuration of firmware hotplug).
-EOF
- exit(0);
- }
-}
-
-# If we get here, it wasn't found
-print STDERR "Unknown component \"$cid\"\n";
-syntax();
-
-
-
-
-# ---------------------------------------------------------------
-# Firmware-specific extraction subroutines
-
-sub sp8870 {
- my $sourcefile = "tt_Premium_217g.zip";
- my $url = "http://2.download.softwarepatch.pl/1619edb0dcb493dd5337b94a1f79c3f6/$sourcefile";
- my $hash = "53970ec17a538945a6d8cb608a7b3899";
- my $outfile = "dvb-fe-sp8870.fw";
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
-
- checkstandard();
-
- wgetfile($sourcefile, $url);
- unzip($sourcefile, $tmpdir);
- verify("$tmpdir/software/OEM/HE/App/boot/SC_MAIN.MC", $hash);
- copy("$tmpdir/software/OEM/HE/App/boot/SC_MAIN.MC", $outfile);
-
- $outfile;
-}
-
-sub sp887x {
- my $sourcefile = "Dvbt1.3.57.6.zip";
- my $url = "http://www.avermedia.com/software/$sourcefile";
- my $cabfile = "DVBT Net Ver1.3.57.6/disk1/data1.cab";
- my $hash = "237938d53a7f834c05c42b894ca68ac3";
- my $outfile = "dvb-fe-sp887x.fw";
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
-
- checkstandard();
- checkunshield();
-
- wgetfile($sourcefile, $url);
- unzip($sourcefile, $tmpdir);
- unshield("$tmpdir/$cabfile", $tmpdir);
- verify("$tmpdir/ZEnglish/sc_main.mc", $hash);
- copy("$tmpdir/ZEnglish/sc_main.mc", $outfile);
-
- $outfile;
-}
-
-sub tda10045 {
- my $sourcefile = "tt_budget_217g.zip";
- my $url = "http://www.technotrend.de/new/217g/$sourcefile";
- my $hash = "2105fd5bf37842fbcdfa4bfd58f3594a";
- my $outfile = "dvb-fe-tda10045.fw";
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
-
- checkstandard();
-
- wgetfile($sourcefile, $url);
- unzip($sourcefile, $tmpdir);
- extract("$tmpdir/software/OEM/PCI/App/ttlcdacc.dll", 0x37ef9, 30555, "$tmpdir/fwtmp");
- verify("$tmpdir/fwtmp", $hash);
- copy("$tmpdir/fwtmp", $outfile);
-
- $outfile;
-}
-
-sub tda10046 {
- my $sourcefile = "TT_PCI_2.19h_28_11_2006.zip";
- my $url = "http://www.tt-download.com/download/updates/219/$sourcefile";
- my $hash = "6a7e1e2f2644b162ff0502367553c72d";
- my $outfile = "dvb-fe-tda10046.fw";
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
-
- checkstandard();
-
- wgetfile($sourcefile, $url);
- unzip($sourcefile, $tmpdir);
- extract("$tmpdir/TT_PCI_2.19h_28_11_2006/software/OEM/PCI/App/ttlcdacc.dll", 0x65389, 24478, "$tmpdir/fwtmp");
- verify("$tmpdir/fwtmp", $hash);
- copy("$tmpdir/fwtmp", $outfile);
-
- $outfile;
-}
-
-sub tda10046lifeview {
- my $sourcefile = "7%5Cdrv_2.11.02.zip";
- my $url = "http://www.lifeview.hk/dbimages/document/$sourcefile";
- my $hash = "1ea24dee4eea8fe971686981f34fd2e0";
- my $outfile = "dvb-fe-tda10046.fw";
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
-
- checkstandard();
-
- wgetfile($sourcefile, $url);
- unzip($sourcefile, $tmpdir);
- extract("$tmpdir/LVHybrid.sys", 0x8b088, 24602, "$tmpdir/fwtmp");
- verify("$tmpdir/fwtmp", $hash);
- copy("$tmpdir/fwtmp", $outfile);
-
- $outfile;
-}
-
-sub av7110 {
- my $sourcefile = "dvb-ttpci-01.fw-261d";
- my $url = "http://www.linuxtv.org/downloads/firmware/$sourcefile";
- my $hash = "603431b6259715a8e88f376a53b64e2f";
- my $outfile = "dvb-ttpci-01.fw";
-
- checkstandard();
-
- wgetfile($sourcefile, $url);
- verify($sourcefile, $hash);
- copy($sourcefile, $outfile);
-
- $outfile;
-}
-
-sub dec2000t {
- my $sourcefile = "dec217g.exe";
- my $url = "http://hauppauge.lightpath.net/de/$sourcefile";
- my $hash = "bd86f458cee4a8f0a8ce2d20c66215a9";
- my $outfile = "dvb-ttusb-dec-2000t.fw";
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
-
- checkstandard();
-
- wgetfile($sourcefile, $url);
- unzip($sourcefile, $tmpdir);
- verify("$tmpdir/software/OEM/STB/App/Boot/STB_PC_T.bin", $hash);
- copy("$tmpdir/software/OEM/STB/App/Boot/STB_PC_T.bin", $outfile);
-
- $outfile;
-}
-
-sub dec2540t {
- my $sourcefile = "dec217g.exe";
- my $url = "http://hauppauge.lightpath.net/de/$sourcefile";
- my $hash = "53e58f4f5b5c2930beee74a7681fed92";
- my $outfile = "dvb-ttusb-dec-2540t.fw";
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
-
- checkstandard();
-
- wgetfile($sourcefile, $url);
- unzip($sourcefile, $tmpdir);
- verify("$tmpdir/software/OEM/STB/App/Boot/STB_PC_X.bin", $hash);
- copy("$tmpdir/software/OEM/STB/App/Boot/STB_PC_X.bin", $outfile);
-
- $outfile;
-}
-
-sub dec3000s {
- my $sourcefile = "dec217g.exe";
- my $url = "http://hauppauge.lightpath.net/de/$sourcefile";
- my $hash = "b013ececea83f4d6d8d2a29ac7c1b448";
- my $outfile = "dvb-ttusb-dec-3000s.fw";
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
-
- checkstandard();
-
- wgetfile($sourcefile, $url);
- unzip($sourcefile, $tmpdir);
- verify("$tmpdir/software/OEM/STB/App/Boot/STB_PC_S.bin", $hash);
- copy("$tmpdir/software/OEM/STB/App/Boot/STB_PC_S.bin", $outfile);
-
- $outfile;
-}
-sub opera1{
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 0);
-
- checkstandard();
- my $fwfile1="dvb-usb-opera1-fpga-01.fw";
- my $fwfile2="dvb-usb-opera-01.fw";
- extract("2830SCap2.sys", 0x62e8, 55024, "$tmpdir/opera1-fpga.fw");
- extract("2830SLoad2.sys",0x3178,0x3685-0x3178,"$tmpdir/fw1part1");
- extract("2830SLoad2.sys",0x0980,0x3150-0x0980,"$tmpdir/fw1part2");
- delzero("$tmpdir/fw1part1","$tmpdir/fw1part1-1");
- delzero("$tmpdir/fw1part2","$tmpdir/fw1part2-1");
- verify("$tmpdir/fw1part1-1","5e0909858fdf0b5b09ad48b9fe622e70");
- verify("$tmpdir/fw1part2-1","d6e146f321427e931df2c6fcadac37a1");
- verify("$tmpdir/opera1-fpga.fw","0f8133f5e9051f5f3c1928f7e5a1b07d");
-
- my $RES1="\x01\x92\x7f\x00\x01\x00";
- my $RES0="\x01\x92\x7f\x00\x00\x00";
- my $DAT1="\x01\x00\xe6\x00\x01\x00";
- my $DAT0="\x01\x00\xe6\x00\x00\x00";
- open FW,">$tmpdir/opera.fw";
- print FW "$RES1";
- print FW "$DAT1";
- print FW "$RES1";
- print FW "$DAT1";
- appendfile(FW,"$tmpdir/fw1part1-1");
- print FW "$RES0";
- print FW "$DAT0";
- print FW "$RES1";
- print FW "$DAT1";
- appendfile(FW,"$tmpdir/fw1part2-1");
- print FW "$RES1";
- print FW "$DAT1";
- print FW "$RES0";
- print FW "$DAT0";
- copy ("$tmpdir/opera1-fpga.fw",$fwfile1);
- copy ("$tmpdir/opera.fw",$fwfile2);
-
- $fwfile1.",".$fwfile2;
-}
-sub vp7041 {
- my $sourcefile = "TwinhanDTV2.608a.zip";
- my $url = "http://www.twinhan.com/files/AW/Software/$sourcefile";
- my $hash = "e88c9372d1f66609a3e7b072c53fbcfe";
- my $outfile = "dvb-vp7041-2.422.fw";
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
-
- checkstandard();
-
- wgetfile($sourcefile, $url);
- unzip($sourcefile, $tmpdir);
- extract("$tmpdir/TwinhanDTV2.608a/Drivers/7041/WinXP/UDTTload.sys", 12503, 3036, "$tmpdir/fwtmp1");
- extract("$tmpdir/TwinhanDTV2.608a/Drivers/7041/WinXP/UDTTload.sys", 2207, 10274, "$tmpdir/fwtmp2");
-
- my $CMD = "\000\001\000\222\177\000";
- my $PAD = "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000";
- my ($FW);
- open $FW, ">$tmpdir/fwtmp3";
- print $FW "$CMD\001$PAD";
- print $FW "$CMD\001$PAD";
- appendfile($FW, "$tmpdir/fwtmp1");
- print $FW "$CMD\000$PAD";
- print $FW "$CMD\001$PAD";
- appendfile($FW, "$tmpdir/fwtmp2");
- print $FW "$CMD\001$PAD";
- print $FW "$CMD\000$PAD";
- close($FW);
-
- verify("$tmpdir/fwtmp3", $hash);
- copy("$tmpdir/fwtmp3", $outfile);
-
- $outfile;
-}
-
-sub dibusb {
- my $url = "http://www.linuxtv.org/downloads/firmware/dvb-usb-dibusb-5.0.0.11.fw";
- my $outfile = "dvb-dibusb-5.0.0.11.fw";
- my $hash = "fa490295a527360ca16dcdf3224ca243";
-
- checkstandard();
-
- wgetfile($outfile, $url);
- verify($outfile,$hash);
-
- $outfile;
-}
-
-sub nxt2002 {
- my $sourcefile = "Technisat_DVB-PC_4_4_COMPACT.zip";
- my $url = "http://www.bbti.us/download/windows/$sourcefile";
- my $hash = "476befae8c7c1bb9648954060b1eec1f";
- my $outfile = "dvb-fe-nxt2002.fw";
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
-
- checkstandard();
-
- wgetfile($sourcefile, $url);
- unzip($sourcefile, $tmpdir);
- verify("$tmpdir/SkyNET.sys", $hash);
- extract("$tmpdir/SkyNET.sys", 331624, 5908, $outfile);
-
- $outfile;
-}
-
-sub nxt2004 {
- my $sourcefile = "AVerTVHD_MCE_A180_Drv_v1.2.2.16.zip";
- my $url = "http://www.avermedia-usa.com/support/Drivers/$sourcefile";
- my $hash = "111cb885b1e009188346d72acfed024c";
- my $outfile = "dvb-fe-nxt2004.fw";
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
-
- checkstandard();
-
- wgetfile($sourcefile, $url);
- unzip($sourcefile, $tmpdir);
- verify("$tmpdir/3xHybrid.sys", $hash);
- extract("$tmpdir/3xHybrid.sys", 465304, 9584, $outfile);
-
- $outfile;
-}
-
-sub or51211 {
- my $fwfile = "dvb-fe-or51211.fw";
- my $url = "http://linuxtv.org/downloads/firmware/$fwfile";
- my $hash = "d830949c771a289505bf9eafc225d491";
-
- checkstandard();
-
- wgetfile($fwfile, $url);
- verify($fwfile, $hash);
-
- $fwfile;
-}
-
-sub cx231xx {
- my $fwfile = "v4l-cx231xx-avcore-01.fw";
- my $url = "http://linuxtv.org/downloads/firmware/$fwfile";
- my $hash = "7d3bb956dc9df0eafded2b56ba57cc42";
-
- checkstandard();
-
- wgetfile($fwfile, $url);
- verify($fwfile, $hash);
-
- $fwfile;
-}
-
-sub cx18 {
- my $url = "http://linuxtv.org/downloads/firmware/";
-
- my %files = (
- 'v4l-cx23418-apu.fw' => '588f081b562f5c653a3db1ad8f65939a',
- 'v4l-cx23418-cpu.fw' => 'b6c7ed64bc44b1a6e0840adaeac39d79',
- 'v4l-cx23418-dig.fw' => '95bc688d3e7599fd5800161e9971cc55',
- );
-
- checkstandard();
-
- my $allfiles;
- foreach my $fwfile (keys %files) {
- wgetfile($fwfile, "$url/$fwfile");
- verify($fwfile, $files{$fwfile});
- $allfiles .= " $fwfile";
- }
-
- $allfiles =~ s/^\s//;
-
- $allfiles;
-}
-
-sub mpc718 {
- my $archive = 'Yuan MPC718 TV Tuner Card 2.13.10.1016.zip';
- my $url = "ftp://ftp.work.acer-euro.com/desktop/aspire_idea510/vista/Drivers/$archive";
- my $fwfile = "dvb-cx18-mpc718-mt352.fw";
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
-
- checkstandard();
- wgetfile($archive, $url);
- unzip($archive, $tmpdir);
-
- my $sourcefile = "$tmpdir/Yuan MPC718 TV Tuner Card 2.13.10.1016/mpc718_32bit/yuanrap.sys";
- my $found = 0;
-
- open IN, '<', $sourcefile or die "Couldn't open $sourcefile to extract $fwfile data\n";
- binmode IN;
- open OUT, '>', $fwfile;
- binmode OUT;
- {
- # Block scope because we change the line terminator variable $/
- my $prevlen = 0;
- my $currlen;
-
- # Buried in the data segment are 3 runs of almost identical
- # register-value pairs that end in 0x5d 0x01 which is a "TUNER GO"
- # command for the MT352.
- # Pull out the middle run (because it's easy) of register-value
- # pairs to make the "firmware" file.
-
- local $/ = "\x5d\x01"; # MT352 "TUNER GO"
-
- while (<IN>) {
- $currlen = length($_);
- if ($prevlen == $currlen && $currlen <= 64) {
- chop; chop; # Get rid of "TUNER GO"
- s/^\0\0//; # get rid of leading 00 00 if it's there
- printf OUT "$_";
- $found = 1;
- last;
- }
- $prevlen = $currlen;
- }
- }
- close OUT;
- close IN;
- if (!$found) {
- unlink $fwfile;
- die "Couldn't find valid register-value sequence in $sourcefile for $fwfile\n";
- }
- $fwfile;
-}
-
-sub cx23885 {
- my $url = "http://linuxtv.org/downloads/firmware/";
-
- my %files = (
- 'v4l-cx23885-avcore-01.fw' => 'a9f8f5d901a7fb42f552e1ee6384f3bb',
- 'v4l-cx23885-enc.fw' => 'a9f8f5d901a7fb42f552e1ee6384f3bb',
- );
-
- checkstandard();
-
- my $allfiles;
- foreach my $fwfile (keys %files) {
- wgetfile($fwfile, "$url/$fwfile");
- verify($fwfile, $files{$fwfile});
- $allfiles .= " $fwfile";
- }
-
- $allfiles =~ s/^\s//;
-
- $allfiles;
-}
-
-sub pvrusb2 {
- my $url = "http://linuxtv.org/downloads/firmware/";
-
- my %files = (
- 'v4l-cx25840.fw' => 'dadb79e9904fc8af96e8111d9cb59320',
- );
-
- checkstandard();
-
- my $allfiles;
- foreach my $fwfile (keys %files) {
- wgetfile($fwfile, "$url/$fwfile");
- verify($fwfile, $files{$fwfile});
- $allfiles .= " $fwfile";
- }
-
- $allfiles =~ s/^\s//;
-
- $allfiles;
-}
-
-sub or51132_qam {
- my $fwfile = "dvb-fe-or51132-qam.fw";
- my $url = "http://linuxtv.org/downloads/firmware/$fwfile";
- my $hash = "7702e8938612de46ccadfe9b413cb3b5";
-
- checkstandard();
-
- wgetfile($fwfile, $url);
- verify($fwfile, $hash);
-
- $fwfile;
-}
-
-sub or51132_vsb {
- my $fwfile = "dvb-fe-or51132-vsb.fw";
- my $url = "http://linuxtv.org/downloads/firmware/$fwfile";
- my $hash = "c16208e02f36fc439a557ad4c613364a";
-
- checkstandard();
-
- wgetfile($fwfile, $url);
- verify($fwfile, $hash);
-
- $fwfile;
-}
-
-sub bluebird {
- my $url = "http://www.linuxtv.org/download/dvb/firmware/dvb-usb-bluebird-01.fw";
- my $outfile = "dvb-usb-bluebird-01.fw";
- my $hash = "658397cb9eba9101af9031302671f49d";
-
- checkstandard();
-
- wgetfile($outfile, $url);
- verify($outfile,$hash);
-
- $outfile;
-}
-
-# ---------------------------------------------------------------
-# Utilities
-
-sub checkstandard {
- if (system("which unzip > /dev/null 2>&1")) {
- die "This firmware requires the unzip command - see ftp://ftp.info-zip.org/pub/infozip/UnZip.html\n";
- }
- if (system("which md5sum > /dev/null 2>&1")) {
- die "This firmware requires the md5sum command - see http://www.gnu.org/software/coreutils/\n";
- }
- if (system("which wget > /dev/null 2>&1")) {
- die "This firmware requires the wget command - see http://wget.sunsite.dk/\n";
- }
-}
-
-sub checkunshield {
- if (system("which unshield > /dev/null 2>&1")) {
- die "This firmware requires the unshield command - see https://sourceforge.net/projects/synce/\n";
- }
-}
-
-sub wgetfile {
- my ($sourcefile, $url) = @_;
-
- if (! -f $sourcefile) {
- system("wget -O \"$sourcefile\" \"$url\"") and die "wget failed - unable to download firmware";
- }
-}
-
-sub unzip {
- my ($sourcefile, $todir) = @_;
-
- $status = system("unzip -q -o -d \"$todir\" \"$sourcefile\" 2>/dev/null" );
- if ((($status >> 8) > 2) || (($status & 0xff) != 0)) {
- die ("unzip failed - unable to extract firmware");
- }
-}
-
-sub unshield {
- my ($sourcefile, $todir) = @_;
-
- system("unshield x -d \"$todir\" \"$sourcefile\" > /dev/null" ) and die ("unshield failed - unable to extract firmware");
-}
-
-sub verify {
- my ($filename, $hash) = @_;
- my ($testhash);
-
- open(CMD, "md5sum \"$filename\"|");
- $testhash = <CMD>;
- $testhash =~ /([a-zA-Z0-9]*)/;
- $testhash = $1;
- close CMD;
- die "Hash of extracted file does not match!\n" if ($testhash ne $hash);
-}
-
-sub copy {
- my ($from, $to) = @_;
-
- system("cp -f \"$from\" \"$to\"") and die ("cp failed");
-}
-
-sub extract {
- my ($infile, $offset, $length, $outfile) = @_;
- my ($chunklength, $buf, $rcount);
-
- open INFILE, "<$infile";
- open OUTFILE, ">$outfile";
- sysseek(INFILE, $offset, SEEK_SET);
- while($length > 0) {
- # Calc chunk size
- $chunklength = 2048;
- $chunklength = $length if ($chunklength > $length);
-
- $rcount = sysread(INFILE, $buf, $chunklength);
- die "Ran out of data\n" if ($rcount != $chunklength);
- syswrite(OUTFILE, $buf);
- $length -= $rcount;
- }
- close INFILE;
- close OUTFILE;
-}
-
-sub appendfile {
- my ($FH, $infile) = @_;
- my ($buf);
-
- open INFILE, "<$infile";
- while(1) {
- $rcount = sysread(INFILE, $buf, 2048);
- last if ($rcount == 0);
- print $FH $buf;
- }
- close(INFILE);
-}
-
-sub delzero{
- my ($infile,$outfile) =@_;
-
- open INFILE,"<$infile";
- open OUTFILE,">$outfile";
- while (1){
- $rcount=sysread(INFILE,$buf,22);
- $len=ord(substr($buf,0,1));
- print OUTFILE substr($buf,0,1);
- print OUTFILE substr($buf,2,$len+3);
- last if ($rcount<1);
- printf OUTFILE "%c",0;
-#print $len." ".length($buf)."\n";
-
- }
- close(INFILE);
- close(OUTFILE);
-}
-
-sub syntax() {
- print STDERR "syntax: get_dvb_firmware <component>\n";
- print STDERR "Supported components:\n";
- for($i=0; $i < scalar(@components); $i++) {
- print STDERR "\t" . $components[$i] . "\n";
- }
- exit(1);
-}
diff --git a/media-tv/linuxtv-dvb-firmware/files/get_dvb_firmware-2009.09.19 b/media-tv/linuxtv-dvb-firmware/files/get_dvb_firmware-2009.09.19
deleted file mode 100644
index 6ff79a1a3498..000000000000
--- a/media-tv/linuxtv-dvb-firmware/files/get_dvb_firmware-2009.09.19
+++ /dev/null
@@ -1,674 +0,0 @@
-#!/usr/bin/perl
-# DVB firmware extractor
-#
-# (c) 2004 Andrew de Quincey
-#
-# 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 of the License, 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 this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-use File::Temp qw/ tempdir /;
-use IO::Handle;
-
-@components = ( "sp8870", "sp887x", "tda10045", "tda10046",
- "tda10046lifeview", "av7110", "dec2000t", "dec2540t",
- "dec3000s", "vp7041", "dibusb", "nxt2002", "nxt2004",
- "or51211", "or51132_qam", "or51132_vsb", "bluebird",
- "opera1", "cx231xx", "cx18", "cx23885", "pvrusb2", "mpc718",
- "af9015");
-
-# Check args
-syntax() if (scalar(@ARGV) != 1);
-$cid = $ARGV[0];
-
-# Do it!
-for ($i=0; $i < scalar(@components); $i++) {
- if ($cid eq $components[$i]) {
- $outfile = eval($cid);
- die $@ if $@;
- print STDERR <<EOF;
-Firmware(s) $outfile extracted successfully.
-Now copy it(they) to either /usr/lib/hotplug/firmware or /lib/firmware
-(depending on configuration of firmware hotplug).
-EOF
- exit(0);
- }
-}
-
-# If we get here, it wasn't found
-print STDERR "Unknown component \"$cid\"\n";
-syntax();
-
-
-
-
-# ---------------------------------------------------------------
-# Firmware-specific extraction subroutines
-
-sub sp8870 {
- my $sourcefile = "tt_Premium_217g.zip";
- my $url = "http://2.download.softwarepatch.pl/1619edb0dcb493dd5337b94a1f79c3f6/$sourcefile";
- my $hash = "53970ec17a538945a6d8cb608a7b3899";
- my $outfile = "dvb-fe-sp8870.fw";
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
-
- checkstandard();
-
- wgetfile($sourcefile, $url);
- unzip($sourcefile, $tmpdir);
- verify("$tmpdir/software/OEM/HE/App/boot/SC_MAIN.MC", $hash);
- copy("$tmpdir/software/OEM/HE/App/boot/SC_MAIN.MC", $outfile);
-
- $outfile;
-}
-
-sub sp887x {
- my $sourcefile = "Dvbt1.3.57.6.zip";
- my $url = "http://www.avermedia.com/software/$sourcefile";
- my $cabfile = "DVBT Net Ver1.3.57.6/disk1/data1.cab";
- my $hash = "237938d53a7f834c05c42b894ca68ac3";
- my $outfile = "dvb-fe-sp887x.fw";
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
-
- checkstandard();
- checkunshield();
-
- wgetfile($sourcefile, $url);
- unzip($sourcefile, $tmpdir);
- unshield("$tmpdir/$cabfile", $tmpdir);
- verify("$tmpdir/ZEnglish/sc_main.mc", $hash);
- copy("$tmpdir/ZEnglish/sc_main.mc", $outfile);
-
- $outfile;
-}
-
-sub tda10045 {
- my $sourcefile = "tt_budget_217g.zip";
- my $url = "http://www.technotrend.de/new/217g/$sourcefile";
- my $hash = "2105fd5bf37842fbcdfa4bfd58f3594a";
- my $outfile = "dvb-fe-tda10045.fw";
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
-
- checkstandard();
-
- wgetfile($sourcefile, $url);
- unzip($sourcefile, $tmpdir);
- extract("$tmpdir/software/OEM/PCI/App/ttlcdacc.dll", 0x37ef9, 30555, "$tmpdir/fwtmp");
- verify("$tmpdir/fwtmp", $hash);
- copy("$tmpdir/fwtmp", $outfile);
-
- $outfile;
-}
-
-sub tda10046 {
- my $sourcefile = "TT_PCI_2.19h_28_11_2006.zip";
- my $url = "http://www.tt-download.com/download/updates/219/$sourcefile";
- my $hash = "6a7e1e2f2644b162ff0502367553c72d";
- my $outfile = "dvb-fe-tda10046.fw";
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
-
- checkstandard();
-
- wgetfile($sourcefile, $url);
- unzip($sourcefile, $tmpdir);
- extract("$tmpdir/TT_PCI_2.19h_28_11_2006/software/OEM/PCI/App/ttlcdacc.dll", 0x65389, 24478, "$tmpdir/fwtmp");
- verify("$tmpdir/fwtmp", $hash);
- copy("$tmpdir/fwtmp", $outfile);
-
- $outfile;
-}
-
-sub tda10046lifeview {
- my $sourcefile = "7%5Cdrv_2.11.02.zip";
- my $url = "http://www.lifeview.hk/dbimages/document/$sourcefile";
- my $hash = "1ea24dee4eea8fe971686981f34fd2e0";
- my $outfile = "dvb-fe-tda10046.fw";
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
-
- checkstandard();
-
- wgetfile($sourcefile, $url);
- unzip($sourcefile, $tmpdir);
- extract("$tmpdir/LVHybrid.sys", 0x8b088, 24602, "$tmpdir/fwtmp");
- verify("$tmpdir/fwtmp", $hash);
- copy("$tmpdir/fwtmp", $outfile);
-
- $outfile;
-}
-
-sub av7110 {
- my $sourcefile = "dvb-ttpci-01.fw-261d";
- my $url = "http://www.linuxtv.org/downloads/firmware/$sourcefile";
- my $hash = "603431b6259715a8e88f376a53b64e2f";
- my $outfile = "dvb-ttpci-01.fw";
-
- checkstandard();
-
- wgetfile($sourcefile, $url);
- verify($sourcefile, $hash);
- copy($sourcefile, $outfile);
-
- $outfile;
-}
-
-sub dec2000t {
- my $sourcefile = "dec217g.exe";
- my $url = "http://hauppauge.lightpath.net/de/$sourcefile";
- my $hash = "bd86f458cee4a8f0a8ce2d20c66215a9";
- my $outfile = "dvb-ttusb-dec-2000t.fw";
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
-
- checkstandard();
-
- wgetfile($sourcefile, $url);
- unzip($sourcefile, $tmpdir);
- verify("$tmpdir/software/OEM/STB/App/Boot/STB_PC_T.bin", $hash);
- copy("$tmpdir/software/OEM/STB/App/Boot/STB_PC_T.bin", $outfile);
-
- $outfile;
-}
-
-sub dec2540t {
- my $sourcefile = "dec217g.exe";
- my $url = "http://hauppauge.lightpath.net/de/$sourcefile";
- my $hash = "53e58f4f5b5c2930beee74a7681fed92";
- my $outfile = "dvb-ttusb-dec-2540t.fw";
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
-
- checkstandard();
-
- wgetfile($sourcefile, $url);
- unzip($sourcefile, $tmpdir);
- verify("$tmpdir/software/OEM/STB/App/Boot/STB_PC_X.bin", $hash);
- copy("$tmpdir/software/OEM/STB/App/Boot/STB_PC_X.bin", $outfile);
-
- $outfile;
-}
-
-sub dec3000s {
- my $sourcefile = "dec217g.exe";
- my $url = "http://hauppauge.lightpath.net/de/$sourcefile";
- my $hash = "b013ececea83f4d6d8d2a29ac7c1b448";
- my $outfile = "dvb-ttusb-dec-3000s.fw";
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
-
- checkstandard();
-
- wgetfile($sourcefile, $url);
- unzip($sourcefile, $tmpdir);
- verify("$tmpdir/software/OEM/STB/App/Boot/STB_PC_S.bin", $hash);
- copy("$tmpdir/software/OEM/STB/App/Boot/STB_PC_S.bin", $outfile);
-
- $outfile;
-}
-sub opera1{
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 0);
-
- checkstandard();
- my $fwfile1="dvb-usb-opera1-fpga-01.fw";
- my $fwfile2="dvb-usb-opera-01.fw";
- extract("2830SCap2.sys", 0x62e8, 55024, "$tmpdir/opera1-fpga.fw");
- extract("2830SLoad2.sys",0x3178,0x3685-0x3178,"$tmpdir/fw1part1");
- extract("2830SLoad2.sys",0x0980,0x3150-0x0980,"$tmpdir/fw1part2");
- delzero("$tmpdir/fw1part1","$tmpdir/fw1part1-1");
- delzero("$tmpdir/fw1part2","$tmpdir/fw1part2-1");
- verify("$tmpdir/fw1part1-1","5e0909858fdf0b5b09ad48b9fe622e70");
- verify("$tmpdir/fw1part2-1","d6e146f321427e931df2c6fcadac37a1");
- verify("$tmpdir/opera1-fpga.fw","0f8133f5e9051f5f3c1928f7e5a1b07d");
-
- my $RES1="\x01\x92\x7f\x00\x01\x00";
- my $RES0="\x01\x92\x7f\x00\x00\x00";
- my $DAT1="\x01\x00\xe6\x00\x01\x00";
- my $DAT0="\x01\x00\xe6\x00\x00\x00";
- open FW,">$tmpdir/opera.fw";
- print FW "$RES1";
- print FW "$DAT1";
- print FW "$RES1";
- print FW "$DAT1";
- appendfile(FW,"$tmpdir/fw1part1-1");
- print FW "$RES0";
- print FW "$DAT0";
- print FW "$RES1";
- print FW "$DAT1";
- appendfile(FW,"$tmpdir/fw1part2-1");
- print FW "$RES1";
- print FW "$DAT1";
- print FW "$RES0";
- print FW "$DAT0";
- copy ("$tmpdir/opera1-fpga.fw",$fwfile1);
- copy ("$tmpdir/opera.fw",$fwfile2);
-
- $fwfile1.",".$fwfile2;
-}
-
-sub vp7041 {
- my $sourcefile = "TwinhanDTV2.608a.zip";
- my $url = "http://www.twinhan.com/files/AW/Software/$sourcefile";
- my $hash = "e88c9372d1f66609a3e7b072c53fbcfe";
- my $outfile = "dvb-vp7041-2.422.fw";
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
-
- checkstandard();
-
- wgetfile($sourcefile, $url);
- unzip($sourcefile, $tmpdir);
- extract("$tmpdir/TwinhanDTV2.608a/Drivers/7041/WinXP/UDTTload.sys", 12503, 3036, "$tmpdir/fwtmp1");
- extract("$tmpdir/TwinhanDTV2.608a/Drivers/7041/WinXP/UDTTload.sys", 2207, 10274, "$tmpdir/fwtmp2");
-
- my $CMD = "\000\001\000\222\177\000";
- my $PAD = "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000";
- my ($FW);
- open $FW, ">$tmpdir/fwtmp3";
- print $FW "$CMD\001$PAD";
- print $FW "$CMD\001$PAD";
- appendfile($FW, "$tmpdir/fwtmp1");
- print $FW "$CMD\000$PAD";
- print $FW "$CMD\001$PAD";
- appendfile($FW, "$tmpdir/fwtmp2");
- print $FW "$CMD\001$PAD";
- print $FW "$CMD\000$PAD";
- close($FW);
-
- verify("$tmpdir/fwtmp3", $hash);
- copy("$tmpdir/fwtmp3", $outfile);
-
- $outfile;
-}
-
-sub dibusb {
- my $url = "http://www.linuxtv.org/downloads/firmware/dvb-usb-dibusb-5.0.0.11.fw";
- my $outfile = "dvb-dibusb-5.0.0.11.fw";
- my $hash = "fa490295a527360ca16dcdf3224ca243";
-
- checkstandard();
-
- wgetfile($outfile, $url);
- verify($outfile,$hash);
-
- $outfile;
-}
-
-sub nxt2002 {
- my $sourcefile = "Technisat_DVB-PC_4_4_COMPACT.zip";
- my $url = "http://www.bbti.us/download/windows/$sourcefile";
- my $hash = "476befae8c7c1bb9648954060b1eec1f";
- my $outfile = "dvb-fe-nxt2002.fw";
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
-
- checkstandard();
-
- wgetfile($sourcefile, $url);
- unzip($sourcefile, $tmpdir);
- verify("$tmpdir/SkyNET.sys", $hash);
- extract("$tmpdir/SkyNET.sys", 331624, 5908, $outfile);
-
- $outfile;
-}
-
-sub nxt2004 {
- my $sourcefile = "AVerTVHD_MCE_A180_Drv_v1.2.2.16.zip";
- my $url = "http://www.avermedia-usa.com/support/Drivers/$sourcefile";
- my $hash = "111cb885b1e009188346d72acfed024c";
- my $outfile = "dvb-fe-nxt2004.fw";
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
-
- checkstandard();
-
- wgetfile($sourcefile, $url);
- unzip($sourcefile, $tmpdir);
- verify("$tmpdir/3xHybrid.sys", $hash);
- extract("$tmpdir/3xHybrid.sys", 465304, 9584, $outfile);
-
- $outfile;
-}
-
-sub or51211 {
- my $fwfile = "dvb-fe-or51211.fw";
- my $url = "http://linuxtv.org/downloads/firmware/$fwfile";
- my $hash = "d830949c771a289505bf9eafc225d491";
-
- checkstandard();
-
- wgetfile($fwfile, $url);
- verify($fwfile, $hash);
-
- $fwfile;
-}
-
-sub cx231xx {
- my $fwfile = "v4l-cx231xx-avcore-01.fw";
- my $url = "http://linuxtv.org/downloads/firmware/$fwfile";
- my $hash = "7d3bb956dc9df0eafded2b56ba57cc42";
-
- checkstandard();
-
- wgetfile($fwfile, $url);
- verify($fwfile, $hash);
-
- $fwfile;
-}
-
-sub cx18 {
- my $url = "http://linuxtv.org/downloads/firmware/";
-
- my %files = (
- 'v4l-cx23418-apu.fw' => '588f081b562f5c653a3db1ad8f65939a',
- 'v4l-cx23418-cpu.fw' => 'b6c7ed64bc44b1a6e0840adaeac39d79',
- 'v4l-cx23418-dig.fw' => '95bc688d3e7599fd5800161e9971cc55',
- );
-
- checkstandard();
-
- my $allfiles;
- foreach my $fwfile (keys %files) {
- wgetfile($fwfile, "$url/$fwfile");
- verify($fwfile, $files{$fwfile});
- $allfiles .= " $fwfile";
- }
-
- $allfiles =~ s/^\s//;
-
- $allfiles;
-}
-
-sub mpc718 {
- my $archive = 'Yuan MPC718 TV Tuner Card 2.13.10.1016.zip';
- my $url = "ftp://ftp.work.acer-euro.com/desktop/aspire_idea510/vista/Drivers/$archive";
- my $fwfile = "dvb-cx18-mpc718-mt352.fw";
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
-
- checkstandard();
- wgetfile($archive, $url);
- unzip($archive, $tmpdir);
-
- my $sourcefile = "$tmpdir/Yuan MPC718 TV Tuner Card 2.13.10.1016/mpc718_32bit/yuanrap.sys";
- my $found = 0;
-
- open IN, '<', $sourcefile or die "Couldn't open $sourcefile to extract $fwfile data\n";
- binmode IN;
- open OUT, '>', $fwfile;
- binmode OUT;
- {
- # Block scope because we change the line terminator variable $/
- my $prevlen = 0;
- my $currlen;
-
- # Buried in the data segment are 3 runs of almost identical
- # register-value pairs that end in 0x5d 0x01 which is a "TUNER GO"
- # command for the MT352.
- # Pull out the middle run (because it's easy) of register-value
- # pairs to make the "firmware" file.
-
- local $/ = "\x5d\x01"; # MT352 "TUNER GO"
-
- while (<IN>) {
- $currlen = length($_);
- if ($prevlen == $currlen && $currlen <= 64) {
- chop; chop; # Get rid of "TUNER GO"
- s/^\0\0//; # get rid of leading 00 00 if it's there
- printf OUT "$_";
- $found = 1;
- last;
- }
- $prevlen = $currlen;
- }
- }
- close OUT;
- close IN;
- if (!$found) {
- unlink $fwfile;
- die "Couldn't find valid register-value sequence in $sourcefile for $fwfile\n";
- }
- $fwfile;
-}
-
-sub cx23885 {
- my $url = "http://linuxtv.org/downloads/firmware/";
-
- my %files = (
- 'v4l-cx23885-avcore-01.fw' => 'a9f8f5d901a7fb42f552e1ee6384f3bb',
- 'v4l-cx23885-enc.fw' => 'a9f8f5d901a7fb42f552e1ee6384f3bb',
- );
-
- checkstandard();
-
- my $allfiles;
- foreach my $fwfile (keys %files) {
- wgetfile($fwfile, "$url/$fwfile");
- verify($fwfile, $files{$fwfile});
- $allfiles .= " $fwfile";
- }
-
- $allfiles =~ s/^\s//;
-
- $allfiles;
-}
-
-sub pvrusb2 {
- my $url = "http://linuxtv.org/downloads/firmware/";
-
- my %files = (
- 'v4l-cx25840.fw' => 'dadb79e9904fc8af96e8111d9cb59320',
- );
-
- checkstandard();
-
- my $allfiles;
- foreach my $fwfile (keys %files) {
- wgetfile($fwfile, "$url/$fwfile");
- verify($fwfile, $files{$fwfile});
- $allfiles .= " $fwfile";
- }
-
- $allfiles =~ s/^\s//;
-
- $allfiles;
-}
-
-sub or51132_qam {
- my $fwfile = "dvb-fe-or51132-qam.fw";
- my $url = "http://linuxtv.org/downloads/firmware/$fwfile";
- my $hash = "7702e8938612de46ccadfe9b413cb3b5";
-
- checkstandard();
-
- wgetfile($fwfile, $url);
- verify($fwfile, $hash);
-
- $fwfile;
-}
-
-sub or51132_vsb {
- my $fwfile = "dvb-fe-or51132-vsb.fw";
- my $url = "http://linuxtv.org/downloads/firmware/$fwfile";
- my $hash = "c16208e02f36fc439a557ad4c613364a";
-
- checkstandard();
-
- wgetfile($fwfile, $url);
- verify($fwfile, $hash);
-
- $fwfile;
-}
-
-sub bluebird {
- my $url = "http://www.linuxtv.org/download/dvb/firmware/dvb-usb-bluebird-01.fw";
- my $outfile = "dvb-usb-bluebird-01.fw";
- my $hash = "658397cb9eba9101af9031302671f49d";
-
- checkstandard();
-
- wgetfile($outfile, $url);
- verify($outfile,$hash);
-
- $outfile;
-}
-
-sub af9015 {
- my $sourcefile = "download.ashx?file=57";
- my $url = "http://www.ite.com.tw/EN/Services/$sourcefile";
- my $hash = "ff5b096ed47c080870eacdab2de33ad6";
- my $outfile = "dvb-usb-af9015.fw";
- my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
- my $fwoffset = 0x22708;
- my $fwlength = 18225;
- my ($chunklength, $buf, $rcount);
-
- checkstandard();
-
- wgetfile($sourcefile, $url);
- unzip($sourcefile, $tmpdir);
- verify("$tmpdir/Driver/Files/AF15BDA.sys", $hash);
-
- open INFILE, '<', "$tmpdir/Driver/Files/AF15BDA.sys";
- open OUTFILE, '>', $outfile;
-
- sysseek(INFILE, $fwoffset, SEEK_SET);
- while($fwlength > 0) {
- $chunklength = 55;
- $chunklength = $fwlength if ($chunklength > $fwlength);
- $rcount = sysread(INFILE, $buf, $chunklength);
- die "Ran out of data\n" if ($rcount != $chunklength);
- syswrite(OUTFILE, $buf);
- sysread(INFILE, $buf, 8);
- $fwlength -= $rcount + 8;
- }
-
- close OUTFILE;
- close INFILE;
-}
-
-# ---------------------------------------------------------------
-# Utilities
-
-sub checkstandard {
- if (system("which unzip > /dev/null 2>&1")) {
- die "This firmware requires the unzip command - see ftp://ftp.info-zip.org/pub/infozip/UnZip.html\n";
- }
- if (system("which md5sum > /dev/null 2>&1")) {
- die "This firmware requires the md5sum command - see http://www.gnu.org/software/coreutils/\n";
- }
- if (system("which wget > /dev/null 2>&1")) {
- die "This firmware requires the wget command - see http://wget.sunsite.dk/\n";
- }
-}
-
-sub checkunshield {
- if (system("which unshield > /dev/null 2>&1")) {
- die "This firmware requires the unshield command - see https://sourceforge.net/projects/synce/\n";
- }
-}
-
-sub wgetfile {
- my ($sourcefile, $url) = @_;
-
- if (! -f $sourcefile) {
- system("wget -O \"$sourcefile\" \"$url\"") and die "wget failed - unable to download firmware";
- }
-}
-
-sub unzip {
- my ($sourcefile, $todir) = @_;
-
- $status = system("unzip -q -o -d \"$todir\" \"$sourcefile\" 2>/dev/null" );
- if ((($status >> 8) > 2) || (($status & 0xff) != 0)) {
- die ("unzip failed - unable to extract firmware");
- }
-}
-
-sub unshield {
- my ($sourcefile, $todir) = @_;
-
- system("unshield x -d \"$todir\" \"$sourcefile\" > /dev/null" ) and die ("unshield failed - unable to extract firmware");
-}
-
-sub verify {
- my ($filename, $hash) = @_;
- my ($testhash);
-
- open(CMD, "md5sum \"$filename\"|");
- $testhash = <CMD>;
- $testhash =~ /([a-zA-Z0-9]*)/;
- $testhash = $1;
- close CMD;
- die "Hash of extracted file does not match!\n" if ($testhash ne $hash);
-}
-
-sub copy {
- my ($from, $to) = @_;
-
- system("cp -f \"$from\" \"$to\"") and die ("cp failed");
-}
-
-sub extract {
- my ($infile, $offset, $length, $outfile) = @_;
- my ($chunklength, $buf, $rcount);
-
- open INFILE, "<$infile";
- open OUTFILE, ">$outfile";
- sysseek(INFILE, $offset, SEEK_SET);
- while($length > 0) {
- # Calc chunk size
- $chunklength = 2048;
- $chunklength = $length if ($chunklength > $length);
-
- $rcount = sysread(INFILE, $buf, $chunklength);
- die "Ran out of data\n" if ($rcount != $chunklength);
- syswrite(OUTFILE, $buf);
- $length -= $rcount;
- }
- close INFILE;
- close OUTFILE;
-}
-
-sub appendfile {
- my ($FH, $infile) = @_;
- my ($buf);
-
- open INFILE, "<$infile";
- while(1) {
- $rcount = sysread(INFILE, $buf, 2048);
- last if ($rcount == 0);
- print $FH $buf;
- }
- close(INFILE);
-}
-
-sub delzero{
- my ($infile,$outfile) =@_;
-
- open INFILE,"<$infile";
- open OUTFILE,">$outfile";
- while (1){
- $rcount=sysread(INFILE,$buf,22);
- $len=ord(substr($buf,0,1));
- print OUTFILE substr($buf,0,1);
- print OUTFILE substr($buf,2,$len+3);
- last if ($rcount<1);
- printf OUTFILE "%c",0;
-#print $len." ".length($buf)."\n";
-
- }
- close(INFILE);
- close(OUTFILE);
-}
-
-sub syntax() {
- print STDERR "syntax: get_dvb_firmware <component>\n";
- print STDERR "Supported components:\n";
- for($i=0; $i < scalar(@components); $i++) {
- print STDERR "\t" . $components[$i] . "\n";
- }
- exit(1);
-}
diff --git a/media-tv/linuxtv-dvb-firmware/linuxtv-dvb-firmware-2009.07.06-r1.ebuild b/media-tv/linuxtv-dvb-firmware/linuxtv-dvb-firmware-2009.07.06-r1.ebuild
deleted file mode 100644
index ecf1794898cf..000000000000
--- a/media-tv/linuxtv-dvb-firmware/linuxtv-dvb-firmware-2009.07.06-r1.ebuild
+++ /dev/null
@@ -1,343 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-DESCRIPTION="Firmware files needed for operation of some dvb-devices"
-HOMEPAGE="http://www.linuxtv.org"
-
-LICENSE="freedist ISC all-rights-reserved"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-RESTRICT="mirror bindist"
-
-DEPEND=""
-RDEPEND=""
-
-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}"
-# from https://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6-stable.git;a=history;f=Documentation/dvb/get_dvb_firmware
-
-FW_USE_FLAGS=(
-# packet
- "usb-a800"
- "dibusb-usb2"
- "usb-dtt200u"
- "usb-umt"
- "usb-vp702x"
- "usb-vp7045"
- "usb-wt220u"
- "dibusb-usb1"
- "or51211"
- "or51132"
- "or51132"
-# own URL
- "ttpci"
- "bcm3510"
- "usb-wt220u"
- "usb-wt220u"
- "usb-dib0700"
- "usb-af9015"
- "sp887x"
- "af9005"
- "cx231xx"
- "cx18"
- "cx18"
- "cx18"
- "cx23885"
- "cx23885"
- "pvrusb2"
- "usb-bluebird"
- "tda10045"
-# get_dvb_firmware
- "sp8870"
- "tda10046"
- "tda10046lifeview"
- "ttusb-dec"
- "ttusb-dec"
- "ttusb-dec"
- "opera1"
- "opera1"
- "vp7041"
- "nxt200x"
- "mpc718"
-)
-
-FW_FILES=(
-# packet
- "dvb-usb-avertv-a800-02.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-usb-dibusb-5.0.0.11.fw"
- "dvb-fe-or51211.fw"
- "dvb-fe-or51132-qam.fw"
- "dvb-fe-or51132-vsb.fw"
-# own URL
- "dvb-ttpci-01.fw"
- "dvb-fe-bcm3510-01.fw"
- "dvb-usb-wt220u-02.fw"
- "dvb-usb-wt220u-fc03.fw"
- "dvb-usb-dib0700-1.20.fw"
- "dvb-usb-af9015.fw"
- "dvb-fe-sp887x.fw"
- "af9005.fw"
- "v4l-cx231xx-avcore-01.fw"
- "v4l-cx23418-apu.fw"
- "v4l-cx23418-cpu.fw"
- "v4l-cx23418-dig.fw"
- "v4l-cx23885-avcore-01.fw"
- "v4l-cx23885-enc.fw"
- "v4l-cx25840.fw"
- "dvb-usb-bluebird-01.fw"
- "dvb-fe-tda10045.fw"
-# get_dvb_firmware
- "dvb-fe-sp8870.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-usb-opera1-fpga-01.fw"
- "dvb-usb-opera-01.fw"
- "dvb-vp7041-2.422.fw"
- "dvb-fe-nxt2004.fw"
- "dvb-cx18-mpc718-mt352.fw"
-)
-
-FW_GET_PARAMETER=(
-# packet
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
-# own URL
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
-# get_dvb_firmware
- "sp8870"
- "tda10046"
- "tda10046lifeview"
- "dec2000t"
- "dec2540t"
- "dec3000s"
- "opera1"
- "-"
- "vp7041"
- "nxt2004"
- "mpc718"
-)
-
-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}"
-# 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"
- "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://www.otit.fi/~crope/v4l-dvb/af9015/af9015_firmware_cutter/firmware_files/4.95.0/dvb-usb-af9015.fw"
- "http://peterdamen.com/dvb-fe-sp887x.fw"
- "http://ventoso.org/luca/af9005/af9005.fw"
- "http://linuxtv.org/downloads/firmware/v4l-cx231xx-avcore-01.fw"
- "http://linuxtv.org/downloads/firmware/v4l-cx23418-apu.fw"
- "http://linuxtv.org/downloads/firmware/v4l-cx23418-cpu.fw"
- "http://linuxtv.org/downloads/firmware/v4l-cx23418-dig.fw"
- "http://linuxtv.org/downloads/firmware/v4l-cx23885-avcore-01.fw"
- "http://linuxtv.org/downloads/firmware/v4l-cx23885-enc.fw"
- "http://linuxtv.org/downloads/firmware/v4l-cx25840.fw"
- "http://linuxtv.org/downloads/firmware/dvb-usb-bluebird-01.fw"
- "http://www.fireburn.co.uk/dvb-fe-tda10045.fw"
-# get_dvb_firmware
- "http://2.download.softwarepatch.pl/1619edb0dcb493dd5337b94a1f79c3f6/tt_Premium_217g.zip"
- "http://www.tt-download.com/download/updates/219/TT_PCI_2.19h_28_11_2006.zip"
- "http://www.lifeview.hk/dbimages/document/7%5Cdrv_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.informatik.uni-leipzig.de/~hlawit/dvb/2830SCap2.sys"
- "http://www.informatik.uni-leipzig.de/~hlawit/dvb/2830SLoad2.sys"
- "http://www.twinhan.com/files/AW/Software/TwinhanDTV2.608a.zip"
- "http://www.avermedia-usa.com/support/Drivers/AVerTVHD_MCE_A180_Drv_v1.2.2.16.zip"
- "ftp://ftp.work.acer-euro.com/desktop/aspire_idea510/vista/Drivers/Yuan%20MPC718%20TV%20Tuner%20Card%202.13.10.1016.zip"
-)
-
-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 firmwares extracted by 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}
- 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 has 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."
- fi
-
- if [[ -z ${DVB_CARDS} ]]; then
- elog
- elog "DVB_CARDS is not set, installing all available firmware files."
- elog "To save bandwidth please consider setting the DVB_CARDS variable"
- elog "in ${ROOT%/}/etc/make.conf. This way only the firmwares you own"
- elog "the hardware will be installed."
- fi
- # according to https://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 use dvb_cards_tda10046 && use 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."
- die "Conflicting values for DVB_CARDS set."
- fi
- elog
- 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
- elog "If you need another firmware file and want it included create a bug"
- elog "at bugs.gentoo.org."
- elog "In case some firmware sources are not fetchable please try again at"
- elog "a later time and if it still does not fetch report a bug. If there"
- elog "is no alternative source or an update to the firmware available we"
- elog "have to remove it from the ebuild and you are on your own."
-}
-
-src_unpack() {
- local distfile
-
- # link all downloaded files to ${S}
- for distfile in ${A}; do
- [[ -L ${distfile} ]] || ln -s ${DISTDIR}/${distfile} ${distfile}
- done
-
- # unpack firmware-packet
- if has ${PACKET_NAME} ${A}; then
- unpack ${PACKET_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
- if [[ -z ${DVB_CARDS} ]] || use dvb_cards_ttpci ; then
- mv dvb-ttpci-01.fw-fc2624 dvb-ttpci-01.fw
- fi
-
- local script_v=${PV}
-
- # 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
-}
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
deleted file mode 100644
index add8f5a856ca..000000000000
--- a/media-tv/linuxtv-dvb-firmware/linuxtv-dvb-firmware-2009.09.19.ebuild
+++ /dev/null
@@ -1,363 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-DESCRIPTION="Firmware files needed for operation of some dvb-devices"
-HOMEPAGE="http://www.linuxtv.org"
-
-LICENSE="freedist ISC all-rights-reserved"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-RESTRICT="mirror bindist"
-
-DEPEND="app-arch/unrar"
-RDEPEND=""
-
-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 https://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6-stable.git;a=history;f=Documentation/dvb/get_dvb_firmware
-
-FW_USE_FLAGS=(
-# packet
- "usb-a800"
- "dibusb-usb2"
- "usb-dtt200u"
- "usb-umt"
- "usb-vp702x"
- "usb-vp7045"
- "usb-wt220u"
- "dibusb-usb1"
- "or51211"
- "or51132"
- "or51132"
- "usb-dw2104"
- "usb-dw2104"
-# own URL
- "ttpci"
- "bcm3510"
- "usb-wt220u"
- "usb-wt220u"
- "usb-dib0700"
- "sp887x"
- "af9005"
- "cx231xx"
- "cx18"
- "cx18"
- "cx18"
- "cx23885"
- "cx23885"
- "pvrusb2"
- "usb-bluebird"
- "tda10045"
-# get_dvb_firmware
- "sp8870"
- "tda10046"
- "tda10046lifeview"
- "ttusb-dec"
- "ttusb-dec"
- "ttusb-dec"
- "opera1"
- "opera1"
- "vp7041"
- "nxt200x"
- "mpc718"
- "usb-af9015"
-)
-
-FW_FILES=(
-# packet
- "dvb-usb-avertv-a800-02.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-usb-dibusb-5.0.0.11.fw"
- "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"
- "dvb-usb-wt220u-02.fw"
- "dvb-usb-wt220u-fc03.fw"
- "dvb-usb-dib0700-1.20.fw"
- "dvb-fe-sp887x.fw"
- "af9005.fw"
- "v4l-cx231xx-avcore-01.fw"
- "v4l-cx23418-apu.fw"
- "v4l-cx23418-cpu.fw"
- "v4l-cx23418-dig.fw"
- "v4l-cx23885-avcore-01.fw"
- "v4l-cx23885-enc.fw"
- "v4l-cx25840.fw"
- "dvb-usb-bluebird-01.fw"
- "dvb-fe-tda10045.fw"
-# get_dvb_firmware
- "dvb-fe-sp8870.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-usb-opera1-fpga-01.fw"
- "dvb-usb-opera-01.fw"
- "dvb-vp7041-2.422.fw"
- "dvb-fe-nxt2004.fw"
- "dvb-cx18-mpc718-mt352.fw"
- "dvb-usb-af9015.fw"
-)
-
-FW_GET_PARAMETER=(
-# packet
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
-# own URL
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
- "-"
-# get_dvb_firmware
- "sp8870"
- "tda10046"
- "tda10046lifeview"
- "dec2000t"
- "dec2540t"
- "dec3000s"
- "opera1"
- "-"
- "vp7041"
- "nxt2004"
- "mpc718"
- "af9015"
-)
-
-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}"
- "${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"
- "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://peterdamen.com/dvb-fe-sp887x.fw"
- "http://ventoso.org/luca/af9005/af9005.fw"
- "http://linuxtv.org/downloads/firmware/v4l-cx231xx-avcore-01.fw"
- "http://linuxtv.org/downloads/firmware/v4l-cx23418-apu.fw"
- "http://linuxtv.org/downloads/firmware/v4l-cx23418-cpu.fw"
- "http://linuxtv.org/downloads/firmware/v4l-cx23418-dig.fw"
- "http://linuxtv.org/downloads/firmware/v4l-cx23885-avcore-01.fw"
- "http://linuxtv.org/downloads/firmware/v4l-cx23885-enc.fw"
- "http://linuxtv.org/downloads/firmware/v4l-cx25840.fw"
- "http://linuxtv.org/downloads/firmware/dvb-usb-bluebird-01.fw"
- "http://www.fireburn.co.uk/dvb-fe-tda10045.fw"
-# get_dvb_firmware
- "http://2.download.softwarepatch.pl/1619edb0dcb493dd5337b94a1f79c3f6/tt_Premium_217g.zip"
- "http://www.tt-download.com/download/updates/219/TT_PCI_2.19h_28_11_2006.zip"
- "http://www.lifeview.hk/dbimages/document/7%5Cdrv_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.informatik.uni-leipzig.de/~hlawit/dvb/2830SCap2.sys"
- "http://www.informatik.uni-leipzig.de/~hlawit/dvb/2830SLoad2.sys"
- "http://www.twinhan.com/files/AW/Software/TwinhanDTV2.608a.zip"
- "http://www.avermedia-usa.com/support/Drivers/AVerTVHD_MCE_A180_Drv_v1.2.2.16.zip"
- "ftp://ftp.work.acer-euro.com/desktop/aspire_idea510/vista/Drivers/Yuan%20MPC718%20TV%20Tuner%20Card%202.13.10.1016.zip"
- "http://www.ite.com.tw/EN/Services/download.ashx?file=57"
-)
-
-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 firmwares extracted by 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}
- 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 has 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."
- fi
-
- if [[ -z ${DVB_CARDS} ]]; then
- elog
- elog "DVB_CARDS is not set, installing all available firmware files."
- elog "To save bandwidth please consider setting the DVB_CARDS variable"
- elog "in ${ROOT%/}/etc/make.conf. This way only the firmwares you own"
- elog "the hardware will be installed."
- fi
- # according to https://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 use dvb_cards_tda10046 && use 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."
- die "Conflicting values for DVB_CARDS set."
- fi
- elog
- 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
- elog "If you need another firmware file and want it included create a bug"
- elog "at bugs.gentoo.org."
- elog "In case some firmware sources are not fetchable please try again at"
- elog "a later time and if it still does not fetch report a bug. If there"
- elog "is no alternative source or an update to the firmware available we"
- elog "have to remove it from the ebuild and you are on your own."
-}
-
-src_unpack() {
- local distfile
-
- # link all downloaded files to ${S}
- for distfile in ${A}; do
- [[ -L ${distfile} ]] || ln -s ${DISTDIR}/${distfile} ${distfile}
- done
-
- # unpack firmware-packet
- if has ${PACKET_NAME} ${A}; then
- 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
- if [[ -z ${DVB_CARDS} ]] || use dvb_cards_ttpci ; then
- 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
- 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
-}
diff --git a/media-tv/linuxtv-dvb-firmware/metadata.xml b/media-tv/linuxtv-dvb-firmware/metadata.xml
deleted file mode 100644
index 6f49eba8f496..000000000000
--- a/media-tv/linuxtv-dvb-firmware/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<!-- maintainer-needed -->
-</pkgmetadata>