app-id: org.gajim.Gajim runtime: org.gnome.Platform runtime-version: '44' sdk: org.gnome.Sdk command: gajim finish-args: - --share=ipc - --share=network - --socket=fallback-x11 - --socket=wayland - --socket=pulseaudio - --system-talk-name=org.freedesktop.login1 - --talk-name=org.mpris.MediaPlayer2.* # Automatic status - --talk-name=org.freedesktop.ScreenSaver - --talk-name=org.gnome.Mutter.IdleMonitor # Keyring - --talk-name=org.freedesktop.secrets - --talk-name=org.kde.kwalletd5 # Notifications - --talk-name=org.freedesktop.Notifications # tray/status icon - --talk-name=org.kde.StatusNotifierWatcher # GnuPG - --filesystem=~/.gnupg - --filesystem=xdg-run/gnupg # camera access - --device=all # extensions - --env=PYTHONPATH=/app/plugins/site-packages - --env=GI_TYPELIB_PATH=/app/lib/girepository-1.0:/app/plugins/lib/girepository-1.0 add-extensions: org.gajim.Gajim.Plugin: directory: plugins merge-dirs: lib;site-packages add-ld-path: lib subdirectories: true no-autodownload: true autodelete: true build-options: env: PIP_PREFIX: /app PIP_DISABLE_PIP_VERSION_CHECK: "1" cleanup: - /include - /lib/pkgconfig - /share/gtk-doc - /share/man - '*.a' - '*.la' modules: - shared-modules/libappindicator/libappindicator-gtk3-introspection-12.10.json - name: python3-pyparsing buildsystem: simple build-commands: - pip3 install pyparsing-3.0.9-py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py3/p/pyparsing/pyparsing-3.0.9-py3-none-any.whl sha256: 5026bae9a10eeaefb61dab2f09052b9f4307d44aee4eda64b309723d8d206bbc - name: python3-packaging buildsystem: simple build-commands: - pip3 install packaging-23.1-py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py3/p/packaging/packaging-23.1-py3-none-any.whl sha256: 994793af429502c4ea2ebf6bf664629d07c1a9fe974af92966e4b8d2df7edc61 - name: python3-pycparser buildsystem: simple build-commands: - pip3 install pycparser-2.21-py2.py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py2.py3/p/pycparser/pycparser-2.21-py2.py3-none-any.whl sha256: 8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9 - name: python3-cffi buildsystem: simple build-commands: - pip3 install . sources: - type: archive url: https://files.pythonhosted.org/packages/source/c/cffi/cffi-1.15.1.tar.gz sha256: d400bfb9a37b1351253cb402671cea7e89bdecc294e8016a707f6d1d8ac934f9 - name: python3-asn1crypto buildsystem: simple build-commands: - pip3 install asn1crypto-1.5.1-py2.py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py2.py3/a/asn1crypto/asn1crypto-1.5.1-py2.py3-none-any.whl sha256: db4e40728b728508912cbb3d44f19ce188f218e9eba635821bb4b68564f8fd67 - name: python3-idna buildsystem: simple build-commands: - pip3 install idna-3.4-py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py3/i/idna/idna-3.4-py3-none-any.whl sha256: 90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2 - name: python3-cryptography buildsystem: simple only-arches: - aarch64 build-commands: - pip3 install cryptography-40.0.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl sources: - type: file url: https://files.pythonhosted.org/packages/cp36/c/cryptography/cryptography-40.0.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl sha256: 4df2af28d7bedc84fe45bd49bc35d710aede676e2a4cb7fc6d103a2adc8afe4d - name: python3-cryptography buildsystem: simple only-arches: - x86_64 build-commands: - pip3 install cryptography-40.0.2-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl sources: - type: file url: https://files.pythonhosted.org/packages/cp36/c/cryptography/cryptography-40.0.2-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl sha256: 0dcca15d3a19a66e63662dc8d30f8036b07be851a8680eda92d079868f106288 - name: python3-dbus-python build-options: env: PYTHON_VERSION: '3' sources: - type: archive url: https://files.pythonhosted.org/packages/source/d/dbus-python/dbus-python-1.3.2.tar.gz sha256: ad67819308618b5069537be237f8e68ca1c7fcc95ee4a121fe6845b1418248f8 - name: python3-jeepney buildsystem: simple build-commands: - pip3 install jeepney-0.8.0-py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py3/j/jeepney/jeepney-0.8.0-py3-none-any.whl sha256: c0a454ad016ca575060802ee4d590dd912e35c122fa04e70306de3d076cce755 - name: python3-secretstorage buildsystem: simple build-commands: - pip3 install SecretStorage-3.3.3-py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py3/S/SecretStorage/SecretStorage-3.3.3-py3-none-any.whl sha256: f356e6628222568e3af06f2eba8df495efa13b3b63081dafd4f7d9a7b7bc9f99 # importlib-metadata dependency - name: python3-zipp buildsystem: simple build-commands: - pip3 install zipp-3.15.0-py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py3/z/zipp/zipp-3.15.0-py3-none-any.whl sha256: 48904fc76a60e542af151aded95726c1a5c34ed43ab4134b597665c86d7ad556 # jaraco.classes dependency - name: python3-more-itertools buildsystem: simple build-commands: - pip3 install more_itertools-9.1.0-py3-none-any.whl cleanup: - /bin sources: - type: file url: https://files.pythonhosted.org/packages/py3/m/more_itertools/more_itertools-9.1.0-py3-none-any.whl sha256: d2bc7f02446e86a68911e58ded76d6561eea00cddfb2a91e7019bbb586c799f3 # keyring dependency - name: python3-importlib-metadata buildsystem: simple build-commands: - pip3 install importlib_metadata-6.6.0-py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py3/i/importlib_metadata/importlib_metadata-6.6.0-py3-none-any.whl sha256: 43dd286a2cd8995d5eaef7fee2066340423b818ed3fd70adf0bad5f1fac53fed - name: python3-jaraco.classes buildsystem: simple build-commands: - pip3 install jaraco.classes-3.2.3-py3-none-any.whl cleanup: - /bin sources: - type: file url: https://files.pythonhosted.org/packages/py3/j/jaraco.classes/jaraco.classes-3.2.3-py3-none-any.whl sha256: 2353de3288bc6b82120752201c6b1c1a14b058267fa424ed5ce5984e3b922158 - name: python3-keyring buildsystem: simple build-commands: - pip3 install keyring-23.13.1-py3-none-any.whl cleanup: - /bin sources: - type: file url: https://files.pythonhosted.org/packages/py3/k/keyring/keyring-23.13.1-py3-none-any.whl sha256: 771ed2a91909389ed6148631de678f82ddc73737d85a927f382a8a1b157898cd - name: python3-css-parser buildsystem: simple build-commands: - pip3 install css_parser-1.0.9-py2.py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py2.py3/c/css_parser/css_parser-1.0.9-py2.py3-none-any.whl sha256: e18f66961103b61df25aa6df0dc808ab61c23e65ae6c1a8c149fe71911190495 - name: python3-precis_i18n buildsystem: simple build-commands: - pip3 install precis_i18n-1.0.5-py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py3/p/precis_i18n/precis_i18n-1.0.5-py3-none-any.whl sha256: 14eceeae73dc7bbd1c4a17d2ac7143db87d65ded98eec44c47911270812862a3 # GSound dependency - shared-modules/libcanberra/libcanberra.json - name: gsound buildsystem: meson sources: - type: archive url: https://download.gnome.org/sources/gsound/1.0/gsound-1.0.3.tar.xz sha256: ca2d039e1ebd148647017a7f548862350bc9af01986d39f10cfdc8e95f07881a - name: gspell cleanup: - /bin sources: - type: archive url: https://download.gnome.org/sources/gspell/1.12/gspell-1.12.1.tar.xz sha256: 8ec44f32052e896fcdd4926eb814a326e39a5047e251eec7b9056fbd9444b0f1 - name: farstream rm-configure: true sources: - type: archive url: https://freedesktop.org/software/farstream/releases/farstream/farstream-0.2.9.tar.gz sha256: cb7d112433cf7c2e37a8ec918fb24f0ea5cb293cfa1002488e431de26482f47b - type: patch path: farstream-make-4.3.patch - name: python3-pillow buildsystem: simple build-commands: - pip3 install . sources: - type: archive url: https://files.pythonhosted.org/packages/source/p/pillow/Pillow-9.5.0.tar.gz sha256: bf548479d336726d7a0eceb6e767e179fbde37833ae42794602631a070d630f1 # sentry-sdk dependency - name: python3-urllib3 buildsystem: simple build-commands: - pip3 install urllib3-1.26.16-py2.py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py2.py3/u/urllib3/urllib3-1.26.16-py2.py3-none-any.whl sha256: 8d36afa7616d8ab714608411b4a3b13e58f463aee519024578e062e141dce20f - name: python3-certifi buildsystem: simple build-commands: - pip3 install certifi-2023.5.7-py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py3/c/certifi/certifi-2023.5.7-py3-none-any.whl sha256: c6c2e98f5c7869efca1f8916fed228dd91539f9f1b444c314c06eef02980c716 - name: python3-sentry-sdk buildsystem: simple build-commands: - pip3 install sentry_sdk-1.24.0-py2.py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py2.py3/s/sentry_sdk/sentry_sdk-1.24.0-py2.py3-none-any.whl sha256: 56d6d9d194c898d853a7c1dd99bed92ce82334ee1282292c15bcc967ff1a49b5 # gssapi dependency - name: python3-decorator buildsystem: simple build-commands: - pip3 install decorator-5.1.1-py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py3/d/decorator/decorator-5.1.1-py3-none-any.whl sha256: b8c3f85900b9dc423225913c5aace94729fe1fa9763b38939a95226f02d37186 # qrcode dependencies - name: python3-pypng buildsystem: simple build-commands: - pip3 install pypng-0.20220715.0-py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py3/p/pypng/pypng-0.20220715.0-py3-none-any.whl sha256: 4a43e969b8f5aaafb2a415536c1a8ec7e341cd6a3f957fd5b5f32a4cfeed902c - name: python3-typing-extensions buildsystem: simple build-commands: - pip3 install typing_extensions-4.6.2-py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py3/t/typing_extensions/typing_extensions-4.6.2-py3-none-any.whl sha256: 3a8b36f13dd5fdc5d1b16fe317f5668545de77fa0b8e02006381fd49d731ab98 # OMEMO dependencies - name: python3-qrcode buildsystem: simple build-commands: - pip3 install --no-build-isolation . sources: - type: archive url: https://files.pythonhosted.org/packages/source/q/qrcode/qrcode-7.4.2.tar.gz sha256: 9dd969454827e127dbd93696b20747239e6d540e082937c90f14ac95b30f5845 - name: python3-protobuf buildsystem: simple build-commands: - pip3 install --no-deps protobuf-4.23.2-py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py3/p/protobuf/protobuf-4.23.2-py3-none-any.whl sha256: 8da6070310d634c99c0db7df48f10da495cc283fd9e9234877f0cd182d43ab7f - name: python3-omemo-dr buildsystem: simple build-commands: - pip3 install --no-build-isolation . sources: - type: archive url: https://files.pythonhosted.org/packages/source/o/omemo-dr/omemo-dr-1.0.0.tar.gz sha256: b0fe5023e947a17b740fb7ed4aa246120d6f21d819b5812e94dfc9570520be61 # nbxmpp dependency (optional) - name: python3-gssapi buildsystem: simple build-commands: - pip3 install --no-build-isolation . sources: - type: archive url: https://files.pythonhosted.org/packages/source/g/gssapi/gssapi-1.8.2.tar.gz sha256: b78e0a021cc91158660e4c5cc9263e07c719346c35a9c0f66725e914b235c89a - name: python3-nbxmpp buildsystem: simple build-commands: - pip3 install nbxmpp-4.3.0-py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py3/n/nbxmpp/nbxmpp-4.3.0-py3-none-any.whl sha256: dcbf5cec51ddc3ac7aeaa2d5fca02e2b004b92fc1622cb0d7f1e18c33e593b1e - name: gajim buildsystem: simple build-commands: - pip3 install --no-build-isolation . - ./pep517build/build_metadata.py - ./pep517build/install_metadata.py dist/metadata --prefix=/app - touch /app/share/run-as-flatpak - cp -t ${FLATPAK_DEST} app-overrides.json sources: - type: git url: https://dev.gajim.org/gajim/gajim.git tag: 1.8.0 - type: file path: app-overrides.json post-install: - install -d /app/plugins