Loading

Paste #p8fznjgaq

  1. ➜  gnome-build-meta git:(master) ✗ cat export_runtimes.sh
  2. #!/bin/sh
  3.  
  4. set -e
  5.  
  6. git apply next.patch || true
  7.  
  8. mkdir -p runtimes
  9.  
  10. for runtime in platform platform-locale sdk sdk-debug sdk-docs sdk-locale; do
  11.   bst build "flatpak/${runtime}.bst";
  12.   bst checkout --hardlinks "flatpak/${runtime}.bst" "runtimes/${runtime}";
  13.   flatpak build-export --files=files repo/ runtimes/${runtime} next;
  14.   rm -rf "runtimes/${runtime}"
  15. done
  16.  
  17. flatpak build-update-repo repo/
  18.  
  19. flatpak remote-add --if-not-exists --user --no-gpg-verify gnome-local repo/
  20. # flatpak install -y --user gnome-local org.gnome.Platform//next org.gnome.Sdk//next
  21. # flatpak update -y --user org.gnome.Platform//next org.gnome.Sdk//next⏎        
  22. ➜  gnome-build-meta git:(master) ✗ cat next.patch
  23. diff --git a/project.conf b/project.conf
  24. index 6f13494..9588844 100644
  25. --- a/project.conf
  26. +++ b/project.conf
  27. @@ -208,7 +208,7 @@ shell:
  28.    - '${XDG_RUNTIME_DIR}'
  29.  
  30.  variables:
  31. -  branch: master
  32. +  branch: next
  33.    gcc_arch: "%{arch}"
  34.    abi: "gnu"
  35.    gcc_triplet: "%{gcc_arch}-linux-%{abi}"
  36. ➜  gnome-build-meta git:(master)