diff options
author | Gustavo Alvarez | 2016-10-08 15:14:22 +0200 |
---|---|---|
committer | Gustavo Alvarez | 2016-10-08 15:14:22 +0200 |
commit | 200ca87d4ba5f9e091f54f1d606d7bc13ef1de37 (patch) | |
tree | 05628b253b665b1d0b9f4303222058fa4c5a794a /PKGBUILD | |
download | aur-200ca87d4ba5f9e091f54f1d606d7bc13ef1de37.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d78ba9776b4d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com> +# Contributor: Ionut Biru <ibiru@archlinux.org> + +pkgname=libva-vdpau-driver-chromium +pkgver=0.7.4 +pkgrel=1 +pkgdesc="VDPAU backend for VA API. (special version for chromium)" +arch=('i686' 'x86_64') +url="http://freedesktop.org/wiki/Software/vaapi" +license=('GPL') +depends=('libva' + 'libvdpau' + 'libgl' + ) +makedepends=('mesa') +replaces=('vdpau-video') +provides=('libva-vdpau-driver') +conflicts=('libva-vdpau-driver') +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' + 'libva-vdpau-driver-0.7.4-fallback-x.patch' + ) +sha256sums=('155c1982f0ac3f5435ba20b221bcaa11be212c37db548cd1f2a030ffa17e9bb9' + '776bfe4c101cdde396d8783029b288c6cd825d0cdbc782ca3d94a5f9ffb4558c' + '5e567b026b97dc0e207b6c05410cc1b7b77a58ceb5046801d0ea1a321cba3b9d' + '1ae32b8e5cca1717be4a63f09e8c6bd84a3e9b712b933816cdb32bb315dbda98' + 'b923dc60ad49459ca480a56af075d954b2678a8c7f433fd03f1aa49e58cfe838' + ) + +prepare() { + 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 + patch -p1 -i ../libva-vdpau-driver-0.7.4-fallback-x.patch +} + +build() { + cd "libva-vdpau-driver-${pkgver}" + ./configure \ + --prefix=/usr + make +} + +package() { + make -C "libva-vdpau-driver-${pkgver}" DESTDIR="${pkgdir}" install +} + |