Date: Sunday, October 29, 2017 @ 21:36:57 Author: alucryd Revision: 308612
libva 2.0.0 rebuild: libva-vdpau-driver 0.7.4-3 Modified: libva-vdpau-driver/trunk/PKGBUILD ----------+ PKGBUILD | 42 +++++++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 19 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-10-29 21:28:27 UTC (rev 308611) +++ PKGBUILD 2017-10-29 21:36:57 UTC (rev 308612) @@ -1,26 +1,27 @@ # $Id$ -# Maintainer: Ionut Biru <ib...@archlinux.org> +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> +# Contributor: Ionut Biru <ib...@archlinux.org> pkgname=libva-vdpau-driver pkgver=0.7.4 -pkgrel=2 -pkgdesc="VDPAU backend for VA API" +pkgrel=3 +pkgdesc='VDPAU backend for VA API' arch=('i686' 'x86_64') -url="http://freedesktop.org/wiki/Software/vaapi" +url='http://freedesktop.org/wiki/Software/vaapi' license=('GPL') -depends=('libva' 'libvdpau' 'libgl') +depends=('glibc' 'libgl' 'libva' 'libvdpau' 'libx11') makedepends=('mesa') -replaces=('vdpau-video') -source=(http://freedesktop.org/software/vaapi/releases/$pkgname/$pkgname-$pkgver.tar.bz2 - libva-vdpau-driver-0.7.4-glext-missing-definition.patch - libva-vdpau-driver-0.7.4-libvdpau-0.8.patch - libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch) -sha1sums=('224318f4ea8bafca6a0fec770e388b7d1a1a66b3' - 'e734b1e16211a78adc76c59279352dfeb8ea5b22' - 'f465fbf5dfc32459b060f320b9b2fe15a13e6d9d' - '219a01631e2791fa3c3e077a9176c141aaf5f69b') +source=("http://freedesktop.org/software/vaapi/releases/libva-vdpau-driver/libva-vdpau-driver-${pkgver}.tar.bz2" + 'libva-vdpau-driver-0.7.4-glext-missing-definition.patch' + 'libva-vdpau-driver-0.7.4-libvdpau-0.8.patch' + 'libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch') +sha256sums=('155c1982f0ac3f5435ba20b221bcaa11be212c37db548cd1f2a030ffa17e9bb9' + '776bfe4c101cdde396d8783029b288c6cd825d0cdbc782ca3d94a5f9ffb4558c' + '5e567b026b97dc0e207b6c05410cc1b7b77a58ceb5046801d0ea1a321cba3b9d' + '1ae32b8e5cca1717be4a63f09e8c6bd84a3e9b712b933816cdb32bb315dbda98') prepare() { - cd $pkgname-$pkgver + cd libva-vdpau-driver-${pkgver} + patch -p1 -i ../libva-vdpau-driver-0.7.4-glext-missing-definition.patch patch -p1 -i ../libva-vdpau-driver-0.7.4-libvdpau-0.8.patch patch -p1 -i ../libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch @@ -27,14 +28,17 @@ } build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr + cd libva-vdpau-driver-${pkgver} + + ./configure \ + --prefix='/usr' make } package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install + cd libva-vdpau-driver-${pkgver} + + make DESTDIR="${pkgdir}" install } # vim:set ts=2 sw=2 et: