diff options
author | André Apitzsch <git@apitzsch.eu> | 2022-03-25 21:46:24 +0300 |
---|---|---|
committer | lovetox <philipp@hoerist.com> | 2022-03-28 01:17:12 +0300 |
commit | 95e826804be9eaecee533e6727894ba9278e6bfc (patch) | |
tree | 459beee910ca86378c4b8faaae3e49db12527fd2 /flatpak/org.gajim.Gajim.Devel.yaml | |
parent | 7ce65f4dd2e0a0051a538c3c55a7e1da1e7181a3 (diff) |
other: Flatpak: Add yaml file for stable version
Diffstat (limited to 'flatpak/org.gajim.Gajim.Devel.yaml')
-rw-r--r-- | flatpak/org.gajim.Gajim.Devel.yaml | 331 |
1 files changed, 331 insertions, 0 deletions
diff --git a/flatpak/org.gajim.Gajim.Devel.yaml b/flatpak/org.gajim.Gajim.Devel.yaml new file mode 100644 index 000000000..edcf9c97f --- /dev/null +++ b/flatpak/org.gajim.Gajim.Devel.yaml @@ -0,0 +1,331 @@ +app-id: org.gajim.Gajim.Devel +runtime: org.gnome.Platform +runtime-version: '42' +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.GeoClue2 + - --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 + # GnuPG + - --filesystem=~/.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 + +cleanup: + - /include + - /lib/debug + - /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.7-py3-none-any.whl + sources: + - type: file + url: https://files.pythonhosted.org/packages/py3/p/pyparsing/pyparsing-3.0.7-py3-none-any.whl + sha256: a6c06a88f252e6c322f65faf8f418b16213b51bdfaece0524c1c1bc30c63c484 + + - name: python3-packaging + buildsystem: simple + build-commands: + - pip3 install packaging-21.3-py3-none-any.whl + sources: + - type: file + url: https://files.pythonhosted.org/packages/py3/p/packaging/packaging-21.3-py3-none-any.whl + sha256: ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522 + + - 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.0.tar.gz + sha256: 920f0d66a896c2d99f0adbb391f990a84091179542c205fa53ce5787aff87954 + + - 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.3-py3-none-any.whl + sources: + - type: file + url: https://files.pythonhosted.org/packages/py3/i/idna/idna-3.3-py3-none-any.whl + sha256: 84d9dd047ffa80596e0f246e2eab0b391788b0503584e8945f2368256d2735ff + + - name: python3-cryptography + buildsystem: simple + only-arches: + - aarch64 + build-commands: + - pip3 install cryptography-36.0.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl + sources: + - type: file + url: https://files.pythonhosted.org/packages/cp36/c/cryptography/cryptography-36.0.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl + sha256: 8241cac0aae90b82d6b5c443b853723bcc66963970c67e56e71a2609dc4b5eaf + + - name: python3-cryptography + buildsystem: simple + only-arches: + - x86_64 + build-commands: + - pip3 install cryptography-36.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-36.0.2-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl + sha256: 7b2d54e787a884ffc6e187262823b6feb06c338084bbe80d45166a1cb1c6c5bf + + - name: python3-pyopenssl + buildsystem: simple + build-commands: + - pip3 install pyOpenSSL-22.0.0-py2.py3-none-any.whl + sources: + - type: file + url: https://files.pythonhosted.org/packages/py2.py3/p/pyOpenSSL/pyOpenSSL-22.0.0-py2.py3-none-any.whl + sha256: ea252b38c87425b64116f808355e8da644ef9b07e429398bfece610f893ee2e0 + + - 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.2.18.tar.gz + sha256: 92bdd1e68b45596c833307a5ff4b217ee6929a1502f5341bae28fd120acf7260 + + - name: python3-jeepney + buildsystem: simple + build-commands: + - pip3 install jeepney-0.7.1-py3-none-any.whl + sources: + - type: file + url: https://files.pythonhosted.org/packages/py3/j/jeepney/jeepney-0.7.1-py3-none-any.whl + sha256: 1b5a0ea5c0e7b166b2f5895b91a08c14de8915afda4407fb5022a195224958ac + + - name: python3-secretstorage + buildsystem: simple + build-commands: + - pip3 install SecretStorage-3.3.1-py3-none-any.whl + sources: + - type: file + url: https://files.pythonhosted.org/packages/py3/S/SecretStorage/SecretStorage-3.3.1-py3-none-any.whl + sha256: 422d82c36172d88d6a0ed5afdec956514b189ddbfb72fefab0c8a1cee4eaf71f + + - name: python3-zipp + buildsystem: simple + build-commands: + - pip3 install zipp-3.7.0-py3-none-any.whl + sources: + - type: file + url: https://files.pythonhosted.org/packages/py3/z/zipp/zipp-3.7.0-py3-none-any.whl + sha256: b47250dd24f92b7dd6a0a8fc5244da14608f3ca90a5efcd37a3b1642fac9a375 + + # keyring dependency + - name: python3-importlib-metadata + buildsystem: simple + build-commands: + - pip3 install importlib_metadata-4.11.3-py3-none-any.whl + cleanup: + - /bin + sources: + - type: file + url: https://files.pythonhosted.org/packages/py3/i/importlib_metadata/importlib_metadata-4.11.3-py3-none-any.whl + sha256: 1208431ca90a8cca1a6b8af391bb53c1a2db74e5d1cef6ddced95d4b2062edc6 + + - name: python3-keyring + buildsystem: simple + build-commands: + - pip3 install keyring-23.5.0-py3-none-any.whl + cleanup: + - /bin + sources: + - type: file + url: https://files.pythonhosted.org/packages/py3/k/keyring/keyring-23.5.0-py3-none-any.whl + sha256: b0d28928ac3ec8e42ef4cc227822647a19f1d544f21f96457965dc01cf555261 + + - name: python3-css-parser + buildsystem: simple + build-commands: + - pip3 install css_parser-1.0.7-py2.py3-none-any.whl + sources: + - type: file + url: https://files.pythonhosted.org/packages/py2.py3/c/css_parser/css_parser-1.0.7-py2.py3-none-any.whl + sha256: de7018ec9d3f20f7d692973c37f22ae9a22123c60c77b11849363f47ef6f3387 + + - name: python3-precis_i18n + buildsystem: simple + build-commands: + - pip3 install precis_i18n-1.0.4-py3-none-any.whl + sources: + - type: file + url: https://files.pythonhosted.org/packages/py3/p/precis_i18n/precis_i18n-1.0.4-py3-none-any.whl + sha256: 8b4f6100c2f5e44db61081d53c9c07ff92e50d0a7b36eedd2f4fb7d40c48576d + + # 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 + + - name: python3-gssapi + buildsystem: simple + build-commands: + - pip3 install . + sources: + - type: archive + url: https://files.pythonhosted.org/packages/source/g/gssapi/gssapi-1.7.3.tar.gz + sha256: c69b9f633a0c03c1b84ba14c73b0ec132f6323056e675702c1a5f75f316e06fb + + # 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.8/gspell-1.8.4.tar.xz + sha256: cf4d16a716e813449bd631405dc1001ea89537b8cdae2b8abfb3999212bd43b4 + + - 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.0.1.tar.gz + sha256: 6c8bc8238a7dfdaf7a75f5ec5a663f4173f8c367e5a39f87e720495e1eed75fa + + # sentry-sdk dependency + - name: python3-urllib3 + buildsystem: simple + build-commands: + - pip3 install urllib3-1.26.9-py2.py3-none-any.whl + sources: + - type: file + url: https://files.pythonhosted.org/packages/py2.py3/u/urllib3/urllib3-1.26.9-py2.py3-none-any.whl + sha256: 44ece4d53fb1706f667c9bd1c648f5469a2ec925fcf3a776667042d645472c14 + + - name: python3-certifi + buildsystem: simple + build-commands: + - pip3 install certifi-2021.10.8-py2.py3-none-any.whl + sources: + - type: file + url: https://files.pythonhosted.org/packages/py2.py3/c/certifi/certifi-2021.10.8-py2.py3-none-any.whl + sha256: d62a0163eb4c2344ac042ab2bdf75399a71a2d8c7d47eac2e2ee91b9d6339569 + + - name: python3-sentry-sdk + buildsystem: simple + build-commands: + - pip3 install sentry_sdk-1.5.8-py2.py3-none-any.whl + sources: + - type: file + url: https://files.pythonhosted.org/packages/py2.py3/s/sentry_sdk/sentry_sdk-1.5.8-py2.py3-none-any.whl + sha256: 32af1a57954576709242beb8c373b3dbde346ac6bd616921def29d68846fb8c3 + + - name: python3-nbxmpp + buildsystem: simple + build-commands: + - pip3 install . + sources: + - type: git + url: https://dev.gajim.org/gajim/python-nbxmpp.git + + - name: gajim + buildsystem: simple + build-commands: + - pip3 install . + - touch /app/share/run-as-flatpak + - 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: shell + commands: + - sed -i "s+<id>org.gajim.Gajim</id>+<id>org.gajim.Gajim.Devel</id>+" data/org.gajim.Gajim.appdata.xml.in + - sed -i "s+<name>Gajim</name>+<name>Gajim (Nightly)</name>+" 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 |