Skip to content

Commit

Permalink
fix(libva): allow configuration of used driver via ENV variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadowghost committed Mar 2, 2022
1 parent 0277d37 commit ca51774
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docker-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ prepare_extra_amd64() {
git clone --depth=1 https://github.com/intel/libva
pushd libva
sed -i 's|getenv("LIBVA_DRIVERS_PATH")|"/usr/lib/jellyfin-ffmpeg/lib/dri:/usr/lib/x86_64-linux-gnu/dri:/usr/lib/dri:/usr/local/lib/dri"|g' va/va.c
sed -i 's|getenv("LIBVA_DRIVER_NAME")|NULL|g' va/va.c
./autogen.sh
./configure --prefix=${TARGET_DIR}
make -j$(nproc) && make install && make install DESTDIR=${SOURCE_DIR}/intel
Expand Down

0 comments on commit ca51774

Please sign in to comment.