File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Original file line number Diff line number Diff line change 4
4
# LICENSE: https://github.com/markus-perl/ffmpeg-build-script/blob/master/LICENSE
5
5
6
6
PROGNAME=$( basename " $0 " )
7
- SCRIPT_VERSION=1.28
7
+ SCRIPT_VERSION=1.30
8
+ FFMPEG_VERSION=4.4
8
9
CWD=$( pwd)
9
10
PACKAGES=" $CWD /packages"
10
11
WORKSPACE=" $CWD /workspace"
@@ -132,7 +133,7 @@ build() {
132
133
echo " ======================="
133
134
134
135
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
136
137
echo " $1 version $2 already built. Remove $PACKAGES /$1 .done lockfile to rebuild it."
137
138
return 1
138
139
elif $LATEST ; then
829
830
# # FFmpeg
830
831
# #
831
832
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"
834
835
# shellcheck disable=SC2086
835
836
./configure " ${CONFIGURE_OPTIONS[@]} " \
836
837
--disable-debug \
@@ -846,7 +847,8 @@ download "https://github.com/FFmpeg/FFmpeg/archive/refs/heads/release/4.4.tar.gz
846
847
--extra-libs=" ${EXTRALIBS} " \
847
848
--pkgconfigdir=" $WORKSPACE /lib/pkgconfig" \
848
849
--pkg-config-flags=" --static" \
849
- --prefix=" ${WORKSPACE} "
850
+ --prefix=" ${WORKSPACE} " \
851
+ --extra-version=" ${FFMPEG_VERSION} "
850
852
851
853
execute make -j $MJOBS
852
854
execute make install
You can’t perform that action at this time.
0 commit comments