[gnome-build-meta/abderrahim/bst2: 7/8] Use plugins from junction origin




commit 635fba37a83971fc802185b2e4f0ed203814ddb6
Author: Abderrahim Kitouni <abderrahim kitouni codethink co uk>
Date:   Thu Jul 7 08:06:45 2022 +0100

    Use plugins from junction origin

 elements/freedesktop-sdk.bst                  | 2 ++
 elements/plugins/bst-plugins-experimental.bst | 5 +++++
 elements/plugins/buildstream-plugins.bst      | 5 +++++
 junction.refs                                 | 4 ++++
 project.conf                                  | 8 ++++----
 5 files changed, 20 insertions(+), 4 deletions(-)
---
diff --git a/elements/freedesktop-sdk.bst b/elements/freedesktop-sdk.bst
index bf49cde01..07ad129ce 100644
--- a/elements/freedesktop-sdk.bst
+++ b/elements/freedesktop-sdk.bst
@@ -17,3 +17,5 @@ config:
         bootstrap_build_arch: "ppc64le"
     - arch == "riscv64":
         bootstrap_build_arch: "x86_64"
+  overrides:
+    plugins/bst-plugins-experimental.bst: plugins/bst-plugins-experimental.bst
diff --git a/elements/plugins/bst-plugins-experimental.bst b/elements/plugins/bst-plugins-experimental.bst
new file mode 100644
index 000000000..8a53f551b
--- /dev/null
+++ b/elements/plugins/bst-plugins-experimental.bst
@@ -0,0 +1,5 @@
+kind: junction
+
+sources:
+- kind: tar
+  url: 
gitlab:BuildStream/bst-plugins-experimental/-/archive/fca5db54dc294c3369ef72ba252633eaa60b7da8/bst-plugins-experimental-fca5db54dc294c3369ef72ba252633eaa60b7da8.tar.bz2
diff --git a/elements/plugins/buildstream-plugins.bst b/elements/plugins/buildstream-plugins.bst
new file mode 100644
index 000000000..2a868a755
--- /dev/null
+++ b/elements/plugins/buildstream-plugins.bst
@@ -0,0 +1,5 @@
+kind: junction
+
+sources:
+- kind: tar
+  url: github_files:apache/buildstream-plugins/archive/be1817d649e277a17563db2b2c0e959ae2fef550.tar.gz
diff --git a/junction.refs b/junction.refs
index 18ff07c13..3713c778c 100644
--- a/junction.refs
+++ b/junction.refs
@@ -2,3 +2,7 @@ projects:
   gnome:
     freedesktop-sdk.bst:
     - ref: freedesktop-sdk-22.08beta.6-16-g15820042935aeecf8ed4a5f051a66be740fd0077
+    plugins/buildstream-plugins.bst:
+    - ref: 8d45f09bfd7e1b903bf24c3431b7448c80c08261f9e9a646f8e1119aff73f820
+    plugins/bst-plugins-experimental.bst:
+    - ref: f73f35e6811bb8f6b56cc6e1368ef8a5604bcb59987c7c38771963bb99dbb0e2
diff --git a/project.conf b/project.conf
index 1ef4a55e6..9e29ee9f1 100644
--- a/project.conf
+++ b/project.conf
@@ -165,8 +165,8 @@ variables:
   fix-pyc-timestamps: ''
 
 plugins:
-- origin: pip
-  package-name: buildstream-plugins
+- origin: junction
+  junction: plugins/buildstream-plugins.bst
   elements:
   - autotools
   - meson
@@ -177,8 +177,8 @@ plugins:
   - cargo
   - patch
 
-- origin: pip
-  package-name: bst-plugins-experimental
+- origin: junction
+  junction: plugins/bst-plugins-experimental.bst
   elements:
   - flatpak_image
   - flatpak_repo


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]