Advertisement
Guest User

aur-decklink-sdk-10.3.PKGBUILD

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