summaryrefslogtreecommitdiff
path: root/recipes/libvorbis.recipe
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-10-24 06:50:20 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2018-10-24 07:16:04 +0530
commitcb104a00debce605f4e362edf58c728577ca921e (patch)
tree0e754dd87711fe8fd6d19fd8627205643c48606f /recipes/libvorbis.recipe
parentcfaf102f6d7a28caddacbf8b98b71b1080754794 (diff)
Implement source url templating for recipes
GNOME, GNU, Savannah, Xiph, and SourceForge source URLs now use templates. More templates can be added in the future. Currently, they can be one of the following forms: scheme:// This will download a file called %(name)s-%(version)s.tar.xz from the canonical place on the specified server. `scheme` can be: gnome, sf, gnu, savannah. scheme://.tar.gz For using the template but with the specified file extension instead of .tar.xz scheme://some/path/to/name-version.tar.xz For using the template only for the mirror domain and common sources path. https://bugzilla.gnome.org/show_bug.cgi?id=797330
Diffstat (limited to 'recipes/libvorbis.recipe')
-rw-r--r--recipes/libvorbis.recipe2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/libvorbis.recipe b/recipes/libvorbis.recipe
index 59687f21..13a3cf3d 100644
--- a/recipes/libvorbis.recipe
+++ b/recipes/libvorbis.recipe
@@ -6,7 +6,7 @@ class Recipe(recipe.Recipe):
name = 'libvorbis'
version = '1.3.5'
stype = SourceType.TARBALL
- url = 'https://downloads.xiph.org/releases/vorbis/libvorbis-%(version)s.tar.xz'
+ url = 'xiph://vorbis/%(name)s-%(version)s.tar.xz'
tarball_checksum = '54f94a9527ff0a88477be0a71c0bab09a4c3febe0ed878b24824906cd4b0e1d1'
licenses = [License.BSD_like]
deps = ['libogg']