[gnome-build-meta/abderrahim/openh264: 1/2] .gitlab-ci.yml: publish the new openh264 extension to the nightly repo



commit c47ff3dc1c756d7f7b26913030b71139222dbcbe
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Fri Nov 15 21:51:21 2019 +0100

    .gitlab-ci.yml: publish the new openh264 extension to the nightly repo

 .gitlab-ci.yml                           | 10 ++++++++++
 elements/flatpak-platform-extensions.bst |  3 ++-
 elements/openh264-extension.bst          |  6 ++++++
 junction.refs                            |  2 ++
 4 files changed, 20 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b65a1728..d63da39c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -100,6 +100,8 @@ default:
   - |
     # Only run this build for x86_64, instead of building it somewhere else
     if [ "${ARCH}" == "x86_64" ]; then
+        ${BST} build openh264-extension.bst:flatpak-repo.bst
+
         #
         # Don't try to push the resulting artifacts, the huge image doesnt
         # work well with the artifact cache right now.
@@ -150,6 +152,14 @@ default:
         rm -rf checkout-repo/
     fi
 
+  - |
+    if test $FLAT_MANAGER_REPO == nightly -a $ARCH == x86_64; then
+        ${BST} pull openh264-extension.bst:flatpak-repo.bst
+        ${BST} checkout --hardlinks openh264-extension.bst:flatpak-repo.bst checkout-repo/
+        flatpak build-commit-from --src-repo=checkout-repo/ repo/
+        rm -rf checkout-repo/
+    fi
+
   - flatpak build-update-repo --generate-static-deltas repo/
 
   - flat-manager/flat-manager-client push $(cat build.txt) repo/
diff --git a/elements/flatpak-platform-extensions.bst b/elements/flatpak-platform-extensions.bst
index d454291a..e33ffdbb 100644
--- a/elements/flatpak-platform-extensions.bst
+++ b/elements/flatpak-platform-extensions.bst
@@ -1,9 +1,10 @@
 kind: flatpak_repo
+
 build-depends:
 - freedesktop-sdk.bst:deploy-tools/flatpak.bst
 - freedesktop-sdk.bst:flatpak-images/mesa.bst
-- freedesktop-sdk.bst:flatpak-images/platform-openh264-conditional.bst
 - freedesktop-sdk.bst:flatpak-images/platform-vaapi.bst
+
 variables:
   # Obtain the versions of the flatpak extensions
   (@): freedesktop-sdk.bst:include/_private/versions.yml
diff --git a/elements/openh264-extension.bst b/elements/openh264-extension.bst
new file mode 100644
index 00000000..81cf8d76
--- /dev/null
+++ b/elements/openh264-extension.bst
@@ -0,0 +1,6 @@
+kind: junction
+
+sources:
+- kind: git_tag
+  url: https://gitlab.com/coldtom/openh264-extension.git
+  track: master
diff --git a/junction.refs b/junction.refs
index 00b4a62f..56617c58 100644
--- a/junction.refs
+++ b/junction.refs
@@ -2,3 +2,5 @@ projects:
   gnome:
     freedesktop-sdk.bst:
     - ref: freedesktop-sdk-19.08.3-0-g816a8ddf806ff686d3cfbd69463e8b59f6b5720f
+    openh264-extension.bst:
+    - ref: 69d6b7be4dab740e34fe7179da6a2f6e5e384352


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