summaryrefslogtreecommitdiff
path: root/community/libvdpau-va-gl/PKGBUILD
blob: 160f8685be2ce8e9ece7a0e2f59696424d103af2 (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 104362 2014-01-19 13:06:16Z bpiotrowski $
# Maintainer:  Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Behem0th <grantipak@gmail.com>

pkgname=libvdpau-va-gl
pkgver=0.3.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.tar.gz)
md5sums=('2ec5c68282aac9720525e16e858cd599')

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

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