Date: Thursday, October 4, 2018 @ 17:55:02 Author: archange Revision: 389565
Initial addition of intel-media-driver to [community] Added: intel-media-driver/ intel-media-driver/repos/ intel-media-driver/trunk/ intel-media-driver/trunk/PKGBUILD ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Added: intel-media-driver/trunk/PKGBUILD =================================================================== --- intel-media-driver/trunk/PKGBUILD (rev 0) +++ intel-media-driver/trunk/PKGBUILD 2018-10-04 17:55:02 UTC (rev 389565) @@ -0,0 +1,34 @@ +# Maintainer: Bruno Pagani <archa...@archlinux.org> +# Contributor: Daniel Bermond < yahoo-com: danielbermond > + +pkgname=intel-media-driver +pkgver=18.3.0 +pkgrel=1 +pkgdesc="Intel Media Driver for VAAPI — Broadwell+ iGPUs" +arch=('x86_64') +url="https://github.com/intel/media-driver/" +license=('MIT' 'BSD') +depends=(gcc-libs intel-gmmlib libva libpciaccess) +makedepends=(cmake) +source=("https://github.com/${pkgname/-//}/archive/${pkgname%-*}-${pkgver}.tar.gz") +sha256sums=('df9af1cc796b4123508aacaf19d040cc5d8c5742c05199f45c9a3905ed8d1b52') + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../${pkgname#*-}-${pkgname%-*}-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DINSTALL_DRIVER_SYSCONF=OFF \ + -Wno-dev + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install + install -Dm644 ../${pkgname#*-}-${pkgname%-*}-${pkgver}/LICENSE.md -t "${pkgdir}"/usr/share/licenses/${pkgname}/ +}