kasts/.flatpak-manifest.json
Bart De Vries f7f2635866
Update flatpak runtime to 6.8
This requires manually compiling an older ffmpeg version.
Also fix inhibiting sleep in the flatpak version by allowing it access
to the relevant dbus interfaces.
2024-12-13 18:59:03 +01:00

178 lines
5.8 KiB
JSON

{
"id": "org.kde.kasts",
"branch": "master",
"runtime": "org.kde.Platform",
"runtime-version": "6.8",
"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",
"--talk-name=org.freedesktop.PowerManagement.Inhibit",
"--talk-name=org.gnome.SessionManager"
],
"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": "ffmpeg",
"config-opts": [
"--enable-pic",
"--enable-shared",
"--disable-doc",
"--disable-static",
"--enable-gpl",
"--disable-libx264",
"--disable-libx265",
"--enable-libvpx",
"--enable-libmp3lame",
"--enable-libvorbis",
"--enable-libopus"
],
"sources": [
{
"type": "archive",
"url": "https://ffmpeg.org/releases/ffmpeg-4.4.5.tar.xz",
"sha256": "f9514e0d3515aee5a271283df71636e1d1ff7274b15853bcd84e144be416ab07",
"x-checker-data": {
"type": "anitya",
"project-id": 5405,
"version": {
">=": 4,
"<": 5
},
"url-template": "https://ffmpeg.org/releases/ffmpeg-$version.tar.xz"
}
}
]
},
{
"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.21/vlc-3.0.21.tar.xz",
"sha256": "24dbbe1d7dfaeea0994d5def0bbde200177347136dbfe573f5b6a4cee25afbb0",
"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"
},
{
"type": "patch",
"path": "src/kmediasession/.patches/vlc-taglib-2.patch"
}
]
},
{
"name": "libsecret",
"buildsystem": "meson",
"config-opts": [
"-Dmanpage=false",
"-Dvapi=false",
"-Dgtk_doc=false",
"-Dintrospection=false",
"-Dcrypto=disabled"
],
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/libsecret/0.21/libsecret-0.21.4.tar.xz",
"sha256": "163d08d783be6d4ab9a979ceb5a4fecbc1d9660d3c34168c581301cd53912b20",
"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/0.14.3.tar.gz",
"sha256": "a22c708f351431d8736a0ac5c562414f2b7bb919a6292cbca1ff7ac0849cb0a7",
"x-checker-data": {
"type": "anitya",
"project-id": 4138,
"stable-only": true,
"url-template": "https://github.com/frankosterfeld/qtkeychain/archive/$version.tar.gz"
}
}
],
"config-opts": [
"-DCMAKE_INSTALL_LIBDIR=/app/lib",
"-DLIB_INSTALL_DIR=/app/lib",
"-DBUILD_TRANSLATIONS=NO",
"-DBUILD_WITH_QT6=ON"
]
},
{
"name": "kirigami-addons",
"buildsystem": "cmake-ninja",
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/libraries/kirigami-addons.git"
}
],
"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"
}
]
}
]
}