Date: Monday, October 15, 2018 @ 14:04:59 Author: alucryd Revision: 394164
Add libva1-intel-driver Added: libva1-intel-driver/ libva1-intel-driver/trunk/ libva1-intel-driver/trunk/.SRCINFO libva1-intel-driver/trunk/PKGBUILD ----------+ .SRCINFO | 19 +++++++++++++++++++ PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) Added: libva1-intel-driver/trunk/.SRCINFO =================================================================== --- libva1-intel-driver/trunk/.SRCINFO (rev 0) +++ libva1-intel-driver/trunk/.SRCINFO 2018-10-15 14:04:59 UTC (rev 394164) @@ -0,0 +1,19 @@ +# Generated by mksrcinfo v8 +# Mon Oct 1 18:03:38 UTC 2018 +pkgbase = libva-intel-driver + pkgdesc = VA-API implementation for Intel G45 and HD Graphics family + pkgver = 2.3.0 + pkgrel = 1 + url = https://01.org/linuxmedia/vaapi + arch = x86_64 + license = MIT + makedepends = git + makedepends = meson + depends = libva + depends = libdrm + replaces = libva-driver-intel + source = git+https://github.com/intel/intel-vaapi-driver.git#tag=2.3.0 + sha256sums = SKIP + +pkgname = libva-intel-driver + Added: libva1-intel-driver/trunk/PKGBUILD =================================================================== --- libva1-intel-driver/trunk/PKGBUILD (rev 0) +++ libva1-intel-driver/trunk/PKGBUILD 2018-10-15 14:04:59 UTC (rev 394164) @@ -0,0 +1,43 @@ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> +# Contributor: Ionut Biru <ib...@archlinux.org> +# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> + +pkgname=libva1-intel-driver +pkgver=1.8.3 +pkgrel=1 +pkgdesc='VA-API implementation for Intel G45 and HD Graphics family' +arch=('x86_64') +url='https://01.org/linuxmedia/vaapi' +license=('MIT') +depends=('libva1' 'libdrm') +makedepends=('git') +source=("git+https://github.com/intel/intel-vaapi-driver.git#tag=${pkgver}") +sha256sums=('SKIP') + +prepare() { + cd intel-vaapi-driver + + # Only relevant if intel-gpu-tools is installed, + # since then the shaders will be recompiled + sed -i '1s/python$/&2/' src/shaders/gpp.py + + NOCONFIGURE=1 ./autogen.sh +} + +build() { + cd intel-vaapi-driver + + export PKG_CONFIG_PATH='/usr/lib/libva1/pkgconfig' + + ./configure \ + --prefix='/usr' \ + --libdir='/usr/lib/libva1' + make +} + +package() { + make DESTDIR="${pkgdir}" -C intel-vaapi-driver install + install -Dm 644 intel-vaapi-driver/COPYING -t "${pkgdir}"/usr/share/licenses/libva1-intel-driver +} + +# vim: ts=2 sw=2 et: