From e56ec5e81a52c5297d030b3f72b841bb04f20142 Mon Sep 17 00:00:00 2001 From: use Date: Wed, 29 Mar 2023 18:03:03 -0700 Subject: [PATCH] Turns out still need the i965 drivers --- README.md | 5 ++- build.sh | 2 +- .../build.sh | 0 .../build.sh | 0 deps/{13_libvpx => 05_libvpx}/build.sh | 0 deps/06_intel-vaapi/build.sh | 40 +++++++++++++++++++ deps/{05_intel-sdk => 07_intel-sdk}/build.sh | 0 .../build.sh | 0 .../build.sh | 0 deps/{08_SDL => 10_SDL}/build.sh | 0 deps/{09_libevent => 11_libevent}/build.sh | 0 deps/{10_libjpeg => 12_libjpeg}/build.sh | 0 deps/{11_libvorbis => 13_libvorbis}/build.sh | 0 deps/{12_libwebp => 14_libwebp}/build.sh | 0 .../build.sh | 0 deps/{15_x264 => 16_x264}/build.sh | 0 deps/{16_x265 => 17_x265}/build.sh | 0 deps/{17_oneVPL => 18_oneVPL}/build.sh | 0 deps/{18_zimg => 19_zimg}/build.sh | 0 19 files changed, 44 insertions(+), 3 deletions(-) rename deps/{04_intel-libva => 04a_intel-libva}/build.sh (100%) rename deps/{04a_intel_libva_utils => 04b_intel-libva-utils}/build.sh (100%) rename deps/{13_libvpx => 05_libvpx}/build.sh (100%) create mode 100644 deps/06_intel-vaapi/build.sh rename deps/{05_intel-sdk => 07_intel-sdk}/build.sh (100%) rename deps/{06_intel-media-driver => 08_intel-media-driver}/build.sh (100%) rename deps/{07_libmemcached => 09_libmemcached}/build.sh (100%) rename deps/{08_SDL => 10_SDL}/build.sh (100%) rename deps/{09_libevent => 11_libevent}/build.sh (100%) rename deps/{10_libjpeg => 12_libjpeg}/build.sh (100%) rename deps/{11_libvorbis => 13_libvorbis}/build.sh (100%) rename deps/{12_libwebp => 14_libwebp}/build.sh (100%) rename deps/{14_ImageMagick => 15_ImageMagick}/build.sh (100%) rename deps/{15_x264 => 16_x264}/build.sh (100%) rename deps/{16_x265 => 17_x265}/build.sh (100%) rename deps/{17_oneVPL => 18_oneVPL}/build.sh (100%) rename deps/{18_zimg => 19_zimg}/build.sh (100%) diff --git a/README.md b/README.md index 77aa3bc..39232f7 100644 --- a/README.md +++ b/README.md @@ -6,5 +6,6 @@ Will pull the latest versions of the packages from github, install them to the specified location, and then remove the source code (if successful). Packages that are not included, but are required include (but are not limited -to) gcc > v.11; gnu binutils > v2.6; and clang. Good luck, and as usual you'll -want to send a prayer up to St. Isidore. +to) gcc > v.11; gnu binutils > v2.6; xorg-x11-drv-intel-devel (intel-gen4asm); +and clang. Good luck, and as usual you'll want to send a prayer up to +St. Isidore. diff --git a/build.sh b/build.sh index 76f9a7a..c57b0dd 100644 --- a/build.sh +++ b/build.sh @@ -45,9 +45,9 @@ make distclean --enable-pic \ --enable-nonfree - # --disable-debug \ # --enable-debug \ +# --enable-libvpl \ make -j8 if make diff --git a/deps/04_intel-libva/build.sh b/deps/04a_intel-libva/build.sh similarity index 100% rename from deps/04_intel-libva/build.sh rename to deps/04a_intel-libva/build.sh diff --git a/deps/04a_intel_libva_utils/build.sh b/deps/04b_intel-libva-utils/build.sh similarity index 100% rename from deps/04a_intel_libva_utils/build.sh rename to deps/04b_intel-libva-utils/build.sh diff --git a/deps/13_libvpx/build.sh b/deps/05_libvpx/build.sh similarity index 100% rename from deps/13_libvpx/build.sh rename to deps/05_libvpx/build.sh diff --git a/deps/06_intel-vaapi/build.sh b/deps/06_intel-vaapi/build.sh new file mode 100644 index 0000000..2105215 --- /dev/null +++ b/deps/06_intel-vaapi/build.sh @@ -0,0 +1,40 @@ +#!/bin/bash + +export PKG_CONFIG_PATH=/app/ffmpeg/install/lib/pkgconfig:/app/ffmpeg/install/lib64/pkgconfig/ +unset LIBVA_DRIVERS_PATH +curDir="$PWD" + +pkg=intel-vaapi-driver +if ! [[ -d "$pkg" ]] +then + git clone https://github.com/intel/intel-vaapi-driver.git +fi +cd "$pkg" + +if ! [[ -f configure ]] && [[ -f autogen.sh ]] +then + bash autogen.sh +elif ! [[ -f configure ]] +then + echo "NO WAY TO CONFIGURE?, CMAKE?" + exit 1 +fi + +make clean +make distclean +./configure \ + --prefix="/app/ffmpeg/install/" + +#make -j8 +if make +then + make install + cd "$curDir" + rm -rf "$pkg" +else + cd "$curDir" + echo "BUILD FAILED" +fi + +echo "Done" + diff --git a/deps/05_intel-sdk/build.sh b/deps/07_intel-sdk/build.sh similarity index 100% rename from deps/05_intel-sdk/build.sh rename to deps/07_intel-sdk/build.sh diff --git a/deps/06_intel-media-driver/build.sh b/deps/08_intel-media-driver/build.sh similarity index 100% rename from deps/06_intel-media-driver/build.sh rename to deps/08_intel-media-driver/build.sh diff --git a/deps/07_libmemcached/build.sh b/deps/09_libmemcached/build.sh similarity index 100% rename from deps/07_libmemcached/build.sh rename to deps/09_libmemcached/build.sh diff --git a/deps/08_SDL/build.sh b/deps/10_SDL/build.sh similarity index 100% rename from deps/08_SDL/build.sh rename to deps/10_SDL/build.sh diff --git a/deps/09_libevent/build.sh b/deps/11_libevent/build.sh similarity index 100% rename from deps/09_libevent/build.sh rename to deps/11_libevent/build.sh diff --git a/deps/10_libjpeg/build.sh b/deps/12_libjpeg/build.sh similarity index 100% rename from deps/10_libjpeg/build.sh rename to deps/12_libjpeg/build.sh diff --git a/deps/11_libvorbis/build.sh b/deps/13_libvorbis/build.sh similarity index 100% rename from deps/11_libvorbis/build.sh rename to deps/13_libvorbis/build.sh diff --git a/deps/12_libwebp/build.sh b/deps/14_libwebp/build.sh similarity index 100% rename from deps/12_libwebp/build.sh rename to deps/14_libwebp/build.sh diff --git a/deps/14_ImageMagick/build.sh b/deps/15_ImageMagick/build.sh similarity index 100% rename from deps/14_ImageMagick/build.sh rename to deps/15_ImageMagick/build.sh diff --git a/deps/15_x264/build.sh b/deps/16_x264/build.sh similarity index 100% rename from deps/15_x264/build.sh rename to deps/16_x264/build.sh diff --git a/deps/16_x265/build.sh b/deps/17_x265/build.sh similarity index 100% rename from deps/16_x265/build.sh rename to deps/17_x265/build.sh diff --git a/deps/17_oneVPL/build.sh b/deps/18_oneVPL/build.sh similarity index 100% rename from deps/17_oneVPL/build.sh rename to deps/18_oneVPL/build.sh diff --git a/deps/18_zimg/build.sh b/deps/19_zimg/build.sh similarity index 100% rename from deps/18_zimg/build.sh rename to deps/19_zimg/build.sh