summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2016-12-01 12:24:13 +0100
committerCarlos Soriano <csoriano@gnome.org>2016-12-01 13:13:30 +0100
commit3e3bafe1eb36d9fc4ebf7f3bf93591f7da5c3271 (patch)
tree8fd901de2c029b848437f27df4a75308a1860f61
parente9e33ded5afd6b84bd5c0722ac15ed07eccddd91 (diff)
downloadnautilus-3e3bafe1eb36d9fc4ebf7f3bf93591f7da5c3271.tar.gz
build: add Flatpak development build
The future is finally here, from this commit on you can hack in Nautilus from any distro in a matter of minutes, and from a single click if you are using GNOME Builder. /me dances exhaustively https://bugzilla.gnome.org/show_bug.cgi?id=775460
-rw-r--r--org.gnome.Nautilus.json114
1 files changed, 114 insertions, 0 deletions
diff --git a/org.gnome.Nautilus.json b/org.gnome.Nautilus.json
new file mode 100644
index 000000000..62c0fb841
--- /dev/null
+++ b/org.gnome.Nautilus.json
@@ -0,0 +1,114 @@
+{
+ "app-id": "org.gnome.Nautilus",
+ "runtime": "org.gnome.Platform",
+ "runtime-version": "master",
+ "sdk": "org.gnome.Sdk",
+ "command": "nautilus",
+ "tags": ["devel", "development"],
+ "desktop-file-name-prefix": "(Development) ",
+ "finish-args": [
+ /* X11 + XShm access */
+ "--share=ipc", "--socket=x11",
+ /* Wayland access */
+ "--socket=wayland",
+ /* Online accounts support */
+ "--talk-name=org.gnome.OnlineAccounts",
+ /* Tracker */
+ "--talk-name=org.freedesktop.Tracker1",
+ /* XXX This sucks */
+ "--filesystem=home",
+ /* Browse gvfs */
+ "--talk-name=org.gtk.vfs", "--talk-name=org.gtk.vfs.*",
+ /* Needed for dconf to work */
+ "--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro",
+ "--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf"
+ ],
+ "build-options" : {
+ "cflags": "-O2 -g",
+ "cxxflags": "-O2 -g"
+ },
+ "cleanup": [ "/include", "/share/bash-completion" ],
+ "modules": [
+ {
+ "name": "libexif",
+ "sources": [
+ {
+ "type": "archive",
+ "url": "https://downloads.sourceforge.net/libexif/libexif-0.6.21.tar.bz2",
+ "sha256": "16cdaeb62eb3e6dfab2435f7d7bccd2f37438d21c5218ec4e58efa9157d4d41a"
+ },
+ /* For arm architectures */
+ {
+ "type": "shell",
+ "commands": [
+ "cp -f /usr/share/gnu-config/config.sub .",
+ "cp -f /usr/share/gnu-config/config.guess ."
+ ]
+ }
+ ]
+ },
+ {
+ "name": "exempi",
+ "config-opts": [
+ "--disable-unittest"
+ ],
+ "sources": [
+ {
+ "type": "git",
+ "url": "https://anongit.freedesktop.org/git/exempi.git"
+ }
+ ]
+
+ },
+ {
+ "name": "tracker",
+ "cleanup": [ "/bin", "/etc", "/libexec" ],
+ "config-opts": [ "--disable-miner-apps", "--disable-static",
+ "--disable-tracker-extract", "--disable-tracker-needle",
+ "--disable-tracker-preferences", "--disable-artwork",
+ "--disable-tracker-writeback", "--disable-miner-user-guides"],
+ "sources": [
+ {
+ "type": "git",
+ "url": "https://git.gnome.org/browse/tracker"
+ }
+ ]
+ },
+ {
+ "name": "gnome-desktop",
+ "config-opts": ["--disable-debug-tools", "--disable-udev"],
+ "sources": [
+ {
+ "type": "git",
+ "url": "https://git.gnome.org/browse/gnome-desktop"
+ }
+ ]
+ },
+ {
+ "name": "gnome-autoar",
+ "sources": [
+ {
+ "type": "git",
+ "url": "https://git.gnome.org/browse/gnome-autoar"
+ }
+ ]
+ },
+ {
+ "name": "nautilus",
+ "config-opts": [
+ "--disable-static",
+ "--disable-desktop",
+ "--disable-selinux",
+ "--enable-xmp",
+ "--enable-libexif",
+ "--disable-update-mimedb"
+ ],
+ "sources": [
+ {
+ "type": "git",
+ "url": "https://git.gnome.org/browse/nautilus"
+ }
+ ]
+ }
+ ]
+}