[arch-commits] Commit in libva/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Sat Jul 14 06:54:11 UTC 2018


    Date: Saturday, July 14, 2018 @ 06:54:10
  Author: alucryd
Revision: 328568

upgpkg: libva 2.2.0-2

Modified:
  libva/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++--------------
 1 file changed, 9 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-14 06:49:48 UTC (rev 328567)
+++ PKGBUILD	2018-07-14 06:54:10 UTC (rev 328568)
@@ -5,32 +5,27 @@
 
 pkgname=libva
 pkgver=2.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Video Acceleration (VA) API for Linux'
 arch=('x86_64')
 url='https://01.org/linuxmedia/vaapi'
 license=('MIT')
-depends=('glibc' 'libdrm' 'libgl' 'libx11' 'libxext' 'libxfixes' 'wayland')
-makedepends=('mesa')
+depends=('libdrm' 'libgl' 'libx11' 'libxext' 'libxfixes' 'wayland')
+makedepends=('git' 'libglvnd' 'mesa' 'meson')
 optdepends=('libva-vdpau-driver: backend for Nvidia and AMD cards'
             'libva-intel-driver: backend for Intel cards')
 provides=('libva-drm.so' 'libva-glx.so' 'libva-wayland.so' 'libva-x11.so' 'libva.so')
-source=("https://github.com/01org/libva/releases/download/${pkgver}/libva-${pkgver}.tar.bz2")
-sha256sums=('6f6ca04c785544d30d315ef130a6aeb9435b75f934d7fbe0e4e9ba6084ce4ef2')
+source=("git+https://github.com/intel/libva.git#tag=${pkgver}")
+sha256sums=('SKIP')
 
 build() {
-  cd libva-${pkgver}
-
-  ./configure \
-    --prefix='/usr'
-  make
+  arch-meson libva build
+  ninja -C build
 }
 
 package() {
-  cd libva-${pkgver}
-
-  make DESTDIR="${pkgdir}" install
-  install -Dm 644 COPYING -t "${pkgdir}"/usr/share/licenses/libva
+  DESTDIR="${pkgdir}" ninja -C build install
+  install -Dm 644 libva/COPYING -t "${pkgdir}"/usr/share/licenses/libva
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list