Guest User

aur-decklink-sdk-10.3.PKGBUILD

a guest
Jun 18th, 2015
368
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. # Maintainer: Antoine Lubineau <[email protected]>
  2.  
  3. # aur-decklink-sdk-10.3.PKGBUILD
  4. # https://aur.archlinux.org/packages/decklink-sdk/
  5. # copy PKGBUILD file to "/tmp/yaourt-tmp-$USER/aur-decklink-sdk/PKGBUILD"
  6. # * fixed version to 10.3 [10.3-1?]
  7. # version 10.4-1 requires registration at blackmagicdesign.com
  8. # before you can download Blackmagic_DeckLink_SDK_10.4-1.zip
  9. # * fixed source path SDK/Linux --> Linux
  10.  
  11. pkgname=decklink-sdk
  12. pkgver=10.3
  13. pkgrel=1
  14. epoch=1
  15. pkgdesc="Blackmagic Design DeckLink SDK"
  16. arch=('i686' 'x86_64')
  17. url="https://www.blackmagicdesign.com/support/family/capture-and-playback"
  18. license=('custom')
  19. depends=('glu' 'mesa' 'qt4')
  20. makedepends=('unzip')
  21. options=('!strip')
  22. source=("http://software.blackmagicdesign.com/SDK/Blackmagic_DeckLink_SDK_${pkgver}.zip")
  23. sha256sums=('7e07867b39ea036e3f9f9cd1b6e9ef627b6a12366e5bb6cf717cb839e7d5b2be')
  24.  
  25. package() {
  26. cd "$srcdir"
  27.  
  28. mkdir -p "$pkgdir/usr/src" "$pkgdir/usr/bin"
  29. cp -a "$srcdir/Blackmagic DeckLink SDK $pkgver/Linux/include" "$pkgdir/usr/src/decklink-sdk"
  30. [ "$CARCH" = "i686" ] && _arch='i386'
  31. [ "$CARCH" = "x86_64" ] && _arch='x86_64'
  32. cd "$srcdir/Blackmagic DeckLink SDK $pkgver/Linux/Samples/bin/${_arch}"
  33. for util in Capture DeviceList LoopThroughWithOpenGLCompositing OpenGLOutput SignalGenerator TestPattern
  34. do
  35. install -D $util "$pkgdir/usr/bin/$util"
  36. done
  37. }
  38.  
  39. # vim:set ts=2 sw=2 et:
Advertisement
Add Comment
Please, Sign In to add comment