summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 19 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 95c72b2d9cda..6e8151864678 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,10 +2,11 @@
# Contributer: uth 2.0.0 update
#
# Supported Platforms Features
-# Haswell (HSW) vp8enc
-# Bay Trail M (BYT) vp8enc
-# Broadwell (BRW) vp9dec vp9enc
-# Braswell (BSW) vp8enc vp9dec
+# Haswell (HSW) vp8enc
+# Bay Trail M (BYT) vp8enc
+# Broadwell (BRW) vp9dec vp9enc
+# Braswell (BSW) vp8enc vp9dec
+#
#
# The libva-intel-driver package isn't compiled with support for loading this driver
# so in order to use this driver's features with non hybrid codecs either
@@ -17,15 +18,21 @@ _gitroot="git+https://github.com/01org/intel-hybrid-driver.git"
_gitname=intel-hybrid-driver
_pkgver=2.0.0
pkgver=$_pkgver.r169.edead0c
-pkgrel=1
+pkgrel=4
pkgdesc='Libva support for partially hardware accelerated encode and decode on Haswell and newer'
-arch=('i686' 'x86_64')
+arch=('x86_64')
+install=${pkgname}.install
url='https://01.org/linuxmedia/vaapi'
license=('MIT')
depends=('libva' 'libcmrt')
optdepends=('libva-intel-driver-hybrid: To be able to use the full hw codecs with hybrid codecs')
-source=("$_gitname::$_gitroot")
-sha256sums=('SKIP')
+makedepends=('git')
+source=("$_gitname::$_gitroot"
+ 'gcc10-fix.patch'
+ 'vadriverinit-fix.patch')
+sha256sums=('SKIP'
+ '90c01a1771f90007b001057edd4ada66751e54ccc380b3d87672694ab7ea92cb'
+ '5359cfa322403bad1a20dc55de290c5f5c2f8d56afeba9c4a84dfc35cc89ec8b')
pkgver() {
cd ${srcdir}/$_gitname
@@ -34,12 +41,15 @@ pkgver() {
prepare() {
cd ${srcdir}/${_gitname}
+ patch -p1 -i ${srcdir}/gcc10-fix.patch
+ patch -p1 -i ${srcdir}/vadriverinit-fix.patch
autoreconf -v --install
}
build() {
cd ${srcdir}/${_gitname}
- ./configure --prefix=/usr
+ ./configure --prefix=/usr \
+ --disable-x11
make
}