Created
May 18, 2019 13:36
-
-
Save saivert/8688b0b994b8e33d22023b1c053f3be1 to your computer and use it in GitHub Desktop.
deadbeef flatpak manifest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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