Browse Source

Added freetype as well

master
use 1 year ago
parent
commit
a194901622
2 changed files with 41 additions and 0 deletions
  1. +2
    -0
      build.sh
  2. +39
    -0
      deps/21_freetype/build.sh

+ 2
- 0
build.sh View File

@ -45,11 +45,13 @@ make distclean
--enable-libmp3lame \
--enable-pic \
--enable-libass \
--enable-libfreetype \
--enable-nonfree
# --disable-debug \
# --enable-debug \
# --enable-libmfx \
# --enable-libsrt \
make -j8
if make

+ 39
- 0
deps/21_freetype/build.sh View File

@ -0,0 +1,39 @@
#!/bin/bash
export PKG_CONFIG_PATH=/app/ffmpeg/install/lib/pkgconfig:/app/ffmpeg/install/lib64/pkgconfig/
curDir="$PWD"
pkg=freetype
if ! [[ -d "$pkg" ]]
then
git clone https://gitlab.freedesktop.org/freetype/freetype.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"

Loading…
Cancel
Save