{ "app-id": "org.zoitechat.ZoiteChat", "runtime": "org.gnome.Platform", "runtime-version": "50", "sdk": "org.gnome.Sdk", "command": "zoitechat", "finish-args": [ "--share=ipc", "--socket=wayland", "--socket=fallback-x11", "--share=network", "--socket=pulseaudio", "--filesystem=xdg-download", "--filesystem=xdg-run/tray-icon:create", "--env=GTK_CSD=1", "--talk-name=org.freedesktop.Notifications", "--talk-name=org.kde.StatusNotifierWatcher", "--talk-name=com.canonical.AppMenu.Registrar" ], "add-extensions": { "org.zoitechat.ZoiteChat.Plugin": { "version": "50", "directory": "extensions", "add-ld-path": "lib", "merge-dirs": "lib/zoitechat/plugins", "subdirectories": true, "no-autodownload": true, "autodelete": true } }, "modules": [ "shared-modules/lua5.4/lua-5.4.json", "shared-modules/libcanberra/libcanberra.json", "shared-modules/libayatana-appindicator/libayatana-appindicator-gtk3.json", { "name": "python3-cffi", "buildsystem": "simple", "build-commands": [ "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"cffi\" --no-build-isolation" ], "sources": [ { "type": "file", "url": "https://files.pythonhosted.org/packages/1d/b2/31537cf4b1ca988837256c910a668b553fceb8f069bedc4b1c826024b52c/pycparser-2.22.tar.gz", "sha256": "491c8be9c040f5390f5bf44a5b07752bd07f56edf992381b05c701439eec10f6" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/fc/97/c783634659c2920c3fc70419e3af40972dbaf758daa229a7d6ea6135c90d/cffi-1.17.1.tar.gz", "sha256": "1c39c6016c32bc48dd54561950ebd6836e1670f2ae46128f67cf49e789c52824" } ] }, { "name": "perl", "buildsystem": "simple", "build-options": { "no-debuginfo": true }, "build-commands": [ "./Configure -des -Dprefix=/app -Dvendorprefix=/app -Duseshrplib -Dman1dir=none -Dman3dir=none", "make -j${FLATPAK_BUILDER_N_JOBS}", "make install" ], "cleanup": [ "/share/man", "/lib/perl5/*/*/CORE/*.a" ], "sources": [ { "type": "archive", "url": "https://www.cpan.org/src/5.0/perl-5.42.2.tar.xz", "sha256": "0a585eeb9e363c0f80482ddb3571625250c2c86aeb408853e8ea50805cfb14bb" } ] }, { "name": "lgi", "buildsystem": "meson", "sources": [ { "type": "archive", "url": "https://github.com/pavouk/lgi/archive/c9b8e4473c6421f2a215d8c06c0d94b86eb0b26a.tar.gz", "sha256": "db67b2b7ee89fa566f783486d56be7203552a997bc55f35020b57dd2776b9943" } ] }, { "name": "zoitechat", "buildsystem": "meson", "config-opts": [ "-Ddbus-service-use-appid=true", "-Dwith-perl=perl", "-Dwith-python=python3", "-Dwith-lua=lua" ], "build-options": { "cflags": "-Wno-error=missing-include-dirs" }, "cleanup": [ "/share/man" ], "post-install": [ "install -d /app/extensions" ], "sources": [ { "type": "git", "url": "https://github.com/ZoiteChat/zoitechat.git", "tag": "zoitechat-2.18.1", "commit": "479f1649efa0e5b166a7c7c9d86214b42ec9f794" }, { "type": "file", "url": "https://publicsuffix.org/list/public_suffix_list.dat", "sha256": "6f7f7d9e8c68447f1c74095a12574b7fee46b0cd759c518a659aee0615d8e118", "dest": "src/common", "dest-filename": "public_suffix_list.dat" }, { "type": "patch", "path": "Load-plugins-from-Flatpak-extensions.patch" } ] } ] }