git » libva.git » commit 63768b8

2.15.0-2: enable debug, minor cleanup

author Jan Alexander Steffens
2022-08-16 09:16:27 UTC
committer Jan Alexander Steffens
2022-08-16 09:16:27 UTC
parent 5862a3f1bbe9252c390bf2361497aee506098677

2.15.0-2: enable debug, minor cleanup

PKGBUILD +6 -5

diff --git a/PKGBUILD b/PKGBUILD
index 57e189d..d29fe2e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=libva
 pkgver=2.15.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Video Acceleration (VA) API for Linux'
 arch=(x86_64)
 url=https://01.org/linuxmedia/vaapi
@@ -36,6 +36,7 @@ provides=(
   libva.so
 )
 backup=(etc/libva.conf)
+options=(debug)
 _tag=b095d10bf355110352e75c22e581018a7ea7de5a
 source=(git+https://github.com/intel/libva.git#tag=${_tag})
 sha256sums=(SKIP)
@@ -49,16 +50,16 @@ pkgver() {
 build() {
   CFLAGS+=" -DENABLE_VA_MESSAGING"  # Option missing
   arch-meson libva build
-  ninja -C build
+  meson compile -C build
 }
 
 package() {
-  DESTDIR="${pkgdir}" meson install -C build
-  install -Dm 644 libva/COPYING -t "${pkgdir}"/usr/share/licenses/libva
+  meson install -C build --destdir "${pkgdir}"
+  install -Dm 644 libva/COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname}
 
   install -Dm 644 /dev/stdin "${pkgdir}"/etc/libva.conf <<END
 LIBVA_MESSAGING_LEVEL=1
 END
 }
 
-# vim: ts=2 sw=2 et:
+# vim:set sw=2 sts=-1 et: