1 # Maintainer: Antoine Lubineau <antoine@lubignon.info>
7 pkgdesc="Blackmagic Design DeckLink SDK"
9 url="http://www.blackmagic-design.com/support/sdks/"
11 depends=('decklink' 'gcc-libs' 'mesa' 'qt')
14 source=("http://www.blackmagic-design.com/media/${_dlid}/DeckLink_SDK_$pkgver.zip")
15 noextract=("DeckLink_SDK_$pkgver.zip")
16 sha256sums=('5b9bbc1e781235f5a071b014d2875ef3a2c94d410eb95f3983d90c9b397766b7')
20 unzip -o "DeckLink_SDK_$pkgver.zip"
22 mkdir -p "$pkgdir/usr/src" "$pkgdir/usr/bin"
23 cp -a "$srcdir/Blackmagic DeckLink SDK $pkgver/Linux/include" "$pkgdir/usr/src/decklink-sdk"
24 [ "$CARCH" = "i686" ] && _arch='i386'
25 [ "$CARCH" = "x86_64" ] && _arch='x86_64'
26 cd "$srcdir/Blackmagic DeckLink SDK $pkgver/Linux/Samples/bin/${_arch}"
27 for util in Capture DeviceList OpenGLOutput SignalGenerator TestPattern
29 install -D $util "$pkgdir/usr/bin/$util"
33 # vim:set ts=2 sw=2 et: