[gnome-build-meta/abderrahim/mirrors: 9/11] add crates alias
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/abderrahim/mirrors: 9/11] add crates alias
- Date: Thu, 23 Dec 2021 21:08:58 +0000 (UTC)
commit c2f2fb9ccfcd690d3137e7d8493878cf73896352
Author: Abderrahim Kitouni <akitouni gnome org>
Date: Wed Dec 22 10:32:38 2021 +0100
add crates alias
elements/core-deps/slirp-helper.bst | 2 +-
elements/sdk/librsvg.bst | 5 +++++
include/aliases.yml | 1 +
project.conf | 3 +++
4 files changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/elements/core-deps/slirp-helper.bst b/elements/core-deps/slirp-helper.bst
index 224c2850e..8027d824d 100644
--- a/elements/core-deps/slirp-helper.bst
+++ b/elements/core-deps/slirp-helper.bst
@@ -12,7 +12,7 @@ depends:
sources:
- kind: tar
- url: https://static.crates.io/crates/libslirp/libslirp-4.3.0.crate
+ url: crates:libslirp/libslirp-4.3.0.crate
- kind: cargo
- kind: patch
path: files/slirp-helper/nix-riscv.patch
diff --git a/elements/sdk/librsvg.bst b/elements/sdk/librsvg.bst
index 499879e2a..445e0b57c 100644
--- a/elements/sdk/librsvg.bst
+++ b/elements/sdk/librsvg.bst
@@ -1,25 +1,30 @@
kind: autotools
+
sources:
- kind: git_tag
url: gnome:librsvg.git
track: main
- kind: cargo
+
build-depends:
- sdk/gobject-introspection.bst
- sdk/gtk-doc.bst
- sdk/vala.bst
- freedesktop-sdk.bst:components/rust.bst
- freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
+
depends:
- sdk/gdk-pixbuf.bst
- sdk/glib.bst
- sdk/pango.bst
- freedesktop-sdk.bst:components/cairo.bst
- freedesktop-sdk.bst:bootstrap-import.bst
+
variables:
conf-local: >-
--enable-gtk-doc
--enable-vala
+
public:
bst:
split-rules:
diff --git a/include/aliases.yml b/include/aliases.yml
index 7d59c330c..e1341f7d5 100644
--- a/include/aliases.yml
+++ b/include/aliases.yml
@@ -9,6 +9,7 @@
aliases:
# file aliases (e.g. tarballs)
cairo: https://cairographics.org/
+ crates: https://static.crates.io/crates/
freedesktop_files: https://gitlab.freedesktop.org/
ftp_gnu_org: https://ftp.gnu.org/gnu/
github_files: https://github.com/
diff --git a/project.conf b/project.conf
index bc56f5993..34e28c3b9 100644
--- a/project.conf
+++ b/project.conf
@@ -131,6 +131,9 @@ sources:
config:
checkout-submodules: false
track-tags: false
+ cargo:
+ config:
+ url: 'crates:'
split-rules:
devel:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]