Skip to content

Commit e0542c4

Browse files
committed
build fixes mac
1 parent d6fee6a commit e0542c4

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

build-ffmpeg

+19-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# LICENSE: https://github.com/markus-perl/ffmpeg-build-script/blob/master/LICENSE
55

66
PROGNAME=$(basename "$0")
7-
VERSION=1.26
7+
VERSION=1.27
88
CWD=$(pwd)
99
PACKAGES="$CWD/packages"
1010
WORKSPACE="$CWD/workspace"
@@ -611,12 +611,29 @@ if $NONFREE_AND_GPL; then
611611
CONFIGURE_OPTIONS+=("--enable-libfdk-aac")
612612
fi
613613

614+
if build "libtiff"; then
615+
download "https://download.osgeo.org/libtiff/tiff-4.3.0.tar.gz"
616+
execute ./configure --prefix="${WORKSPACE}" --disable-shared --enable-static
617+
execute make -j $MJOBS
618+
execute make install
619+
build_done "libtiff"
620+
fi
621+
622+
if build "libpng"; then
623+
download "https://deac-riga.dl.sourceforge.net/project/libpng/libpng16/1.6.37/libpng-1.6.37.tar.gz"
624+
execute ./configure --prefix="${WORKSPACE}" --disable-shared --enable-static
625+
execute make -j $MJOBS
626+
execute make install
627+
build_done "libpng"
628+
fi
629+
614630
##
615631
## image library
616632
##
617633

618634
if build "libwebp"; then
619-
download "https://github.com/webmproject/libwebp/archive/v1.2.0.tar.gz" "libwebp-1.2.0.tar.gz"
635+
download "https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.2.0.tar.gz" "libwebp-1.2.0.tar.gz"
636+
execute ./configure --prefix="${WORKSPACE}" --disable-shared --enable-static
620637
make_dir build
621638
cd build || exit
622639
execute cmake -DCMAKE_INSTALL_PREFIX="${WORKSPACE}" -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_BINDIR=bin -DCMAKE_INSTALL_INCLUDEDIR=include -DENABLE_SHARED=OFF -DENABLE_STATIC=ON ../

0 commit comments

Comments
 (0)