summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/hauppauge-hvr-firmware/PKGBUILD
blob: 60114361a317cbb24ffa8ae7f9d8e8d335f7349c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
pkgname=hauppauge-hvr-firmware
pkgver=1
pkgrel=2
pkgdesc="firmware needed for the hvr cards"
arch=(i686 x86_64)
url=""
makedepends='unzip'
source=("http://steventoth.net/linux/hvr1800/HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip"
        "http://steventoth.net/linux/hvr1400/xc3028L-v36.fw")
md5sums=('7fe395c1a398f079d98e416ee7be3777'
         '5260975b76ade7a1d37270129b6d6372')

build() {
  cd $startdir || return 1
  mkdir -p $startdir/pkg/lib/firmware
  unzip -jo HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip  Driver85/hcw85enc.rom
  unzip -jo HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip Driver85/hcw85mlC.rom
  cd $startdir/src/Driver85
  mv hcw85enc.rom v4l-cx23885-enc.fw
  mv hcw85mlC.rom v4l-cx23885-avcore-01.fw
  cp -rp *.fw  $startdir/pkg/lib/firmware
  cd $startdir/src/
  cp -rp *.fw  $startdir/pkg/lib/firmware
}