Advertising
- Miscellany
- Monday, May 7th, 2012 at 1:34:11am MDT
- # Contributor: Mika Havela <mika.havela@gmail.com>
- # Maintainer:
- _flavor=${FLAVOR:-grsec}
- _realname=decklink-tools
- _name=$_realname-$_flavor
- _kver=9.5
- _kpkgrel=0
- # source the kernel version
- if [ -f ../linux-$_flavor/APKBUILD ]; then
- . ../linux-$_flavor/APKBUILD
- [ "$_kver" != "$pkgver" ] && die "$_name: Please update _kver to $pkgver"
- [ "$_kpkgrel" != "$pkgrel" ] && die "$_name: Please update _kpkgrel to $pkgrel"
- fi
- _kernelver=$_kver-r$_kpkgrel
- _abi_release=$_kver-${_flavor}
- pkgname=$_name
- pkgver=$_kver
- _mypkgrel=0
- pkgrel=$(($_kpkgrel + $_mypkgrel))
- _dlid=3225412
- pkgdesc="Drivers for Blackmagic Design DeckLink, Intensity or Multibridge video editing cards"
- url="http://www.blackmagic-design.com/products/"
- arch="all"
- license="custom"
- depends="linux-${_flavor}" # linux-headers dkms kernel-headers gcc make glibc2.8 # Recommended: opengl
- depends_dev=""
- makedepends="$depends_dev linux-${_flavor}-dev"
- install=""
- subpackages=""
- source="http://www.blackmagic-design.com/media/${_dlid}/Blackmagic_Desktop_Video_Linux_${pkgver}.tar.gz"
- _builddir="$srcdir"
- prepare() {
- local i
- cd "$_builddir"
- rm -rfv *.rpm *.deb
- tar xvzf desktopvideo-${pkgver}-i386.tar.gz
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
- }
- build() {
- cd "$_builddir"/desktopvideo-${pkgver}a9-i386/usr/src/desktopvideo-${pkgver}a9/
- mkdir -p "$pkgdir/lib/modules/`uname -r`"
- make KERNELDIR="$pkgdir"/lib/modules/`uname -r`
- }
- package() {
- cd "$_builddir"
- }
- md5sums="5113f1a43c963e7e9b973cb3a38cf53a Blackmagic_Desktop_Video_Linux_9.5.tar.gz"
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.