summaryrefslogtreecommitdiff
path: root/community/libvdpau-va-gl/PKGBUILD
blob: b5f7deb53b0fc2863c458925afc2ee4bfe9da502 (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
25
26
# $Id: PKGBUILD 101594 2013-11-28 16:02:19Z bpiotrowski $
# Maintainer:  Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Behem0th <grantipak@gmail.com>

pkgname=libvdpau-va-gl
pkgver=0.2.1
pkgrel=1
pkgdesc='VDPAU driver with OpenGL/VAAPI backend'
arch=('i686' 'x86_64')
url='https://github.com/i-rinat/libvdpau-va-gl'
license=('LGPL3')
depends=('libvdpau' 'libva' 'libgl' 'ffmpeg' 'glu')
makedepends=('cmake')
source=('https://github.com/i-rinat/${pkgname}/archive/v'${pkgver}'.zip')
md5sums=('bb14c2ec9763c025b1abde96df845512')

build() {
  cd $pkgname-$pkgver
  cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}