28 lines
726 B
Plaintext
28 lines
726 B
Plaintext
# Description: Video Acceleration API to enable hardware accelerated video decode/encode.
|
|
# URL: https://01.org/linuxmedia/vaapi
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: libva1 mesa3d-32 wayland-32
|
|
|
|
name=libva1-32
|
|
version=1.8.3
|
|
release=2
|
|
source=(https://github.com/intel/libva/releases/download/$version/libva-$version.tar.bz2
|
|
libva1-32.conf)
|
|
|
|
build() {
|
|
cd libva-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib32/libva1 \
|
|
--includedir=/usr/include/libva1 \
|
|
--with-drivers-path='/usr/lib32/libva1/dri' \
|
|
--disable-va-messaging
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/include
|
|
install -D -m 0644 $SRC/libva1-32.conf $PKG/etc/ld.so.conf.d/libva1-32.conf
|
|
}
|