24 lines
729 B
Plaintext
24 lines
729 B
Plaintext
# Description: Video Acceleration API to enable hardware accelerated video decode/encode, version 1.8
|
|
# URL: https://01.org/linuxmedia/vaapi
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: libdrm mesa3d libglvnd wayland xorg-libxfixes
|
|
|
|
name=libva1
|
|
version=1.8.3
|
|
release=1
|
|
source=(https://github.com/intel/libva/releases/download/$version/${name:0:5}-$version.tar.bz2 libva1.conf)
|
|
|
|
build() {
|
|
cd ${name:0:5}-$version
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib/libva1 \
|
|
--includedir=/usr/include/libva1 \
|
|
--with-drivers-path=/usr/lib/libva1/dri \
|
|
--disable-va-messaging
|
|
make
|
|
make DESTDIR=$PKG install
|
|
install -d $PKG/etc/ld.so.conf.d
|
|
cp $SRC/libva1.conf $PKG/etc/ld.so.conf.d
|
|
}
|