Add expat library for build fontconfig & libass
This commit is contained in:
parent
3ecfb23328
commit
7105bfb020
|
@ -15,6 +15,8 @@
|
||||||
# - make
|
# - make
|
||||||
# - meson/ninja
|
# - meson/ninja
|
||||||
# - gperf
|
# - gperf
|
||||||
|
# - autoconf
|
||||||
|
# - libtool
|
||||||
|
|
||||||
# Build variables
|
# Build variables
|
||||||
dir_build="/opt/ffmpeg-builds/build/linux32"
|
dir_build="/opt/ffmpeg-builds/build/linux32"
|
||||||
|
@ -44,6 +46,9 @@ CXX_COMPILER="g++"
|
||||||
lib_zlib="http://sourceforge.net/projects/libpng/files/zlib/1.2.11/zlib-1.2.11.tar.gz"
|
lib_zlib="http://sourceforge.net/projects/libpng/files/zlib/1.2.11/zlib-1.2.11.tar.gz"
|
||||||
lib_zlib_name="zlib-1.2.11.tar.gz@zlib-1.2.11"
|
lib_zlib_name="zlib-1.2.11.tar.gz@zlib-1.2.11"
|
||||||
|
|
||||||
|
lib_expat="https://github.com/libexpat/libexpat/releases/download/R_2_4_1/expat-2.4.1.tar.bz2"
|
||||||
|
lib_expat_name="expat-2.4.1.tar.bz2@expat-2.4.1"
|
||||||
|
|
||||||
lib_fontconfig="https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.13.94.tar.gz"
|
lib_fontconfig="https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.13.94.tar.gz"
|
||||||
lib_fontconfig_name="fontconfig-2.13.94.tar.gz@fontconfig-2.13.94"
|
lib_fontconfig_name="fontconfig-2.13.94.tar.gz@fontconfig-2.13.94"
|
||||||
|
|
||||||
|
@ -148,6 +153,22 @@ else
|
||||||
make install
|
make install
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Build expat
|
||||||
|
if [ -f ${dir_build_libs}/lib/pkgconfig/expat.pc ] ; then
|
||||||
|
echo "* Expat was compiled previosly"
|
||||||
|
sleep 1
|
||||||
|
else
|
||||||
|
cd ${dir_build_libs}
|
||||||
|
name_package=$(echo ${lib_expat_name} | cut -d "@" -f 1)
|
||||||
|
name_folder=$(echo ${lib_expat_name} | cut -d "@" -f 2)
|
||||||
|
wget -c "${lib_expat}"
|
||||||
|
tar jxvf ${name_package}
|
||||||
|
cd "${name_folder}"
|
||||||
|
PKG_CONFIG_PATH=${dir_build_libs}/lib/pkgconfig/ LD_LIBRARY_PATH=${dir_build_libs}/lib/ CC="${C_COMPILER}" CXX="${CXX_COMPILER}" ./configure --prefix=${dir_build_libs} --enable-static --enable-shared
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
fi
|
||||||
|
|
||||||
# Build frei0r
|
# Build frei0r
|
||||||
if [ -d ${dir_build_libs}/lib/frei0r-1 ] ; then
|
if [ -d ${dir_build_libs}/lib/frei0r-1 ] ; then
|
||||||
echo "* Frei0r was compiled previosly"
|
echo "* Frei0r was compiled previosly"
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
# - make
|
# - make
|
||||||
# - meson/ninja
|
# - meson/ninja
|
||||||
# - gperf
|
# - gperf
|
||||||
|
# - autoconf
|
||||||
|
# - libtool
|
||||||
|
|
||||||
# Build variables
|
# Build variables
|
||||||
dir_build="/opt/ffmpeg-builds/build/linux64"
|
dir_build="/opt/ffmpeg-builds/build/linux64"
|
||||||
|
@ -44,6 +46,9 @@ CXX_COMPILER="g++"
|
||||||
lib_zlib="http://sourceforge.net/projects/libpng/files/zlib/1.2.11/zlib-1.2.11.tar.gz"
|
lib_zlib="http://sourceforge.net/projects/libpng/files/zlib/1.2.11/zlib-1.2.11.tar.gz"
|
||||||
lib_zlib_name="zlib-1.2.11.tar.gz@zlib-1.2.11"
|
lib_zlib_name="zlib-1.2.11.tar.gz@zlib-1.2.11"
|
||||||
|
|
||||||
|
lib_expat="https://github.com/libexpat/libexpat/releases/download/R_2_4_1/expat-2.4.1.tar.bz2"
|
||||||
|
lib_expat_name="expat-2.4.1.tar.bz2@expat-2.4.1"
|
||||||
|
|
||||||
lib_fontconfig="https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.13.94.tar.gz"
|
lib_fontconfig="https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.13.94.tar.gz"
|
||||||
lib_fontconfig_name="fontconfig-2.13.94.tar.gz@fontconfig-2.13.94"
|
lib_fontconfig_name="fontconfig-2.13.94.tar.gz@fontconfig-2.13.94"
|
||||||
|
|
||||||
|
@ -148,6 +153,22 @@ else
|
||||||
make install
|
make install
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Build expat
|
||||||
|
if [ -f ${dir_build_libs}/lib/pkgconfig/expat.pc ] ; then
|
||||||
|
echo "* Expat was compiled previosly"
|
||||||
|
sleep 1
|
||||||
|
else
|
||||||
|
cd ${dir_build_libs}
|
||||||
|
name_package=$(echo ${lib_expat_name} | cut -d "@" -f 1)
|
||||||
|
name_folder=$(echo ${lib_expat_name} | cut -d "@" -f 2)
|
||||||
|
wget -c "${lib_expat}"
|
||||||
|
tar jxvf ${name_package}
|
||||||
|
cd "${name_folder}"
|
||||||
|
PKG_CONFIG_PATH=${dir_build_libs}/lib/pkgconfig/ LD_LIBRARY_PATH=${dir_build_libs}/lib/ CC="${C_COMPILER}" CXX="${CXX_COMPILER}" ./configure --prefix=${dir_build_libs} --enable-static --enable-shared
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
fi
|
||||||
|
|
||||||
# Build frei0r
|
# Build frei0r
|
||||||
if [ -d ${dir_build_libs}/lib/frei0r-1 ] ; then
|
if [ -d ${dir_build_libs}/lib/frei0r-1 ] ; then
|
||||||
echo "* Frei0r was compiled previosly"
|
echo "* Frei0r was compiled previosly"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user