Tracks/org.codeberg.som.Tracks.loc...

83 lines
2.4 KiB
JSON

{
"app-id": "org.codeberg.som.Tracks.localbuild",
"runtime": "org.gnome.Platform",
"runtime-version": "40",
"sdk": "org.gnome.Sdk",
"command": "org.codeberg.som.Tracks.localbuild",
"desktop-file-name-suffix": " (Flatpak)",
"finish-args": [
"--share=ipc",
"--socket=x11",
"--socket=fallback-x11",
"--socket=wayland",
"--socket=pulseaudio",
"--device=dri",
/* dconf */
"--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro",
"--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf",
/* user themes and icons */
"--filesystem=xdg-data/themes:ro", "--filesystem=~/.themes:ro",
"--filesystem=xdg-data/icons:ro", "--filesystem=~/.icons:ro",
/* bookmarks in file chooser */
"--filesystem=xdg-config/gtk-4.0/bookmarks",
/* playlists storage */
"--filesystem=xdg-data/tracks:rw",
/* local music access, replace by --filesystem=host:ro to get full access */
"--filesystem=home:ro",
"--filesystem=/run/media:ro",
/* network music access */
"--share=network",
"--talk-name=org.gtk.vfs", "--talk-name=org.gtk.vfs.*",
/* to execute youtube-dl outside the sandbox with flatpak-spawn */
"--talk-name=org.freedesktop.Flatpak",
/* MPRIS server */
"--own-name=org.mpris.MediaPlayer2.org.codeberg.som.Tracks.localbuild.*",
/* to send thumbnail location to MPRIS clients */
"--filesystem=xdg-cache/thumbnails:create"
],
"cleanup": [],
"modules": [
{
"name": "youtube-dl",
"disabled": true,
"buildsystem": "simple",
"build-commands": [
"python3 setup.py install --prefix=/app"
],
"sources": [
{
"type": "git",
"url": "https://github.com/ytdl-org/youtube-dl.git"
}
]
},
{
"name": "tracks",
"builddir": true,
"buildsystem": "meson",
"config-opts": [
"-Dprofile=localbuild"
],
"sources": [
{
"type": "dir",
"path": "./"
}
]
}
],
"build-options": {
"env": {
}
}
}