From 123a91872fc7a144db637e233ddeed6d224b6ebc Mon Sep 17 00:00:00 2001 From: Nico Alt <nicoalt@posteo.org> Date: Sun, 2 Jun 2019 01:04:42 +0200 Subject: [PATCH] Make building with flatpak-builder possible --- .gitignore | 2 ++ README.md | 7 +++++++ app.briar.gtk.json | 3 ++- 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..49269ac --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +builddir +.flatpak-builder diff --git a/README.md b/README.md index 4a14a74..99c3704 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,13 @@ The easiest and most convenient way is to build _briar-gtk_ using In _Builder_, click "Clone Repository" at the bottom and enter the URL to this Git project. +You can also call this: +```bash +flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo +flatpak-builder builddir --install-deps-from=flathub --user --install --force-clean --ccache app.briar.gtk.json +flatpak run app.briar.gtk +``` + ## Design Goals * Intuitive UI that follows the Briar Android client diff --git a/app.briar.gtk.json b/app.briar.gtk.json index e7c2cf6..9b77caa 100644 --- a/app.briar.gtk.json +++ b/app.briar.gtk.json @@ -14,6 +14,7 @@ "--socket=wayland", "--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro", + "--filesystem=~/.briar", "--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf", "--env=PATH=/app/bin:/usr/bin:/app/jre/bin" @@ -108,7 +109,7 @@ "sources": [ { "type": "git", - "url": "file:///home/nico/Work/Current/Briar/briar-gtk" + "url": "https://code.briarproject.org/NicoAlt/briar-gtk.git" } ] } -- GitLab