# Description: Video Acceleration API to enable hardware accelerated video decode/encode. # URL: https://github.com/intel/libva # Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu # Depends on: libdrm libglvnd xorg-libxfixes # Optional: wayland-protocols name=libva version=2.21.0 release=1 source=(https://github.com/intel/libva/archive/$version/$name-$version.tar.gz) build() { CFLAGS+=" -DENABLE_VA_MESSAGING" \ meson setup build $name-$version \ --prefix=/usr \ --buildtype=plain \ --wrap-mode nodownload \ -D b_lto=true \ -D b_pie=true meson compile -C build -j ${JOBS:-1} DESTDIR=$PKG meson install -C build }