diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-10-24 06:50:20 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-10-24 07:16:04 +0530 |
commit | cb104a00debce605f4e362edf58c728577ca921e (patch) | |
tree | 0e754dd87711fe8fd6d19fd8627205643c48606f /recipes/opencore-amr.recipe | |
parent | cfaf102f6d7a28caddacbf8b98b71b1080754794 (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/opencore-amr.recipe')
-rw-r--r-- | recipes/opencore-amr.recipe | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/opencore-amr.recipe b/recipes/opencore-amr.recipe index cc1736e0..adbcdfbe 100644 --- a/recipes/opencore-amr.recipe +++ b/recipes/opencore-amr.recipe @@ -5,7 +5,7 @@ class Recipe(recipe.Recipe): name = 'opencore-amr' version = '0.1.5' stype = SourceType.TARBALL - url = 'https://download.sourceforge.net/opencore-amr/opencore-amr-%(version)s.tar.gz' + url = 'sf://.tar.gz' tarball_checksum = '2c006cb9d5f651bfb5e60156dbff6af3c9d35c7bbcc9015308c0aff1e14cd341' licenses = [License.Apachev2] patches = ['opencore-amr/0001-Fix-include-dir-in-pc-files.patch'] |