Skip to content

Instantly share code, notes, and snippets.

@saivert
Created May 18, 2019 13:36
Show Gist options
  • Save saivert/8688b0b994b8e33d22023b1c053f3be1 to your computer and use it in GitHub Desktop.
Save saivert/8688b0b994b8e33d22023b1c053f3be1 to your computer and use it in GitHub Desktop.
deadbeef flatpak manifest
{
"app-id": "music.deadbeef.player",
"runtime": "org.gnome.Platform",
"runtime-version": "3.32",
"sdk": "org.gnome.Sdk",
"command": "/app/deadbeef",
"finish-args": [
"--share=ipc",
"--socket=x11",
"--socket=wayland",
"--share=network",
"--socket=pulseaudio",
"--own-name=org.mpris.MediaPlayer2.DeaDBeeF",
"--filesystem=xdg-music",
"--filesystem=~/.local/lib64/deadbeef",
"--talk-name=ca.desrt.dconf",
"--filesystem=xdg-run/dconf",
"--filesystem=~/.config/dconf:ro",
"--env=DCONF_USER_CONFIG_DIR=.config/dconf"
],
"rename-icon": "deadbeef",
"cleanup": [ "/plugins/ddb_gui_GTK2.so", "/plugins/*_gtk2.so", "/plugins/pulse.so", "/plugins/alsa.so" ],
"modules": [
{
"name": "deadbeef",
"buildsystem": "simple",
"build-commands": [
"cp -r * /app/",
"install -D music.deadbeef.player.appdata.xml /app/share/metainfo/music.deadbeef.player.appdata.xml",
"install -D music.deadbeef.player.desktop /app/share/applications/music.deadbeef.player.desktop",
"install -D deadbeef.png /app/share/icons/hicolor/32x32/apps/deadbeef.png"
],
"sources": [
{
"type": "archive",
"dest-filename": "deadbeef-static_1.8.0-1_x86_64.tar.bz2",
"url": "https://sourceforge.net/projects/deadbeef/files/travis/linux/1.8.0/deadbeef-static_1.8.0-1_x86_64.tar.bz2",
"sha256": "57199b46aeca3ab057d97838e551a669218d6eb9638427c9cc6018686d888912"
},
{
"type": "file",
"path": "music.deadbeef.player.appdata.xml"
},
{
"type": "file",
"path": "music.deadbeef.player.desktop"
}
]
},
{
"name": "deadbeef-headers",
"buildsystem": "simple",
"build-commands": ["mkdir -p /app/include/deadbeef", "cp -r deadbeef /app/include/"],
"sources": [
{
"type": "dir",
"path": "headers"
}
]
},
{
"name": "pulse2",
"buildsystem": "meson",
"config-opts": ["--buildtype=release"],
"post-install": ["mv /app/lib/deadbeef/pulse2.so /app/plugins/"],
"sources": [
{
"type": "git",
"url": "https://github.com/saivert/ddb_output_pulse2.git"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment