mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-10-02 14:03:39 +00:00
a5d25f37d6
By giving the --device=dri permission, Nautilus can access the GPU. This wasn't a big deal with GTK3, but on GTK4 that enabled hardware-accelerated rendering via OpenGL, and it makes a noticeable difference in terms of CPU usage and perceived performance.
152 lines
3.6 KiB
JSON
152 lines
3.6 KiB
JSON
{
|
|
"app-id": "org.gnome.NautilusDevel",
|
|
"runtime": "org.gnome.Platform",
|
|
"runtime-version": "master",
|
|
"sdk": "org.gnome.Sdk",
|
|
"command": "nautilus",
|
|
"tags": [
|
|
"devel",
|
|
"development",
|
|
"nightly"
|
|
],
|
|
"finish-args": [
|
|
"--device=dri",
|
|
"--share=ipc",
|
|
"--socket=x11",
|
|
"--socket=wayland",
|
|
"--talk-name=org.gnome.OnlineAccounts",
|
|
"--filesystem=host",
|
|
"--talk-name=org.gtk.vfs",
|
|
"--talk-name=org.gtk.vfs.*",
|
|
"--filesystem=xdg-run/gvfsd",
|
|
"--filesystem=xdg-run/dconf",
|
|
"--filesystem=~/.config/dconf:ro",
|
|
"--talk-name=ca.desrt.dconf",
|
|
"--env=DCONF_USER_CONFIG_DIR=.config/dconf",
|
|
"--add-policy=Tracker3.dbus:org.freedesktop.Tracker3.Miner.Files=tracker:FileSystem;tracker:Documents"
|
|
],
|
|
"modules": [
|
|
{
|
|
"name": "exiv2",
|
|
"config-opts": [
|
|
"-DCMAKE_INSTALL_PREFIX=/app",
|
|
"-DCMAKE_INSTALL_LIBDIR=/app/lib"
|
|
],
|
|
"buildsystem": "cmake-ninja",
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/Exiv2/exiv2.git",
|
|
"branch": "0.27-maintenance"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "gexiv2",
|
|
"buildsystem": "meson",
|
|
"builddir": true,
|
|
"config-opts": [
|
|
"--libdir=/app/lib",
|
|
"-Dintrospection=false",
|
|
"-Dvapi=false",
|
|
"-Dpython3=false",
|
|
"-Dpython3_girdir=no"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://gitlab.gnome.org/GNOME/gexiv2.git",
|
|
"branch": "gexiv2-0.14"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "tracker-miners",
|
|
"buildsystem": "meson",
|
|
"cleanup": [
|
|
"/etc",
|
|
"/libexec/tracker-3",
|
|
"/share/dbus-1/services/org.freedesktop.Tracker3.Miner.Extract.service",
|
|
"/share/dbus-1/services/org.freedesktop.Tracker3.Miner.Files.service",
|
|
"/share/dbus-1/services/org.freedesktop.Tracker3.Miner.Files.Control.service"
|
|
],
|
|
"config-opts": [
|
|
"-Dextract=true",
|
|
"-Dgeneric_media_extractor=none",
|
|
"-Dman=false",
|
|
"-Dminer_fs=true",
|
|
"-Dminer_rss=false",
|
|
"-Dsystemd_user_services=false",
|
|
"-Dwriteback=false"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://gitlab.gnome.org/GNOME/tracker-miners.git",
|
|
"branch": "master"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "gnome-desktop",
|
|
"buildsystem": "meson",
|
|
"config-opts": [
|
|
"-Ddebug_tools=false",
|
|
"-Ddesktop_docs=false",
|
|
"-Dudev=disabled"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://gitlab.gnome.org/GNOME/gnome-desktop.git"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "gnome-autoar",
|
|
"buildsystem": "meson",
|
|
"builddir": true,
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://gitlab.gnome.org/GNOME/gnome-autoar.git"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "libportal",
|
|
"buildsystem": "meson",
|
|
"builddir": true,
|
|
"config-opts": [
|
|
"-Ddocs=false",
|
|
"-Dbackends=gtk4",
|
|
"--libdir=/app/lib",
|
|
"--buildtype=debugoptimized"
|
|
],
|
|
"sources" : [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/flatpak/libportal.git",
|
|
"branch": "main"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"buildsystem": "meson",
|
|
"builddir": true,
|
|
"name": "nautilus",
|
|
"config-opts": [
|
|
"--libdir=/app/lib",
|
|
"-Dprofile=Devel",
|
|
"-Dtests=all"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://gitlab.gnome.org/GNOME/nautilus.git"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|