Move to using GitHub binary releases
authorNirbheek Chauhan <nirbheek@centricular.com>
Sun, 15 Sep 2019 02:35:29 +0000 (08:05 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Mon, 16 Sep 2019 03:21:06 +0000 (08:51 +0530)
Can't update to 2.5.19 because of https://github.com/lexxmark/winflexbison/issues/48

Fixes https://gitlab.freedesktop.org/gstreamer/gst-build/issues/43

subprojects/win-flex-bison-binaries/download-binary.py

index 16f69c9..855a1fa 100644 (file)
@@ -13,7 +13,7 @@ ctx = ssl.create_default_context()
 ctx.check_hostname = False
 ctx.verify_mode = ssl.CERT_NONE
 
-base_url = 'https://sourceforge.net/projects/winflexbison/files/win_flex_bison-{}.zip'
+base_url = 'https://github.com/lexxmark/winflexbison/releases/download/v{0}/win_flex_bison-{0}.zip'
 url = base_url.format(sys.argv[1])
 zip_sha256 = sys.argv[2]
 source_dir = os.path.join(os.environ['MESON_SOURCE_ROOT'], os.environ['MESON_SUBDIR'])