summaryrefslogtreecommitdiff
path: root/extra/libva-intel-driver/PKGBUILD
blob: b11c9a7deb16fe85366026aebc10c1aa414961a3 (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
27
28
29
30
31
32
# $Id: PKGBUILD 168383 2012-10-09 16:37:25Z ibiru $
# Maintainer : Ionut Biru <ibiru@archlinux.org>

pkgname=libva-intel-driver
pkgver=1.0.18
pkgrel=1
pkgdesc="VA-API implementation for Intel G45 chipsets and Intel HD Graphics for Intel Core processor family."
arch=('i686' 'x86_64')
url="http://freedesktop.org/wiki/Software/vaapi"
license=('MIT')
depends=('libva')
options=('!libtool')
replaces=('libva-driver-intel')
source=(http://www.freedesktop.org/software/vaapi/releases/$pkgname/$pkgname-$pkgver.tar.bz2
        build-fix.patch)
sha1sums=('2cbf6f8c9f59516cceb5c4245576d53d26612256'
          '447987d81800b2a5c434e6b6b19b6f8ec9c675d1')

build() {
  cd $pkgname-$pkgver
  patch -Np1 -i ../build-fix.patch
  ./configure --prefix=/usr
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
  install -m644 -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

# vim:set ts=2 sw=2 et: