kasts/.flatpak-manifest.json
2023-03-05 21:11:45 +01:00

169 lines
5.7 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",
"--talk-name=org.kde.StatusNotifierWatcher"
],
"cleanup": [
"/include",
"/lib/pkgconfig",
"/lib/cmake",
"*.la",
"*.a"
],
"cleanup-commands": [
"rm -f /app/lib/vlc/plugins/plugins.dat",
"/app/lib/vlc/vlc-cache-gen /app/lib/vlc/plugins"
],
"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.7.1.tar.xz",
"sha256": "c4e94821e81fcda173e71e9bfd5def66961a276278dc784b9b0c6f7cbcd4a0c8",
"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",
"post-install": [
"mv /app/bin/{kasts,kasts-bin}",
"install .patches/run_kasts.sh /app/bin/kasts"
],
"sources": [
{
"type": "dir",
"path": "."
},
{
"type": "file",
"path": ".patches/run_kasts.sh"
}
],
"config-opts": [
"-DKASTS_FLATPAK=ON"
]
}
]
}