[vlc-commits] [Git][videolan/vlc][3.0.x] contrib: use download_pkg for tarballs not hosted by videolan

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Jul 31 12:45:17 UTC 2026



Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC


Commits:
16ad0e91 by Steve Lhomme at 2026-07-31T11:23:00+02:00
contrib: use download_pkg for tarballs not hosted by videolan

So we can fallback to the Videolan server when the source fails.

- - - - -


5 changed files:

- contrib/src/amf/rules.mak
- contrib/src/mad/rules.mak
- contrib/src/xau/rules.mak
- contrib/src/xcb-proto/rules.mak
- contrib/src/xproto/rules.mak


Changes:

=====================================
contrib/src/amf/rules.mak
=====================================
@@ -18,7 +18,7 @@ endif
 endif
 
 $(TARBALLS)/AMF-$(AMF_VERSION).tar.gz:
-	$(call download,$(AMF_URL))
+	$(call download_pkg,$(AMF_URL),amf)
 
 .sum-amf: AMF-$(AMF_VERSION).tar.gz
 


=====================================
contrib/src/mad/rules.mak
=====================================
@@ -18,7 +18,7 @@ endif
 endif
 
 $(TARBALLS)/libmad-$(MAD_VERSION).tar.gz:
-	$(call download,$(MAD_URL))
+	$(call download_pkg,$(MAD_URL),mad)
 
 .sum-mad: libmad-$(MAD_VERSION).tar.gz
 


=====================================
contrib/src/xau/rules.mak
=====================================
@@ -3,7 +3,7 @@ XAU_VERSION := 1.0.6
 XAU_URL := http://xorg.freedesktop.org/releases/individual/lib/libXau-$(XAU_VERSION).tar.bz2
 
 $(TARBALLS)/libXau-$(XAU_VERSION).tar.bz2:
-	$(call download,$(XAU_URL))
+	$(call download_pkg,$(XAU_URL),xau)
 
 ifeq ($(call need_pkg,"xau"),)
 PKGS_FOUND += xau


=====================================
contrib/src/xcb-proto/rules.mak
=====================================
@@ -8,7 +8,7 @@ PKGS_FOUND += xcb-proto
 endif
 
 $(TARBALLS)/xcb-proto-$(XCB_PROTO_VERSION).tar.bz2:
-	$(call download,$(XCB_PROTO_URL))
+	$(call download_pkg,$(XCB_PROTO_URL),xcp-proto)
 
 .sum-xcb-proto: xcb-proto-$(XCB_PROTO_VERSION).tar.bz2
 


=====================================
contrib/src/xproto/rules.mak
=====================================
@@ -3,7 +3,7 @@ XPROTO_VERSION := 7.0.29
 XPROTO_URL := http://xorg.freedesktop.org/releases/individual/proto/xproto-$(XPROTO_VERSION).tar.bz2
 
 $(TARBALLS)/xproto-$(XPROTO_VERSION).tar.bz2:
-	$(call download,$(XPROTO_URL))
+	$(call download_pkg,$(XPROTO_URL),xproto)
 
 ifeq ($(call need_pkg,"xproto"),)
 PKGS_FOUND += xproto



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/16ad0e9133c2643bbcaf56e182a537fd403ff292
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list