flatpak/build.sh |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

New commits:
commit 14471950f1c5b99ceb86491ac6006a30178f3467
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Tue Oct 18 09:56:31 2016 +0200

    Also generate a LibreOffice.flatpakref file

diff --git a/flatpak/build.sh b/flatpak/build.sh
index 8b381c2..c1cd891 100755
--- a/flatpak/build.sh
+++ b/flatpak/build.sh
@@ -149,7 +149,7 @@ flatpak build --nofilesystem=host "${my_dir?}"/app 
appstream-compose \
  org.libreoffice.LibreOffice-{base,calc,draw,impress,writer}
 
 
-# 6  Generate bundle
+# 6  Generate repository, .flatpak bundle, and .flatpakref file
 
 flatpak build-finish --command=/app/libreoffice/program/soffice \
  --share=network --share=ipc --socket=x11 --socket=wayland --socket=pulseaudio 
\
@@ -178,3 +178,9 @@ flatpak build-bundle \
  --gpg-keys="${my_dir?}"/key "${my_dir?}"/repository \
  "${my_dir?}"/LibreOffice.flatpak org.libreoffice.LibreOffice \
  "${my_flatpakbranch?}"
+rm -f "${my_dir?}"/LibreOffice.flatpakref
+printf '[Flatpak Ref]\nTitle=The Document Foundation LibreOffice\n' \
+ 'Name=org.libreoffice.LibreOffice\nBranch=%s\n' \
+ 'Url=http://download.documentfoundation.org/libreoffice/flatpak/repository\n' 
\
+ 'IsRuntime=False\nGPGKey=%s\n' "${my_flatpakbranch?}" \
+ $(base64 --wrap=0 < "${my_dir?}"/key) > "${my_dir?}"/LibreOffice.flatpakref
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to