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

Jan de Groot jgc at archlinux.org
Sat Nov 11 22:50:40 UTC 2017


    Date: Saturday, November 11, 2017 @ 22:50:39
  Author: jgc
Revision: 309571

archrelease: copy trunk to extra-x86_64

Added:
  libvdpau/repos/extra-x86_64/PKGBUILD
    (from rev 309570, libvdpau/trunk/PKGBUILD)
Deleted:
  libvdpau/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   75 ++++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 45 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-11 22:50:31 UTC (rev 309570)
+++ PKGBUILD	2017-11-11 22:50:39 UTC (rev 309571)
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=libvdpau
-pkgver=1.1.1
-pkgrel=2
-pkgdesc="Nvidia VDPAU library"
-arch=(i686 x86_64)
-url='http://cgit.freedesktop.org/~aplattner/libvdpau'
-depends=('gcc-libs' 'libxext')
-license=('custom')
-source=(http://people.freedesktop.org/~aplattner/vdpau/${pkgname}-${pkgver}.tar.bz2{,.sig})
-makedepends=('dri2proto')
-sha256sums=('857a01932609225b9a3a5bf222b85e39b55c08787d0ad427dbd9ec033d58d736'
-            'SKIP')
-validpgpkeys=('BD68A042C603DDAD9AA354B0F56ACC8F09BA9635') # Aaron Plattner
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr --sysconfdir=/etc
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-
-  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
-}

Copied: libvdpau/repos/extra-x86_64/PKGBUILD (from rev 309570, libvdpau/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-11 22:50:39 UTC (rev 309571)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libvdpau
+pkgver=1.1.1+3+ga21bf7a
+pkgrel=1
+pkgdesc="Nvidia VDPAU library"
+arch=(i686 x86_64)
+url='https://www.freedesktop.org/wiki/Software/VDPAU/'
+depends=('libxext')
+license=('custom')
+_commit=a21bf7aa438f5dd40d0a300a3167aa3d6f26dccc  # master
+source=("git+https://anongit.freedesktop.org/git/vdpau/libvdpau#commit=$_commit")
+makedepends=('dri2proto' git)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^libvdpau-//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
+build() {
+  cd "${srcdir}/$pkgname"
+  ./configure --prefix=/usr --sysconfdir=/etc
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd "${srcdir}/$pkgname"
+  make DESTDIR="${pkgdir}" install
+
+  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}



More information about the arch-commits mailing list