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