[arch-commits] Commit in libva/trunk (PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Tue Aug 16 09:16:27 UTC 2022
Date: Tuesday, August 16, 2022 @ 09:16:27
Author: heftig
Revision: 452993
2.15.0-2: enable debug, minor cleanup
Modified:
libva/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-16 09:07:40 UTC (rev 452992)
+++ PKGBUILD 2022-08-16 09:16:27 UTC (rev 452993)
@@ -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 @@
libva.so
)
backup=(etc/libva.conf)
+options=(debug)
_tag=b095d10bf355110352e75c22e581018a7ea7de5a
source=(git+https://github.com/intel/libva.git#tag=${_tag})
sha256sums=(SKIP)
@@ -49,12 +50,12 @@
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
@@ -61,4 +62,4 @@
END
}
-# vim: ts=2 sw=2 et:
+# vim:set sw=2 sts=-1 et:
More information about the arch-commits
mailing list