summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsL1pKn072019-08-03 17:26:48 +0200
committersL1pKn072019-08-03 17:26:48 +0200
commit5f5b647b66952ecaa150852be82c23238c746129 (patch)
treecc02a8c522b291d42775543acd18288e8b1d7332
parentd2135e8d7f50f236d88760c699b7cd616b7bdac1 (diff)
downloadaur-5f5b647b66952ecaa150852be82c23238c746129.tar.gz
fix build with ugly and non-tested patch
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD13
2 files changed, 9 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3b11977d78c..70a71b04805 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
-# Generated by mksrcinfo v8
-# Fri Mar 8 20:31:59 UTC 2019
pkgbase = libva-vdpau-driver-chromium
pkgdesc = VDPAU backend for VA API. (special version for chromium)
pkgver = 0.7.4
- pkgrel = 4
+ pkgrel = 5
url = http://freedesktop.org/wiki/Software/vaapi
arch = x86_64
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index e3ced0cb2a1..2da7415292a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=libva-vdpau-driver-chromium
pkgver=0.7.4
-pkgrel=4
+pkgrel=5
pkgdesc="VDPAU backend for VA API. (special version for chromium)"
arch=('x86_64')
url='http://freedesktop.org/wiki/Software/vaapi'
@@ -43,14 +43,17 @@ prepare() {
patch -d "libva-vdpau-driver-${pkgver}" -p1 -i "${srcdir}/sigfpe-crash.patch"
patch -d "libva-vdpau-driver-${pkgver}" -p1 -i "${srcdir}/implement-vaquerysurfaceattributes.patch"
+ sed -e '/v4l2_buffer/d' \
+ -e '/v4l2_format/d' \
+ -i "${srcdir}/libva-vdpau-driver-0.7.4/src/"vdpau_video.{h,c}
+}
+
+build() {
cd build
../"libva-vdpau-driver-${pkgver}"/configure \
--prefix=/usr
-}
-
-build() {
- make -C build
+ make
}
package() {