Browse Source

Forgot libass, added back in

master
use 1 year ago
parent
commit
4e0dffc0ef
2 changed files with 40 additions and 0 deletions
  1. +1
    -0
      build.sh
  2. +39
    -0
      deps/20_libass/build.sh

+ 1
- 0
build.sh View File

@ -44,6 +44,7 @@ make distclean
--enable-openssl \
--enable-libmp3lame \
--enable-pic \
--enable-libass \
--enable-nonfree
# --disable-debug \

+ 39
- 0
deps/20_libass/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=libass
if ! [[ -d "$pkg" ]]
then
git clone https://github.com/libass/libass.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