[vlc-commits] [Git][videolan/vlc][master] contrib: ffmpeg: use a release tarball

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Oct 18 08:00:13 UTC 2022



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
b0c7efaf by Steve Lhomme at 2022-10-18T07:00:57+00:00
contrib: ffmpeg: use a release tarball

There are proper release tarballs that we can use. It's must faster to get and
extract than git. If we need new upstream patches we can cherry-pick them until
the next release, like other contribs.

- - - - -


2 changed files:

- + contrib/src/ffmpeg/SHA512SUMS
- contrib/src/ffmpeg/rules.mak


Changes:

=====================================
contrib/src/ffmpeg/SHA512SUMS
=====================================
@@ -0,0 +1 @@
+0b232b66555237ed1a061807f88dbc5e6cd156e604c5d611bb6ac0c32b9006414cc4f30d632b482d9cb95f526df98b36efa3af9c863c52e7b7aa1a183545d915  ffmpeg-4.4.3.tar.xz


=====================================
contrib/src/ffmpeg/rules.mak
=====================================
@@ -1,7 +1,11 @@
 # FFmpeg
 
 FFMPEG_HASH=ec47a3b95f88fc3f820b900038ac439e4eb3fede
-FFMPEG_BRANCH=release/4.4
+FFMPEG_MAJVERSION := 4.4
+FFMPEG_REVISION := 3
+FFMPEG_VERSION := $(FFMPEG_MAJVERSION).$(FFMPEG_REVISION)
+FFMPEG_BRANCH=release/$(FFMPEG_MAJVERSION)
+FFMPEG_URL := https://ffmpeg.org/releases/ffmpeg-$(FFMPEG_VERSION).tar.xz
 FFMPEG_GITURL := http://git.videolan.org/git/ffmpeg.git
 FFMPEG_LAVC_MIN := 57.37.100
 
@@ -201,11 +205,16 @@ FFMPEGCONF += --nm="$(NM)" --ar="$(AR)" --ranlib="$(RANLIB)"
 $(TARBALLS)/ffmpeg-$(FFMPEG_BASENAME).tar.xz:
 	$(call download_git,$(FFMPEG_GITURL),$(FFMPEG_BRANCH),$(FFMPEG_HASH))
 
-.sum-ffmpeg: $(TARBALLS)/ffmpeg-$(FFMPEG_BASENAME).tar.xz
-	$(call check_githash,$(FFMPEG_HASH))
-	touch $@
+# .sum-ffmpeg: $(TARBALLS)/ffmpeg-$(FFMPEG_BASENAME).tar.xz
+# 	$(call check_githash,$(FFMPEG_HASH))
+# 	touch $@
+
+$(TARBALLS)/ffmpeg-$(FFMPEG_VERSION).tar.xz:
+	$(call download_pkg,$(FFMPEG_URL),ffmpeg)
+
+.sum-ffmpeg: ffmpeg-$(FFMPEG_VERSION).tar.xz
 
-ffmpeg: ffmpeg-$(FFMPEG_BASENAME).tar.xz .sum-ffmpeg
+ffmpeg: ffmpeg-$(FFMPEG_VERSION).tar.xz .sum-ffmpeg
 	$(UNPACK)
 	$(APPLY) $(SRC)/ffmpeg/armv7_fixup.patch
 	$(APPLY) $(SRC)/ffmpeg/dxva_vc1_crash.patch



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b0c7efaff3dcfc4c25484033d88c609947856b8c

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b0c7efaff3dcfc4c25484033d88c609947856b8c
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list