aboutsummaryrefslogtreecommitdiff
path: root/browser/linux/resources/flatpak/io.gitlab.LibreWolf.json
diff options
context:
space:
mode:
authorBeatLink <beatlink@protonmail.com>2019-07-14 01:39:32 -0500
committerBeatLink <beatlink@protonmail.com>2019-07-14 01:39:32 -0500
commite04f1370d109fe44fc5fa2a312211d13ab88ef7f (patch)
tree26d4a823549634426bac784c9146fa1f78d80d82 /browser/linux/resources/flatpak/io.gitlab.LibreWolf.json
parentMove install script in preparation for settings rewrite (diff)
downloadlibrewolf-linux-e04f1370d109fe44fc5fa2a312211d13ab88ef7f.tar.gz
librewolf-linux-e04f1370d109fe44fc5fa2a312211d13ab88ef7f.tar.bz2
librewolf-linux-e04f1370d109fe44fc5fa2a312211d13ab88ef7f.zip
Implement Flatpak build
Diffstat (limited to 'browser/linux/resources/flatpak/io.gitlab.LibreWolf.json')
-rw-r--r--browser/linux/resources/flatpak/io.gitlab.LibreWolf.json25
1 files changed, 25 insertions, 0 deletions
diff --git a/browser/linux/resources/flatpak/io.gitlab.LibreWolf.json b/browser/linux/resources/flatpak/io.gitlab.LibreWolf.json
new file mode 100644
index 0000000..0e2b549
--- /dev/null
+++ b/browser/linux/resources/flatpak/io.gitlab.LibreWolf.json
@@ -0,0 +1,25 @@
+{
+ "app-id": "io.gitlab.LibreWolf",
+ "runtime": "org.gnome.Platform",
+ "runtime-version": "3.32",
+ "sdk": "org.gnome.Sdk",
+ "command": "librewolf",
+ "modules": [{
+ "name": "librewolf",
+ "buildsystem": "simple",
+ "build-commands": [
+ "mkdir -p /app/share && mv librewolf -t /app/share",
+ "mkdir -p /app/bin && ln -s /app/share/librewolf/librewolf /app/bin/"
+ ],
+ "sources": [{
+ "type": "dir",
+ "path": "source"
+ }]
+ }],
+ "finish-args": [
+ "--share=ipc", "--socket=x11", /* X11 + XShm access */
+ "--socket=wayland", /* Wayland access */
+ "--filesystem=home:rw", /* We want full fs access so we can read the files */
+ "--share=network" /* Needs to talk to the network: */
+ ]
+}
bgstack15