summaryrefslogtreecommitdiff
path: root/recipes/vo-aacenc.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/vo-aacenc.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/vo-aacenc.recipe')
-rw-r--r--recipes/vo-aacenc.recipe2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/vo-aacenc.recipe b/recipes/vo-aacenc.recipe
index 19baf451..53721554 100644
--- a/recipes/vo-aacenc.recipe
+++ b/recipes/vo-aacenc.recipe
@@ -6,7 +6,7 @@ class Recipe(recipe.Recipe):
version = '0.1.3'
licenses = [License.Apachev2]
stype = SourceType.TARBALL
- url = 'https://downloads.sourceforge.net/opencore-amr/vo-aacenc-%(version)s.tar.gz'
+ url = 'sf://opencore-amr/%(name)s-%(version)s.tar.gz'
tarball_checksum = 'e51a7477a359f18df7c4f82d195dab4e14e7414cbd48cf79cc195fc446850f36'
autoreconf = True