85 lines
2.3 KiB
JSON
85 lines
2.3 KiB
JSON
{
|
|
"app-id": "org.codeberg.som.Tracks",
|
|
"runtime": "org.gnome.Platform",
|
|
"runtime-version": "40",
|
|
"sdk": "org.gnome.Sdk",
|
|
"command": "org.codeberg.som.Tracks",
|
|
"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.*",
|
|
|
|
/* MPRIS server */
|
|
"--own-name=org.mpris.MediaPlayer2.org.codeberg.som.Tracks.*",
|
|
|
|
/* to send thumbnail location to MPRIS clients */
|
|
"--filesystem=xdg-cache/thumbnails:create"
|
|
],
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/pkgconfig",
|
|
"/man",
|
|
"/share/doc",
|
|
"/share/man",
|
|
"/share/pkgconfig",
|
|
"*.la",
|
|
"*.a"
|
|
],
|
|
"modules": [
|
|
{
|
|
"name": "youtube-dl",
|
|
"disabled": false,
|
|
"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",
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://codeberg.org/som/Tracks.git"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"build-options": {
|
|
"env": {
|
|
}
|
|
}
|
|
}
|