app-id: org.gajim.Gajim.Devel runtime: org.gnome.Platform runtime-version: '45' sdk: org.gnome.Sdk command: gajim-devel tags: - devel - development - nightly rename-icon: org.gajim.Gajim rename-desktop-file: org.gajim.Gajim.desktop rename-appdata-file: org.gajim.Gajim.appdata.xml 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.Devel.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: gtksourceview4 buildsystem: meson sources: - type: archive url: https://download.gnome.org/sources/gtksourceview/4.8/gtksourceview-4.8.4.tar.xz sha256: 7ec9d18fb283d1f84a3a3eff3b7a72b09a10c9c006597b3fbabbb5958420a87d - name: python3-packaging buildsystem: simple build-commands: - pip3 install packaging-23.2-py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py3/p/packaging/packaging-23.2-py3-none-any.whl sha256: 8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7 - 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 --no-build-isolation . sources: - type: archive url: https://files.pythonhosted.org/packages/source/c/cffi/cffi-1.16.0.tar.gz sha256: bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0 - name: python3-idna buildsystem: simple build-commands: - pip3 install idna-3.6-py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py3/i/idna/idna-3.6-py3-none-any.whl sha256: c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f - name: python3-cryptography buildsystem: simple only-arches: - aarch64 build-commands: - pip3 install cryptography-41.0.4-cp37-abi3-manylinux_2_28_aarch64.whl sources: - type: file url: https://files.pythonhosted.org/packages/cp37/c/cryptography/cryptography-41.0.4-cp37-abi3-manylinux_2_28_aarch64.whl sha256: 23a25c09dfd0d9f28da2352503b23e086f8e78096b9fd585d1d14eca01613e13 - name: python3-cryptography buildsystem: simple only-arches: - x86_64 build-commands: - pip3 install cryptography-41.0.4-cp37-abi3-manylinux_2_28_x86_64.whl sources: - type: file url: https://files.pythonhosted.org/packages/cp37/c/cryptography/cryptography-41.0.4-cp37-abi3-manylinux_2_28_x86_64.whl sha256: 2ed09183922d66c4ec5fdaa59b4d14e105c084dd0febd27452de8f6f74704143 - 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.17.0-py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py3/z/zipp/zipp-3.17.0-py3-none-any.whl sha256: 0e923e726174922dce09c53c59ad483ff7bbb8e572e00c7f7c46b88556409f31 # jaraco.classes dependency - name: python3-more-itertools buildsystem: simple build-commands: - pip3 install more_itertools-10.1.0-py3-none-any.whl cleanup: - /bin sources: - type: file url: https://files.pythonhosted.org/packages/py3/m/more_itertools/more_itertools-10.1.0-py3-none-any.whl sha256: 64e0735fcfdc6f3464ea133afe8ea4483b1c5fe3a3d69852e6503b43a0b222e6 # keyring dependency - name: python3-importlib-metadata buildsystem: simple build-commands: - pip3 install importlib_metadata-6.8.0-py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py3/i/importlib_metadata/importlib_metadata-6.8.0-py3-none-any.whl sha256: 3ebb78df84a805d7698245025b975d9d67053cd94c79245ba4b3eb694abe68bb - name: python3-jaraco.classes buildsystem: simple build-commands: - pip3 install jaraco.classes-3.3.0-py3-none-any.whl cleanup: - /bin sources: - type: file url: https://files.pythonhosted.org/packages/py3/j/jaraco.classes/jaraco.classes-3.3.0-py3-none-any.whl sha256: 10afa92b6743f25c0cf5f37c6bb6e18e2c5bb84a16527ccfc0040ea377e7aaeb - name: python3-keyring buildsystem: simple build-commands: - pip3 install keyring-24.3.0-py3-none-any.whl cleanup: - /bin sources: - type: file url: https://files.pythonhosted.org/packages/py3/k/keyring/keyring-24.3.0-py3-none-any.whl sha256: 4446d35d636e6a10b8bce7caa66913dd9eca5fd222ca03a3d42c38608ac30836 - name: python3-css-parser buildsystem: simple build-commands: - pip3 install css_parser-1.0.10-py2.py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py2.py3/c/css_parser/css_parser-1.0.10-py2.py3-none-any.whl sha256: d2e955a114829f0a327cc5535c2e65fe2e40b883b892881017d419a3b6dd05b7 - name: python3-precis_i18n buildsystem: simple build-commands: - pip3 install precis_i18n-1.1.0-py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py3/p/precis_i18n/precis_i18n-1.1.0-py3-none-any.whl sha256: 15358c96f070a1fc1ae5738d62d7ed00037975844715db88c3b041060a436a50 # 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.2.tar.xz sha256: b4e993bd827e4ceb6a770b1b5e8950fce3be9c8b2b0cbeb22fdf992808dd2139 - 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 --no-build-isolation . sources: - type: archive url: https://files.pythonhosted.org/packages/source/p/pillow/Pillow-10.1.0.tar.gz sha256: e6bf8de6c36ed96c86ea3b6e1d5273c53f46ef518a062464cd7ef5dd2cf92e38 # sentry-sdk dependency - name: python3-urllib3 buildsystem: simple build-commands: - pip3 install urllib3-2.1.0-py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py3/u/urllib3/urllib3-2.1.0-py3-none-any.whl sha256: 55901e917a5896a349ff771be919f8bd99aff50b79fe58fec595eb37bbc56bb3 - name: python3-certifi buildsystem: simple build-commands: - pip3 install certifi-2023.11.17-py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py3/c/certifi/certifi-2023.11.17-py3-none-any.whl sha256: e036ab49d5b79556f99cfc2d9320b34cfbe5be05c5871b51de9329f0603b0474 - name: python3-sentry-sdk buildsystem: simple build-commands: - pip3 install sentry_sdk-1.37.1-py2.py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py2.py3/s/sentry_sdk/sentry_sdk-1.37.1-py2.py3-none-any.whl sha256: a249c7364827ee89daaa078bb8b56ece0b3d52d9130961bef2302b79bdf7fe70 # 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.8.0-py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py3/t/typing_extensions/typing_extensions-4.8.0-py3-none-any.whl sha256: 8f92fc8806f9a6b641eaa5318da32b44d401efaac0f6678c9bc448ba3605faa0 # 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.25.1-py3-none-any.whl sources: - type: file url: https://files.pythonhosted.org/packages/py3/p/protobuf/protobuf-4.25.1-py3-none-any.whl sha256: a19731d5e83ae4737bb2a089605e636077ac001d18781b3cf489b9546c7c80d6 - name: python3-omemo-dr buildsystem: simple build-commands: - pip3 install --no-build-isolation . sources: - type: git url: https://dev.gajim.org/gajim/omemo-dr.git # 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.3.tar.gz sha256: aa3c8d0b1526f52559552bb2c9d2d6be013d76a8e5db00b39a1db5727e93b0b0 - name: python3-nbxmpp buildsystem: simple build-commands: - pip3 install --no-build-isolation . sources: - type: git url: https://dev.gajim.org/gajim/python-nbxmpp.git - 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 - echo -e '#!/bin/sh\ngajim --gapplication-app-id=org.gajim.Gajim.Devel "$@"' > /app/bin/gajim-devel - chmod 755 /app/bin/gajim-devel sources: - type: git url: https://dev.gajim.org/gajim/gajim.git - type: file path: app-overrides.json - type: shell commands: - sed -i "s+org.gajim.Gajim+org.gajim.Gajim.Devel+" data/org.gajim.Gajim.appdata.xml.in - sed -i "s+Gajim+Gajim (Nightly)+" data/org.gajim.Gajim.appdata.xml.in - sed -i "s+Exec=gajim+Exec=gajim-devel+" data/org.gajim.Gajim.desktop.in - mv gajim/data/icons/hicolor/scalable/apps/org.gajim.Gajim{.Devel,}.svg post-install: - install -d /app/plugins