gemer 4 gadi atpakaļ
vecāks
revīzija
807bbe74ac
1 mainītis faili ar 24 papildinājumiem un 3 dzēšanām
  1. 24 3
      install-ffmpeg

+ 24 - 3
install-ffmpeg

@@ -695,15 +695,35 @@ fi
 # FFmpeg
 #
 
+# build "ffmpeg"
+# download "https://git.ffmpeg.org/gitweb/ffmpeg.git/snapshot/09c358362008e2d04cec8239526c6827543da4cf.tar.gz"
+# # shellcheck disable=SC2086
+# ./configure "${CONFIGURE_OPTIONS[@]}" \
+#   --disable-debug \
+#   --disable-doc \
+#   --disable-shared \
+#   --enable-gpl \
+#   --enable-nonfree \
+#   --enable-pthreads \
+#   --enable-static \
+#   --enable-small \
+#   --enable-version3 \
+#   --extra-cflags="${CFLAGS}" \
+#   --extra-ldexeflags="${LDEXEFLAGS}" \
+#   --extra-ldflags="${LDFLAGS}" \
+#   --extra-libs="${EXTRALIBS}" \
+#   --pkgconfigdir="$WORKSPACE/lib/pkgconfig" \
+#   --pkg-config-flags="--static" \
+#   --prefix="${WORKSPACE}"
+
+
 build "ffmpeg"
-download "https://git.ffmpeg.org/gitweb/ffmpeg.git/snapshot/09c358362008e2d04cec8239526c6827543da4cf.tar.gz"
+download "https://www.ffmpeg.org/releases/ffmpeg-4.4.tar.gz"
 # shellcheck disable=SC2086
 ./configure "${CONFIGURE_OPTIONS[@]}" \
   --disable-debug \
   --disable-doc \
   --disable-shared \
-  --enable-gpl \
-  --enable-nonfree \
   --enable-pthreads \
   --enable-static \
   --enable-small \
@@ -716,6 +736,7 @@ download "https://git.ffmpeg.org/gitweb/ffmpeg.git/snapshot/09c358362008e2d04cec
   --pkg-config-flags="--static" \
   --prefix="${WORKSPACE}"
 
+  
 execute make -j $MJOBS
 execute make install