Skip to content

Commit c6d40f7

Browse files
committed
Merge branch 'gnutls' of https://github.com/jjherman/ffmpeg-build-script into development
2 parents 680b398 + d7f9078 commit c6d40f7

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

build-ffmpeg

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,31 @@ if $NONFREE_AND_GPL; then
400400
build_done "openssl" "1.1.1p"
401401
fi
402402
CONFIGURE_OPTIONS+=("--enable-openssl")
403+
else
404+
if build "gmp" "6.2.1"; then
405+
download "https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.xz"
406+
execute ./configure --prefix="${WORKSPACE}" --disable-shared --enable-static
407+
execute make -j $MJOBS
408+
execute make install
409+
build_done "gmp" "6.2.1"
410+
fi
411+
412+
if build "nettle" "3.8"; then
413+
download "https://ftp.gnu.org/gnu/nettle/nettle-3.8.tar.gz"
414+
execute ./configure --prefix="${WORKSPACE}" --disable-shared --enable-static --disable-openssl --disable-documentation --libdir="${WORKSPACE}"/lib CPPFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
415+
execute make -j $MJOBS
416+
execute make install
417+
build_done "nettle" "3.8"
418+
fi
419+
420+
if build "gnutls" "3.6.16"; then
421+
download "https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/gnutls-3.6.16.tar.xz"
422+
execute ./configure --prefix="${WORKSPACE}" --disable-shared --enable-static --disable-doc --disable-tools --disable-cxx --disable-tests --disable-gtk-doc-html --disable-libdane --disable-nls --enable-local-libopts --disable-guile --with-included-libtasn1 --with-included-unistring --without-p11-kit CPPFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
423+
execute make -j $MJOBS
424+
execute make install
425+
build_done "gnutls" "3.6.16"
426+
fi
427+
CONFIGURE_OPTIONS+=("--enable-gmp" "--enable-gnutls")
403428
fi
404429

405430
if build "cmake" "3.23.1"; then

0 commit comments

Comments
 (0)