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

Bruno Pagani archange at archlinux.org
Wed Apr 8 18:13:10 UTC 2020


    Date: Wednesday, April 8, 2020 @ 18:13:10
  Author: archange
Revision: 612697

upgpkg: libva-utils 2.7.0-1

Also switch to meson for building

Modified:
  libva-utils/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-08 18:04:15 UTC (rev 612696)
+++ PKGBUILD	2020-04-08 18:13:10 UTC (rev 612697)
@@ -2,7 +2,7 @@
 # Contributor: Sean V Kelley <seanvk at posteo.de>
 
 pkgname=libva-utils
-pkgver=2.6.0
+pkgver=2.7.0
 pkgrel=1
 pkgdesc="Intel VA-API Media Applications and Scripts for libva"
 arch=(x86_64)
@@ -9,21 +9,17 @@
 url="https://github.com/intel/libva-utils"
 license=(custom)
 depends=(libva)
-makedepends=(mesa)
+makedepends=(mesa meson)
 source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('6ce7a534539c9ae554ace0bfa6689d871145cc172bb3f66ceb3fe2f65466fd90')
+sha256sums=('bcb0d4c0efadf9600dd5064ee8e2e08e8d1bc7307e829e39d0f8206016a3fda2')
 
 build() {
     cd ${pkgname}-${pkgver}
-    ./autogen.sh \
-        --prefix=/usr \
-        --sysconfdir=/etc \
-        --localstatedir=/var
-    make
+    arch-meson ../build
+    ninja -v -C ../build
 }
 
 package() {
-    cd ${pkgname}-${pkgver}
-    make DESTDIR="${pkgdir}" install
-    install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+    DESTDIR="${pkgdir}" ninja -C build install
+    install -Dm644 ${pkgname}-${pkgver}/COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname}/
 }


More information about the arch-commits mailing list