[arch-commits] Commit in libvdpau/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Wed Aug 28 19:40:30 UTC 2019
Date: Wednesday, August 28, 2019 @ 19:40:30
Author: alucryd
Revision: 361342
upgpkg: libvdpau 1.3-1
Modified:
libvdpau/trunk/PKGBUILD
----------+
PKGBUILD | 31 ++++++++++---------------------
1 file changed, 10 insertions(+), 21 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-28 17:51:38 UTC (rev 361341)
+++ PKGBUILD 2019-08-28 19:40:30 UTC (rev 361342)
@@ -1,7 +1,7 @@
# Maintainer: Jan de Groot <jgc at archlinux.org>
pkgname=libvdpau
-pkgver=1.2
+pkgver=1.3
pkgrel=1
pkgdesc="Nvidia VDPAU library"
arch=(x86_64)
@@ -8,37 +8,26 @@
url='https://www.freedesktop.org/wiki/Software/VDPAU/'
depends=('libxext')
license=('custom')
-_commit=eac1393480bc7c2209d4984819951cb9dc1e03d0 # libvdpau-1.2
+_commit=f57a9904c43ef5d726320c77baa91d0c38361ed4 # 1.3
source=("git+https://anongit.freedesktop.org/git/vdpau/libvdpau#commit=$_commit")
-makedepends=('dri2proto' git)
+makedepends=('dri2proto' 'git' 'meson')
sha256sums=('SKIP')
pkgver() {
cd $pkgname
- git describe --tags | sed 's/^libvdpau-//;s/-/+/g'
+ git describe --tags | sed 's/-/+/g'
}
-prepare() {
- cd $pkgname
- NOCONFIGURE=1 ./autogen.sh
+build() {
+ arch-meson $pkgname build
+ ninja -C build
}
check() {
- cd $pkgname
- make check
+ ninja -C build test
}
-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}/"
+ DESTDIR="${pkgdir}" ninja -C build install
+ install -Dm 644 $pkgname/COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}/"
}
More information about the arch-commits
mailing list