Date: Monday, October 15, 2018 @ 13:53:25
  Author: alucryd
Revision: 394163

archrelease: copy trunk to multilib-testing-x86_64

Added:
  lib32-libva1/repos/multilib-testing-x86_64/
  lib32-libva1/repos/multilib-testing-x86_64/50-lib32-libva1.conf
    (from rev 394162, lib32-libva1/trunk/50-lib32-libva1.conf)
  lib32-libva1/repos/multilib-testing-x86_64/PKGBUILD
    (from rev 394162, lib32-libva1/trunk/PKGBUILD)

----------------------+
 50-lib32-libva1.conf |    2 +
 PKGBUILD             |   53 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

Copied: lib32-libva1/repos/multilib-testing-x86_64/50-lib32-libva1.conf (from 
rev 394162, lib32-libva1/trunk/50-lib32-libva1.conf)
===================================================================
--- multilib-testing-x86_64/50-lib32-libva1.conf                                
(rev 0)
+++ multilib-testing-x86_64/50-lib32-libva1.conf        2018-10-15 13:53:25 UTC 
(rev 394163)
@@ -0,0 +1,2 @@
+/usr/lib32/
+/usr/lib32/libva1/

Copied: lib32-libva1/repos/multilib-testing-x86_64/PKGBUILD (from rev 394162, 
lib32-libva1/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD                            (rev 0)
+++ multilib-testing-x86_64/PKGBUILD    2018-10-15 13:53:25 UTC (rev 394163)
@@ -0,0 +1,53 @@
+# Maintainer: Maxime Gauduin <aluc...@archlonux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org>
+# Contributor: Ionut Biru <ib...@archlinux.org>
+
+pkgname=lib32-libva1
+pkgver=1.8.3
+pkgrel=2
+pkgdesc='Video Acceleration (VA) API for Linux'
+arch=('x86_64')
+url='https://01.org/linuxmedia/vaapi'
+license=('MIT')
+depends=(
+  'lib32-libdrm' 'lib32-libgl' 'lib32-libx11' 'lib32-libxext' 'lib32-libxfixes'
+  'lib32-wayland' 'libva1'
+)
+makedepends=('git' 'lib32-libglvnd' 'lib32-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-lib32-libva1.conf')
+sha256sums=('SKIP'
+            'ff058ef83ef162005bd0b6525334ff76beb5c38d775834e3fc86def2eb30f46f')
+
+prepare() {
+  cd libva
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd libva
+
+  export CC='gcc -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  ./configure \
+    --prefix='/usr' \
+    --libdir='/usr/lib32/libva1' \
+    --with-drivers-path='/usr/lib32/libva1/dri' \
+    --disable-va-messaging
+  make
+}
+
+package() {
+  make DESTDIR="${pkgdir}" -C libva install
+  rm -rf "${pkgdir}"/usr/include
+  install -dm 755 "${pkgdir}"/usr/share/licenses
+  ln -s libva1 "${pkgdir}"/usr/share/licenses/lib32-libva1
+  install -Dm 644 50-lib32-libva1.conf -t "${pkgdir}"/etc/ld.so.conf.d/
+}
+
+# vim: ts=2 sw=2 et:

Reply via email to