Open bubbleguuum opened 7 years ago
Simply add code below to build.sh and add --enable-gnutls to ffmpeg's configure.
download \ "gmp-6.1.2.tar.xz" \ "" \ "f58fa8001d60c4c77595fbbb62b63c1d" \ "https://gmplib.org/download/gmp/" download \ "nettle-3.3.tar.gz" \ "" \ "10f969f78a463704ae73529978148dbe" \ "https://ftp.gnu.org/gnu/nettle" download \ "gnutls-3.5.9.tar.xz" \ "" \ "0ab25eb6a1509345dd085bc21a387951" \ "https://www.gnupg.org/ftp/gcrypt/gnutls/v3.5" # must be compiled before libnettle echo "*** Building libgmp ***" cd $BUILD_DIR/gmp* [ $rebuild -eq 1 -a -f Makefile ] && make distclean || true [ ! -f config.status ] && PATH="$BIN_DIR:$PATH" ./configure --prefix=$TARGET_DIR --bindir=$BIN_DIR --disable-shared --with-pic PATH="$BIN_DIR:$PATH" make -j $jval make install echo "*** Building libnettle ***" cd $BUILD_DIR/nettle* [ $rebuild -eq 1 -a -f Makefile ] && make distclean || true [ ! -f config.status ] && PATH="$BIN_DIR:$PATH" ./configure --prefix=$TARGET_DIR --bindir=$BIN_DIR --disable-shared --enable-pic PATH="$BIN_DIR:$PATH" make -j $jval make install echo "*** Building libgnutls ***" cd $BUILD_DIR/gnutls* [ $rebuild -eq 1 -a -f Makefile ] && make distclean || true [ ! -f config.status ] && PATH="$BIN_DIR:$PATH" ./configure --prefix=$TARGET_DIR --bindir=$BIN_DIR --enable-static --disable-shared --with-pic --with-included-libtasn1 --with-included-unistring --without-p11-kit --disable-doc --disable-c\ xx --disable-tools PATH="$BIN_DIR:$PATH" make -j $jval make install
Simply add code below to build.sh and add --enable-gnutls to ffmpeg's configure.