[arch-commits] Commit in lib32-libvdpau/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Mon Mar 11 08:55:10 UTC 2019


    Date: Monday, March 11, 2019 @ 08:55:09
  Author: alucryd
Revision: 439724

upgpkg: lib32-libvdpau 1.2-1

Modified:
  lib32-libvdpau/trunk/PKGBUILD

----------+
 PKGBUILD |   37 ++++++++++++++++++++++++-------------
 1 file changed, 24 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-11 08:54:59 UTC (rev 439723)
+++ PKGBUILD	2019-03-11 08:55:09 UTC (rev 439724)
@@ -2,21 +2,32 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=lib32-libvdpau
-pkgver=1.1.1
-pkgrel=3
+pkgver=1.2
+pkgrel=1
 pkgdesc='Nvidia VDPAU library'
-arch=('x86_64')
-url='https://cgit.freedesktop.org/~aplattner/libvdpau'
-license=('custom')
-depends=('lib32-gcc-libs' 'lib32-libxext' 'libvdpau')
-makedepends=('dri2proto')
-source=("https://people.freedesktop.org/~aplattner/vdpau/libvdpau-${pkgver}.tar.bz2"{,.sig})
-validpgpkeys=('BD68A042C603DDAD9AA354B0F56ACC8F09BA9635') # Aaron Plattner
-sha256sums=('857a01932609225b9a3a5bf222b85e39b55c08787d0ad427dbd9ec033d58d736'
-            'SKIP')
+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-${pkgver}
+  cd libvdpau
 
   export CC='gcc -m32'
   export CXX='g++ -m32'
@@ -30,7 +41,7 @@
 }
 
 package() {
-  cd libvdpau-${pkgver}
+  cd libvdpau
 
   make DESTDIR="${pkgdir}" install
   rm -rf "${pkgdir}"/{etc,usr/include}



More information about the arch-commits mailing list