mirror of
https://github.com/KDE/kasts.git
synced 2024-12-27 00:43:25 +01:00
eb07e67f70
KMediaSession is an audio player library that has an API which is close to QMediaPlayer and which allows to use --- and dynamically switch between --- different audio backends. At this moment there is implementation for libVLC, gstreamer and QtMultimedia. Only QtMultimedia is a hard dependency in order to at least have one functional backend on all platforms; all other dependencies are optional. KMediaSession has out-of-the-box, built-in MPRIS2 support, sleep inhibit, and basic metadata support. BUG: 462358 Closes #35
146 lines
5.0 KiB
JSON
146 lines
5.0 KiB
JSON
{
|
|
"id": "org.kde.kasts",
|
|
"branch": "master",
|
|
"runtime": "org.kde.Platform",
|
|
"runtime-version": "5.15-22.08",
|
|
"sdk": "org.kde.Sdk",
|
|
"command": "kasts",
|
|
"tags": ["nightly"],
|
|
"desktop-file-name-suffix": " (Nightly)",
|
|
"finish-args": [
|
|
"--share=ipc",
|
|
"--share=network",
|
|
"--socket=fallback-x11",
|
|
"--socket=wayland",
|
|
"--device=dri",
|
|
"--socket=pulseaudio",
|
|
"--own-name=org.mpris.MediaPlayer2.kasts",
|
|
"--talk-name=org.freedesktop.secrets"
|
|
],
|
|
"modules": [
|
|
{
|
|
"name": "libvlc",
|
|
"config-opts": [
|
|
"BUILDCC=gcc",
|
|
"--disable-lua",
|
|
"--disable-a52",
|
|
"--disable-qt",
|
|
"--disable-ncurses",
|
|
"--disable-udev"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://get.videolan.org/vlc/3.0.18/vlc-3.0.18.tar.xz",
|
|
"sha256": "57094439c365d8aa8b9b41fa3080cc0eef2befe6025bb5cef722accc625aedec",
|
|
"x-checker-data": {
|
|
"type": "anitya",
|
|
"project-id": 6504,
|
|
"stable-only": true,
|
|
"url-template": "https://get.videolan.org/vlc/$version/vlc-$version.tar.xz"
|
|
}
|
|
},
|
|
{
|
|
"type": "patch",
|
|
"path": "src/kmediasession/.patches/vlc-ignore-time-for-cache.patch"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "taglib",
|
|
"buildsystem": "cmake-ninja",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://taglib.github.io/releases/taglib-1.13.tar.gz",
|
|
"sha256": "58f08b4db3dc31ed152c04896ee9172d22052bc7ef12888028c01d8b1d60ade0",
|
|
"x-checker-data": {
|
|
"type": "anitya",
|
|
"project-id": 1982,
|
|
"stable-only": true,
|
|
"url-template": "https://taglib.github.io/releases/taglib-$version.tar.gz"
|
|
}
|
|
}
|
|
],
|
|
"config-opts": [
|
|
"-DBUILD_SHARED_LIBS=ON"
|
|
]
|
|
},
|
|
{
|
|
"name": "libsecret",
|
|
"buildsystem": "meson",
|
|
"config-opts": [
|
|
"-Dmanpage=false",
|
|
"-Dvapi=false",
|
|
"-Dgtk_doc=false",
|
|
"-Dintrospection=false",
|
|
"-Dgcrypt=false"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://download.gnome.org/sources/libsecret/0.20/libsecret-0.20.5.tar.xz",
|
|
"sha256": "3fb3ce340fcd7db54d87c893e69bfc2b1f6e4d4b279065ffe66dac9f0fd12b4d",
|
|
"x-checker-data": {
|
|
"type": "gnome",
|
|
"name": "libsecret",
|
|
"stable-only": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "qtkeychain",
|
|
"buildsystem": "cmake-ninja",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://github.com/frankosterfeld/qtkeychain/archive/v0.13.2.tar.gz",
|
|
"sha256": "20beeb32de7c4eb0af9039b21e18370faf847ac8697ab3045906076afbc4caa5",
|
|
"x-checker-data": {
|
|
"type": "anitya",
|
|
"project-id": 4138,
|
|
"stable-only": true,
|
|
"url-template": "https://github.com/frankosterfeld/qtkeychain/archive/v$version.tar.gz"
|
|
}
|
|
}
|
|
],
|
|
"config-opts": [
|
|
"-DCMAKE_INSTALL_LIBDIR=/app/lib",
|
|
"-DLIB_INSTALL_DIR=/app/lib",
|
|
"-DBUILD_TRANSLATIONS=NO"
|
|
]
|
|
},
|
|
{
|
|
"name": "kirigami-addons",
|
|
"buildsystem": "cmake-ninja",
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://download.kde.org/stable/kirigami-addons/kirigami-addons-0.6.tar.xz",
|
|
"sha256": "2fc18d25ad684d5fec260b872c3320068290c59abab50e26a61811ca8bd5882f",
|
|
"x-checker-data": {
|
|
"type": "anitya",
|
|
"project-id": 242933,
|
|
"stable-only": true,
|
|
"url-template": "https://download.kde.org/stable/kirigami-addons/kirigami-addons-$version.tar.xz"
|
|
}
|
|
}
|
|
],
|
|
"config-opts": [
|
|
"-DBUILD_TESTING=OFF"
|
|
]
|
|
},
|
|
{
|
|
"name": "kasts",
|
|
"buildsystem": "cmake-ninja",
|
|
"sources": [
|
|
{
|
|
"type": "dir",
|
|
"path": "."
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|