mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-09-12 20:41:34 +00:00
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
This commit is contained in:
parent
e9e33ded5a
commit
3e3bafe1eb
114
org.gnome.Nautilus.json
Normal file
114
org.gnome.Nautilus.json
Normal file
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue