[arch-commits] Commit in libva1/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 16:50:50 UTC 2020
Date: Tuesday, July 7, 2020 @ 16:50:50
Author: felixonmars
Revision: 659443
archrelease: copy trunk to community-staging-x86_64
Added:
libva1/repos/community-staging-x86_64/
libva1/repos/community-staging-x86_64/50-libva1.conf
(from rev 659442, libva1/trunk/50-libva1.conf)
libva1/repos/community-staging-x86_64/PKGBUILD
(from rev 659442, libva1/trunk/PKGBUILD)
----------------+
50-libva1.conf | 2 ++
PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 48 insertions(+)
Copied: libva1/repos/community-staging-x86_64/50-libva1.conf (from rev 659442, libva1/trunk/50-libva1.conf)
===================================================================
--- community-staging-x86_64/50-libva1.conf (rev 0)
+++ community-staging-x86_64/50-libva1.conf 2020-07-07 16:50:50 UTC (rev 659443)
@@ -0,0 +1,2 @@
+/usr/lib/
+/usr/lib/libva1/
Copied: libva1/repos/community-staging-x86_64/PKGBUILD (from rev 659442, libva1/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 16:50:50 UTC (rev 659443)
@@ -0,0 +1,46 @@
+# Maintainer: Maxime Gauduin <alucryd at archlonux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=libva1
+pkgver=1.8.3
+pkgrel=3
+pkgdesc='Video Acceleration (VA) API for Linux'
+arch=('x86_64')
+url='https://01.org/linuxmedia/vaapi'
+license=('MIT')
+depends=('libdrm' 'libgl' 'libx11' 'libxext' 'libxfixes' 'wayland')
+makedepends=('git' 'libglvnd' 'mesa')
+provides=(
+ 'libva-drm.so' 'libva-glx.so' 'libva-wayland.so' 'libva-x11.so' 'libva.so'
+)
+source=("git+https://github.com/intel/libva.git#tag=${pkgver}"
+ '50-libva1.conf')
+sha256sums=('SKIP'
+ '0b492e511aec4319b7da6d5e02a85d4d092ed13fd5d2b01832452ebf21c1aac7')
+
+prepare() {
+ cd libva
+
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd libva
+
+ ./configure \
+ --prefix='/usr' \
+ --includedir='/usr/include/libva1' \
+ --libdir='/usr/lib/libva1' \
+ --with-drivers-path='/usr/lib/libva1/dri' \
+ --disable-va-messaging
+ make
+}
+
+package() {
+ make DESTDIR="${pkgdir}" -C libva install
+ install -Dm 644 libva/COPYING -t "${pkgdir}"/usr/share/licenses/libva1
+ install -Dm 644 50-libva1.conf -t "${pkgdir}"/etc/ld.so.conf.d/
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list