tce-load -i compiletc libdrm-dev [pass1] Xorg-7.7-dev [pass2]

wget https://github.com/intel/libva/releases/download/2.13.0/libva-2.13.0.tar.bz2

cd libva-2.13.0

CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --disable-static --sysconfdir=/etc

find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \;

make [0m 5.37s]
sudo make install

libva - 2.13.0 (VA-API 1.13.0)

Installation prefix .............. : /usr/local
Default driver path .............. : ${exec_prefix}/lib/dri
Extra window systems ............. : drm x11 glx wayland
Build documentation .............. : no
Build with messaging ............. : yes
