[arch-commits] Commit in lib32-libvdpau/repos/multilib-x86_64 (PKGBUILD PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Wed Aug 28 19:48:15 UTC 2019


    Date: Wednesday, August 28, 2019 @ 19:48:15
  Author: alucryd
Revision: 504360

archrelease: copy trunk to multilib-x86_64

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

----------+
 PKGBUILD |   95 ++++++++++++++++++++++++++-----------------------------------
 1 file changed, 42 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-28 19:48:07 UTC (rev 504359)
+++ PKGBUILD	2019-08-28 19:48:15 UTC (rev 504360)
@@ -1,53 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at gmail.com>
-# Contributor: Jan de Groot <jgc at archlinux.org>
-
-pkgname=lib32-libvdpau
-pkgver=1.2
-pkgrel=1
-pkgdesc='Nvidia VDPAU library'
-arch=(x86_64)
-url=https://gitlab.freedesktop.org/vdpau/libvdpau
-license=(custom)
-depends=(
-  lib32-gcc-libs
-  lib32-libxext
-  libvdpau
-)
-makedepends=(
-  dri2proto
-  git
-)
-source=(git+https://gitlab.freedesktop.org/vdpau/libvdpau.git#tag=libvdpau-${pkgver})
-sha256sums=(SKIP)
-
-prepare() {
-  cd libvdpau
-
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
-  cd libvdpau
-
-  export CC='gcc -m32'
-  export CXX='g++ -m32'
-  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
-
-  ./configure \
-    --prefix='/usr' \
-    --libdir='/usr/lib32' \
-    --sysconfdir='/etc'
-  make
-}
-
-package() {
-  cd libvdpau
-
-  make DESTDIR="${pkgdir}" 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:

Copied: lib32-libvdpau/repos/multilib-x86_64/PKGBUILD (from rev 504359, lib32-libvdpau/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-28 19:48:15 UTC (rev 504360)
@@ -0,0 +1,42 @@
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=lib32-libvdpau
+pkgver=1.3
+pkgrel=1
+pkgdesc='Nvidia VDPAU library'
+arch=(x86_64)
+url=https://gitlab.freedesktop.org/vdpau/libvdpau
+license=(custom)
+depends=(
+  lib32-gcc-libs
+  lib32-libxext
+  libvdpau
+)
+makedepends=(
+  dri2proto
+  git
+  meson
+)
+source=(git+https://gitlab.freedesktop.org/vdpau/libvdpau.git#tag=${pkgver})
+sha256sums=(SKIP)
+
+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