Skip to content

Instantly share code, notes, and snippets.

@saivert
Created October 22, 2020 20:01
Show Gist options
  • Save saivert/78b285b5c1a4b37060eab9b9a8b396c5 to your computer and use it in GitHub Desktop.
Save saivert/78b285b5c1a4b37060eab9b9a8b396c5 to your computer and use it in GitHub Desktop.
{
"app-id": "music.deadbeef.player",
"branch": "master",
"runtime": "org.gnome.Platform",
"runtime-version": "3.38",
"sdk": "org.gnome.Sdk",
"command": "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=xdg-run/deadbeef:create",
"--filesystem=~/.config/dconf:ro",
"--env=DCONF_USER_CONFIG_DIR=.config/dconf"
],
"rename-icon": "deadbeef",
"cleanup": [ "/include", "*.la" ],
"modules": [
"shared-modules/intltool/intltool-0.51.json",
{
"name": "intltool"
},
{
"name": "libjansson",
"buildsystem": "autotools",
"sources": [
{
"type": "archive",
"url": "http://www.digip.org/jansson/releases/jansson-2.12.tar.gz",
"sha256": "5f8dec765048efac5d919aded51b26a32a05397ea207aa769ff6b53c7027d2c9"
}
]
},
{
"name": "libopus",
"buildsystem": "autotools",
"sources": [
{
"type": "git",
"url": "https://github.com/xiph/opus.git",
"tag": "v1.3.1"
}
]
},
{
"name": "opusfile",
"buildsystem": "autotools",
"sources": [
{
"type": "git",
"url": "https://github.com/xiph/opusfile.git",
"tag": "v0.11"
}
]
},
{
"name": "libopusenc",
"buildsystem": "autotools",
"sources": [
{
"type": "git",
"url": "https://github.com/xiph/libopusenc.git",
"tag": "v0.2.1"
}
]
},
{
"name": "opus-tools",
"buildsystem": "autotools",
"sources": [
{
"type": "git",
"url": "https://github.com/xiph/opus-tools.git",
"tag": "v0.2"
}
]
},
{
"name": "libfaad2",
"buildsystem": "autotools",
"sources": [
{
"type": "archive",
"url": "https://sourceforge.net/projects/faac/files/faad2-src/faad2-2.8.0/faad2-2.8.8.tar.gz/download",
"dest-filename": "faad2-2.8.8.tar.gz",
"sha256": "985c3fadb9789d2815e50f4ff714511c79c2710ac27a4aaaf5c0c2662141426d"
}
]
},
{
"name": "libblocksruntime",
"buildsystem": "autotools",
"sources": [
{
"type": "archive",
"url": "http://cdn-fastly.deb.debian.org/debian/pool/main/libb/libblocksruntime/libblocksruntime_0.4.1.orig.tar.gz",
"sha256": "7807e18d7d6cabd90f77c8b8a8ebd472516fa4ed6a02df82e0c33b1c5e112abc"
}
]
},
{
"name": "libdispatch",
"buildsystem": "cmake",
"builddir": true,
"build-options": {
"env": {
"CC": "clang",
"CXX": "clang++"
}
},
"config-opts": [
"-DCMAKE_BUILD_TYPE=RelWithDebInfo",
"-DBlocksRuntime_INCLUDE_DIR=/app/include",
"-DBlocksRuntime_LIBRARIES=/app/lib/libBlocksRuntime.so"
],
"sources": [
{
"type": "git",
"url": "https://github.com/apple/swift-corelibs-libdispatch.git",
"tag": "swift-5.3-RELEASE"
},
{
"type": "patch",
"path": "libdispatch-patches/avoid-libkqueue.patch",
"strip-components": 0
},
{
"type": "patch",
"path": "libdispatch-patches/remove-werror.patch",
"strip-components": 0
},
{
"type": "patch",
"path": "libdispatch-patches/system-blocksruntime.patch",
"strip-components": 0
}
]
},
{
"name": "deadbeef",
"buildsystem": "autotools",
"config-opts": ["--disable-alsa", "--disable-pulse", "--disable-oss", "CC=clang"],
"build-options" : { "cflags": "-DUSE_GTK_NATIVE_FILE_CHOOSER" },
"build-commands": [
"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"
],
"post-install": [
"cp icons/32x32/deadbeef.png /app/"
],
"sources": [
{
"type": "git",
"url": "https://github.com/DeaDBeeF-Player/deadbeef.git",
"commit": "a8f7606268096aa61dc18c7045e3c3b59b01bb96"
},
{
"type": "file",
"path": "music.deadbeef.player.appdata.xml"
},
{
"type": "file",
"path": "music.deadbeef.player.desktop"
},
{
"type": "patch",
"path": "default-output-plugin.patch"
},
{
"type": "patch",
"path": "filterlist.patch"
}
]
},
{
"name": "pulse2",
"buildsystem": "meson",
"config-opts": ["--buildtype=release"],
"sources": [
{
"type": "git",
"url": "https://github.com/saivert/ddb_output_pulse2.git"
},
{
"type": "patch",
"path": "pulse-icon.patch"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment