diff options
author | Britney Fransen <brfransen@gmail.com> | 2019-03-18 17:14:31 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2019-03-18 17:14:31 (GMT) |
commit | 448cb8d0708224d78c24ce3615dc7eef44d4689b (patch) | |
tree | 2dba2103a6f6e43912fc645ca8b48a85ab500ad2 /abs/extra/libva-intel-driver/PKGBUILD | |
parent | 48f571123428ed5614f55d5ca266d7d2d2a76f79 (diff) | |
download | linhes_pkgbuild-2c1e681ecb2abec528d9a6cbcf0f30e1e0397caf.zip linhes_pkgbuild-2c1e681ecb2abec528d9a6cbcf0f30e1e0397caf.tar.gz linhes_pkgbuild-2c1e681ecb2abec528d9a6cbcf0f30e1e0397caf.tar.bz2 |
libva-intel-driver: update to 2.3.0R8.6
Diffstat (limited to 'abs/extra/libva-intel-driver/PKGBUILD')
-rw-r--r-- | abs/extra/libva-intel-driver/PKGBUILD | 43 |
1 files changed, 26 insertions, 17 deletions
diff --git a/abs/extra/libva-intel-driver/PKGBUILD b/abs/extra/libva-intel-driver/PKGBUILD index 1166e5e..f699b3b 100644 --- a/abs/extra/libva-intel-driver/PKGBUILD +++ b/abs/extra/libva-intel-driver/PKGBUILD @@ -1,35 +1,44 @@ -# $Id$ -# Maintainer: Ionut Biru <ibiru@archlinux.org> -# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> +# Maintainer: Maxime Gauduin <alucryd@archlinux.org> +# Contributor: Ionut Biru <ibiru@archlinux.org> +# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> pkgname=libva-intel-driver -pkgver=1.7.3 -pkgrel=1 +pkgver=2.3.0 +pkgrel=2 pkgdesc='VA-API implementation for Intel G45 and HD Graphics family' -arch=('i686' 'x86_64') -url='http://freedesktop.org/wiki/Software/vaapi' +arch=('x86_64') +url='https://01.org/linuxmedia/vaapi' license=('MIT') -depends=('libva') +depends=('libva' 'libdrm') +makedepends=('git' 'meson') replaces=('libva-driver-intel') -source=(https://freedesktop.org/software/vaapi/releases/$pkgname/$pkgname-$pkgver.tar.bz2) -sha1sums=('5100f187afc4e39fce5664b96fe11a38faa9afaa') +source=("git+https://github.com/intel/intel-vaapi-driver.git#tag=${pkgver}" + 427.patch) +sha256sums=('SKIP' + 'e51eaf65b1bb09bf62a1b78668da0c268722387cb8eb3c05ec2d7462c651d1c0') prepare() { - cd $pkgname-$pkgver + cd intel-vaapi-driver + + # https://github.com/intel/intel-vaapi-driver/issues/419 + patch -Np1 -i ../427.patch # Only relevant if intel-gpu-tools is installed, # since then the shaders will be recompiled sed -i '1s/python$/&2/' src/shaders/gpp.py + + # Fix undefined variable in src/meson.build + sed -i 's/2.2.0/2.2.0.0/' meson.build } build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr - make + arch-meson intel-vaapi-driver build + ninja -C build } package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install - install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING + DESTDIR="${pkgdir}" meson install -C build + install -Dm 644 intel-vaapi-driver/COPYING -t "${pkgdir}"/usr/share/licenses/libva-intel-driver } + +# vim: ts=2 sw=2 et: |