29 lines
751 B
Plaintext
29 lines
751 B
Plaintext
# Description: Video Acceleration API to enable hardware accelerated video decode/encode.
|
|
# URL: http://freedesktop.org/wiki/Software/vaapi
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Packager: Tilman Sauerbeck, tilman at crux dot nu
|
|
# Depends on: mesa3d
|
|
|
|
name=libva
|
|
version=1.3.1
|
|
release=2
|
|
source=(http://www.freedesktop.org/software/vaapi/releases/$name/$name-$version.tar.bz2
|
|
0001-va-release-VADisplayContext-at-the-end-of-vaTerminat.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
patch -p1 -i $SRC/0001-va-release-VADisplayContext-at-the-end-of-vaTerminat.patch
|
|
|
|
# --disable-wayland
|
|
sed -i -e '17547,17643d' configure
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-wayland \
|
|
--disable-dependency-tracking
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|