File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 44# LICENSE: https://github.com/markus-perl/ffmpeg-build-script/blob/master/LICENSE
55
66PROGNAME=$( basename " $0 " )
7- SCRIPT_VERSION=1.28
7+ SCRIPT_VERSION=1.30
8+ FFMPEG_VERSION=4.4
89CWD=$( pwd)
910PACKAGES=" $CWD /packages"
1011WORKSPACE=" $CWD /workspace"
@@ -132,7 +133,7 @@ build() {
132133 echo " ======================="
133134
134135 if [ -f " $PACKAGES /$1 .done" ]; then
135- if grep -Fx " $2 " " $PACKAGES /$1 .done" ; then
136+ if grep -Fx " $2 " " $PACKAGES /$1 .done" > /dev/null ; then
136137 echo " $1 version $2 already built. Remove $PACKAGES /$1 .done lockfile to rebuild it."
137138 return 1
138139 elif $LATEST ; then
829830# # FFmpeg
830831# #
831832
832- build " ffmpeg" " 4.4 "
833- download " https://github.com/FFmpeg/FFmpeg/archive/refs/heads/release/4.4. tar.gz" " FFmpeg-release-4.4 .tar.gz"
833+ build " ffmpeg" " $FFMPEG_VERSION "
834+ download " https://github.com/FFmpeg/FFmpeg/archive/refs/heads/release/$FFMPEG_VERSION . tar.gz" " FFmpeg-release-$FFMPEG_VERSION .tar.gz"
834835# shellcheck disable=SC2086
835836./configure " ${CONFIGURE_OPTIONS[@]} " \
836837 --disable-debug \
@@ -846,7 +847,8 @@ download "https://github.com/FFmpeg/FFmpeg/archive/refs/heads/release/4.4.tar.gz
846847 --extra-libs=" ${EXTRALIBS} " \
847848 --pkgconfigdir=" $WORKSPACE /lib/pkgconfig" \
848849 --pkg-config-flags=" --static" \
849- --prefix=" ${WORKSPACE} "
850+ --prefix=" ${WORKSPACE} " \
851+ --extra-version=" ${FFMPEG_VERSION} "
850852
851853execute make -j $MJOBS
852854execute make install
You can’t perform that action at this time.
0 commit comments