summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-01-26 22:01:00 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-01-26 22:01:00 +0900
commit70a45a4364bb270ba6d83476fd19be11e5b6cf65 (patch)
treeed81228fb3f98b08a6e7d321e6da5b80119a1565
parent3b4a250c527d188f26e8deb6f10e59dbe8b18356 (diff)
downloaddefinitions-70a45a4364bb270ba6d83476fd19be11e5b6cf65.tar.gz
gnome-sdk.bst: Architecture conditional ostree import source
Pull in a different org.gnome.Sdk branch depending on the build architecture.
-rw-r--r--gnome-sdk.bst21
1 files changed, 15 insertions, 6 deletions
diff --git a/gnome-sdk.bst b/gnome-sdk.bst
index 6d990831..6c645fa3 100644
--- a/gnome-sdk.bst
+++ b/gnome-sdk.bst
@@ -1,11 +1,5 @@
kind: import
description: Import the GNOME SDK
-sources:
-- kind: ostree
- url: https://sdk.gnome.org/repo/
- track: runtime/org.gnome.Sdk/x86_64/3.22
- gpg-key: keys/gnome-sdk.gpg
- ref: 4f68757ee521fbec13809d4fbad5eac13b0a828908d9599d33ef5de6d47abf5b
config:
source: files
target: usr
@@ -16,3 +10,18 @@ public:
if [ -d "/app/share/glib-2.0/schemas" ]; then
glib-compile-schemas /app/share/glib-2.0/schemas
fi
+arches:
+ x86_64:
+ sources:
+ - kind: ostree
+ url: https://sdk.gnome.org/repo/
+ track: runtime/org.gnome.Sdk/x86_64/3.22
+ gpg-key: keys/gnome-sdk.gpg
+ ref: bc2d97521fa42ca824b4d28b1b7746e275820b26aa63c9ae08d6aa5eefcfee20
+ i386:
+ sources:
+ - kind: ostree
+ url: https://sdk.gnome.org/repo/
+ track: runtime/org.gnome.Sdk/i386/3.22
+ gpg-key: keys/gnome-sdk.gpg
+ ref: f5616d5b7257a81a8e8b08c34cd7ffcfe3b79c80439c969799dc8617fd9ac5c5