[arch-commits] Commit in lib32-libvdpau/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun Mar 6 15:44:48 UTC 2022


    Date: Sunday, March 6, 2022 @ 15:44:48
  Author: foutrelis
Revision: 1142507

archrelease: copy trunk to multilib-staging-x86_64

Added:
  lib32-libvdpau/repos/multilib-staging-x86_64/
  lib32-libvdpau/repos/multilib-staging-x86_64/PKGBUILD
    (from rev 1142506, lib32-libvdpau/trunk/PKGBUILD)

----------+
 PKGBUILD |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

Copied: lib32-libvdpau/repos/multilib-staging-x86_64/PKGBUILD (from rev 1142506, lib32-libvdpau/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-staging-x86_64/PKGBUILD	2022-03-06 15:44:48 UTC (rev 1142507)
@@ -0,0 +1,47 @@
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=lib32-libvdpau
+pkgver=1.4
+pkgrel=2
+pkgdesc='Nvidia VDPAU library'
+arch=(x86_64)
+url=https://gitlab.freedesktop.org/vdpau/libvdpau
+license=(custom)
+depends=(
+  lib32-libxext
+  libvdpau
+)
+makedepends=(
+  xorgproto
+  git
+  meson
+)
+source=(git+https://gitlab.freedesktop.org/vdpau/libvdpau.git#tag=c3d1a9dbafdfe6144ff474d0d523dc01b068750f)
+sha256sums=(SKIP)
+
+pkgver() {
+  cd libvdpau
+
+  git describe --tags
+}
+
+build() {
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
+
+  arch-meson libvdpau build \
+    --libdir=/usr/lib32
+  ninja -C build
+}
+
+package() {
+  DESTDIR="${pkgdir}" ninja -C build install
+  rm -rf "${pkgdir}"/{etc,usr/include}
+
+  install -dm 755 "${pkgdir}"/usr/share/licenses
+  ln -s libvdpau "${pkgdir}"/usr/share/licenses/lib32-libvdpau
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list