{ "id": "org.kde.tokodon", "branch": "master", "runtime": "org.kde.Platform", "runtime-version": "6.7", "sdk": "org.kde.Sdk", "command": "tokodon", "tags": [ "nightly" ], "desktop-file-name-suffix": " (Nightly)", "finish-args": [ "--share=ipc", "--socket=fallback-x11", "--socket=wayland", "--device=dri", "--share=network" ], "add-extensions": { "org.freedesktop.Platform.ffmpeg-full": { "directory": "lib/ffmpeg", "version": "23.08", "add-ld-path": "." } }, "cleanup-commands": [ "mkdir -p /app/lib/ffmpeg" ], "modules": [ { "name": "libmpv", "cleanup": [ "/include", "/lib/pkgconfig", "/share/man" ], "buildsystem": "simple", "build-commands": [ "python3 waf configure --prefix=/app --enable-libmpv-shared --disable-cplayer --disable-build-date --disable-alsa", "python3 waf build", "python3 waf install" ], "sources": [ { "type": "archive", "url": "https://github.com/mpv-player/mpv/archive/refs/tags/v0.35.1.tar.gz", "sha256": "41df981b7b84e33a2ef4478aaf81d6f4f5c8b9cd2c0d337ac142fc20b387d1a9" }, { "type": "file", "url": "https://waf.io/waf-2.0.25", "sha256": "21199cd220ccf60434133e1fd2ab8c8e5217c3799199c82722543970dc8e38d5", "dest-filename": "waf" } ], "modules": [ { "name": "luajit", "no-autogen": true, "cleanup": [ "/bin", "/lib/*.a", "/include", "/lib/pkgconfig", "/share/man" ], "sources": [ { "type": "archive", "url": "https://github.com/LuaJIT/LuaJIT/archive/ae4735f621d89d84758769b76432d2319dda9827.tar.gz", "sha256": "4e444dd48dc4bf7196ca718f287a513f0e51f8608c03c1dccd25488871e5f823" }, { "type": "shell", "commands": [ "sed -i 's|/usr/local|/app|' ./Makefile" ] } ] }, { "name": "libv4l2", "cleanup": [ "/sbin", "/bin", "/include", "/lib/*.la", "/lib/*/*.la", "/lib*/*/*/*.la", "/lib/pkgconfig", "/share/man" ], "config-opts": [ "--disable-static", "--disable-bpf", "--with-udevdir=/app/lib/udev" ], "sources": [ { "type": "archive", "url": "https://linuxtv.org/downloads/v4l-utils/v4l-utils-1.24.1.tar.bz2", "sha256": "cbb7fe8a6307f5ce533a05cded70bb93c3ba06395ab9b6d007eb53b75d805f5b" } ] }, { "name": "nv-codec-headers", "cleanup": [ "*" ], "no-autogen": true, "make-install-args": [ "PREFIX=/app" ], "sources": [ { "type": "archive", "url": "https://github.com/FFmpeg/nv-codec-headers/releases/download/n11.1.5.2/nv-codec-headers-11.1.5.2.tar.gz", "sha256": "1442e3159e7311dd71f8fca86e615f51609998939b6a6d405d6683d8eb3af6ee" } ] }, { "name": "libass", "cleanup": [ "/include", "/lib/*.la", "/lib/pkgconfig" ], "config-opts": [ "--disable-static" ], "sources": [ { "type": "archive", "url": "https://github.com/libass/libass/releases/download/0.17.1/libass-0.17.1.tar.gz", "sha256": "d653be97198a0543c69111122173c41a99e0b91426f9e17f06a858982c2fb03d" } ] }, { "name": "uchardet", "buildsystem": "cmake-ninja", "config-opts": [ "-DCMAKE_BUILD_TYPE=Release", "-DBUILD_STATIC=0" ], "cleanup": [ "/bin", "/include", "/lib/pkgconfig", "/share/man" ], "sources": [ { "type": "archive", "url": "https://gitlab.freedesktop.org/uchardet/uchardet/-/archive/v0.0.8/uchardet-v0.0.8.tar.gz", "sha256": "5aa402a1b5b1dbb8d81096f141ff1224e079f4d3a1db0f79ecca782756d3a416" } ] } ] }, { "name": "kirigami-addons", "config-opts": [ "-DBUILD_TESTING=OFF", "-DCMAKE_BUILD_TYPE=RelWithDebInfo" ], "buildsystem": "cmake-ninja", "sources": [ { "type": "git", "url": "https://invent.kde.org/libraries/kirigami-addons.git" } ] }, { "name": "icon", "buildsystem": "simple", "build-commands": [ "mkdir -p /app/share/icons/hicolor/32x32/apps/", "install -D /usr/share/icons/breeze/mimetypes/64/none.svg /app/share/icons/hicolor/32x32/apps/org.kde.tokodon.svg" ] }, { "name": "libsecret", "buildsystem": "meson", "config-opts": [ "-Dmanpage=false", "-Dvapi=false", "-Dgtk_doc=false", "-Dintrospection=false", "-Dcrypto=libgcrypt" ], "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 } } ], "cleanup": [ "/bin/secret-tool", "/include", "/lib/pkgconfig" ] }, { "name": "qtkeychain", "buildsystem": "cmake-ninja", "sources": [ { "type": "archive", "url": "https://github.com/frankosterfeld/qtkeychain/archive/0.14.2.tar.gz", "sha256": "cf2e972b783ba66334a79a30f6b3a1ea794a1dc574d6c3bebae5ffd2f0399571", "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": "MpvQt", "buildsystem": "cmake-ninja", "sources": [ { "type": "git", "url": "https://invent.kde.org/libraries/mpvqt.git" } ] }, { "name": "QtWebView", "buildsystem": "cmake-ninja", "sources": [ { "type": "archive", "url": "https://download.qt.io/official_releases/qt/6.7/6.7.3/submodules/qtwebview-everywhere-src-6.7.3.tar.xz", "sha256": "708ae8fe44a243fe556384c4452d4592b8469ac66f3fd43876b18d425005b92d" } ] }, { "name": "tokodon", "buildsystem": "cmake-ninja", "sources": [ { "type": "dir", "path": "." } ], "config-opts": [ "-DTOKODON_FLATPAK=ON" ] } ] }