diff options
-rw-r--r-- | bst/.gitignore | 1 | ||||
-rw-r--r-- | bst/elements/base-symlinks.bst | 8 | ||||
-rw-r--r-- | bst/elements/glade.bst | 20 | ||||
-rw-r--r-- | bst/elements/gnome-junction.bst | 9 | ||||
-rw-r--r-- | bst/elements/gnome-platform.bst | 23 | ||||
-rw-r--r-- | bst/elements/gnome-sdk.bst | 23 | ||||
l--------- | bst/files/symlinks/bin/bash | 1 | ||||
l--------- | bst/files/symlinks/bin/sh | 1 | ||||
l--------- | bst/files/symlinks/lib | 1 | ||||
-rw-r--r-- | bst/keys/gnome-sdk.gpg | bin | 0 -> 629 bytes | |||
-rw-r--r-- | bst/project.conf | 21 |
11 files changed, 108 insertions, 0 deletions
diff --git a/bst/.gitignore b/bst/.gitignore new file mode 100644 index 00000000..de356b5f --- /dev/null +++ b/bst/.gitignore @@ -0,0 +1 @@ +.bst/ diff --git a/bst/elements/base-symlinks.bst b/bst/elements/base-symlinks.bst new file mode 100644 index 00000000..b625c918 --- /dev/null +++ b/bst/elements/base-symlinks.bst @@ -0,0 +1,8 @@ +kind: import + +description: | + Add symlinks required to use the GNOME SDK for building. + +sources: +- kind: local + path: files/symlinks/ diff --git a/bst/elements/glade.bst b/bst/elements/glade.bst new file mode 100644 index 00000000..4f451148 --- /dev/null +++ b/bst/elements/glade.bst @@ -0,0 +1,20 @@ +kind: autotools + +description: | + Build Glade from upstream source repo. + +depends: +- filename: gnome-sdk.bst + type: build +- filename: gnome-platform.bst + type: runtime +- filename: base-symlinks.bst + type: all + +sources: +- kind: git + url: git_gnome_org:glade + track: master + +variables: + conf-local: --disable-man-pages diff --git a/bst/elements/gnome-junction.bst b/bst/elements/gnome-junction.bst new file mode 100644 index 00000000..d4465e65 --- /dev/null +++ b/bst/elements/gnome-junction.bst @@ -0,0 +1,9 @@ +kind: junction + +description: | + Connect with the GNOME project's integration repo for the GNOME SDK. + +sources: +- kind: git + url: https://gitlab.gnome.org/GNOME/gnome-build-meta + track: master diff --git a/bst/elements/gnome-platform.bst b/bst/elements/gnome-platform.bst new file mode 100644 index 00000000..7ca9b809 --- /dev/null +++ b/bst/elements/gnome-platform.bst @@ -0,0 +1,23 @@ +kind: import + +description: | + Import GNOME runtime + +sources: +- kind: ostree + url: gnomesdk:repo/ + gpg-key: keys/gnome-sdk.gpg + (?): + - arch == "x86_64": + track: runtime/org.gnome.Platform/x86_64/3.26 + ref: 05052b2520aef1273b724c8f776ee1042975209d5a2e3fc4aa02cb1fad95a856 + - arch == "i386": + track: runtime/org.gnome.Platform/i386/3.26 + - arch == "arm": + track: runtime/org.gnome.Platform/arm/3.26 + - arch == "aarch64": + track: runtime/org.gnome.Platform/aarch64/3.26 + +config: + source: files + target: usr diff --git a/bst/elements/gnome-sdk.bst b/bst/elements/gnome-sdk.bst new file mode 100644 index 00000000..e4634768 --- /dev/null +++ b/bst/elements/gnome-sdk.bst @@ -0,0 +1,23 @@ +kind: import + +description: | + Import GNOME SDK + +sources: +- kind: ostree + url: gnomesdk:repo/ + gpg-key: keys/gnome-sdk.gpg + (?): + - arch == "x86_64": + track: runtime/org.gnome.Sdk/x86_64/3.26 + ref: ff23c4387890886f8fe6a2a1650efaab16a17e260cc06185aa161ea59ebfecb0 + - arch == "i386": + track: runtime/org.gnome.Sdk/i386/3.26 + - arch == "arm": + track: runtime/org.gnome.Sdk/arm/3.26 + - arch == "aarch64": + track: runtime/org.gnome.Sdk/aarch64/3.26 + +config: + source: files + target: usr diff --git a/bst/files/symlinks/bin/bash b/bst/files/symlinks/bin/bash new file mode 120000 index 00000000..8fb99edd --- /dev/null +++ b/bst/files/symlinks/bin/bash @@ -0,0 +1 @@ +/usr/bin/bash
\ No newline at end of file diff --git a/bst/files/symlinks/bin/sh b/bst/files/symlinks/bin/sh new file mode 120000 index 00000000..1087ccec --- /dev/null +++ b/bst/files/symlinks/bin/sh @@ -0,0 +1 @@ +/usr/bin/sh
\ No newline at end of file diff --git a/bst/files/symlinks/lib b/bst/files/symlinks/lib new file mode 120000 index 00000000..2b723f5d --- /dev/null +++ b/bst/files/symlinks/lib @@ -0,0 +1 @@ +/usr/lib/
\ No newline at end of file diff --git a/bst/keys/gnome-sdk.gpg b/bst/keys/gnome-sdk.gpg Binary files differnew file mode 100644 index 00000000..8434b686 --- /dev/null +++ b/bst/keys/gnome-sdk.gpg diff --git a/bst/project.conf b/bst/project.conf new file mode 100644 index 00000000..0e3c75ca --- /dev/null +++ b/bst/project.conf @@ -0,0 +1,21 @@ +# BuildStream project to build and package Glade. + +name: glade + +element-path: elements + +options: + arch: + description: Machine architecture + type: arch + values: + - arm + - aarch64 + - i386 + - x86_64 + +aliases: + git_gnome_org: https://git.gnome.org/browse/ + gnomesdk: https://sdk.gnome.org/ + +fail-on-overlap: false |