org.gajim.Gajim.yaml 8.58 KB
Newer Older
André's avatar
André committed
1
app-id: org.gajim.Gajim
André's avatar
André committed
2
runtime: org.gnome.Platform
André's avatar
André committed
3
runtime-version: '3.36'
André's avatar
André committed
4
sdk: org.gnome.Sdk
André's avatar
André committed
5
command: gajim
André's avatar
André committed
6 7 8
finish-args:
  - --share=ipc
  - --share=network
9
  - --socket=fallback-x11
André's avatar
André committed
10 11 12 13 14
  - --socket=wayland
  - --socket=pulseaudio
  - --system-talk-name=org.freedesktop.GeoClue2
  - --system-talk-name=org.freedesktop.login1
  - --talk-name=org.mpris.MediaPlayer2.*
15
  - --talk-name=org.freedesktop.portal.Fcitx
André's avatar
André committed
16 17
  # Automatic status
  - --talk-name=org.gnome.Mutter.IdleMonitor
André's avatar
André committed
18 19
  # Keyring
  - --talk-name=org.freedesktop.secrets
20
  - --talk-name=org.kde.kwalletd5
André's avatar
André committed
21 22
  # GnuPG
  - --filesystem=~/.gnupg
23 24
  # camera access
  - --device=all
André's avatar
André committed
25 26 27 28
  # extensions
  - --env=PYTHONPATH=/app/plugins/lib/python3.7/site-packages

add-extensions:
André's avatar
André committed
29
  org.gajim.Gajim.Plugin:
André's avatar
André committed
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
    directory: plugins
    merge-dirs: lib/python3.7/site-packages
    subdirectories: true
    no-autodownload: true
    autodelete: true

cleanup:
  - /include
  - /lib/debug
  - /lib/pkgconfig
  - /share/gtk-doc
  - /share/man
  - '*.a'
  - '*.la'

modules:
46 47 48 49 50 51 52 53 54 55 56 57
  - name: python3-pyparsing
    buildsystem: simple
    build-commands:
      - pip3 install --prefix=/app pyparsing-2.4.7-py2.py3-none-any.whl
    sources:
      - type: file
        url: https://files.pythonhosted.org/packages/8a/bb/488841f56197b13700afd5658fc279a2025a39e22449b7cf29864669b15d/pyparsing-2.4.7-py2.py3-none-any.whl
        sha256: ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb1240a85b024efc88b

  - name: python3-packaging
    buildsystem: simple
    build-commands:
André's avatar
André committed
58
      - pip3 install --prefix=/app packaging-20.4-py2.py3-none-any.whl
59 60
    sources:
      - type: file
André's avatar
André committed
61 62
        url: https://files.pythonhosted.org/packages/46/19/c5ab91b1b05cfe63cccd5cfc971db9214c6dd6ced54e33c30d5af1d2bc43/packaging-20.4-py2.py3-none-any.whl
        sha256: 998416ba6962ae7fbd6596850b80e17859a5753ba17c32284f67bfff33784181
63

André's avatar
André committed
64 65 66
  - name: python3-pycparser
    buildsystem: simple
    build-commands:
André's avatar
André committed
67
      - pip3 install --prefix=/app pycparser-2.20-py2.py3-none-any.whl
André's avatar
André committed
68
    sources:
André's avatar
André committed
69 70 71
      - type: file
        url: https://files.pythonhosted.org/packages/ae/e7/d9c3a176ca4b02024debf82342dab36efadfc5776f9c8db077e8f6e71821/pycparser-2.20-py2.py3-none-any.whl
        sha256: 7582ad22678f0fcd81102833f60ef8d0e57288b6b5fb00323d101be910e35705
André's avatar
André committed
72 73 74 75

  - name: python3-cffi
    buildsystem: simple
    build-commands:
76
      - pip3 install --prefix=/app .
André's avatar
André committed
77 78
    sources:
      - type: archive
André's avatar
André committed
79 80
        url: https://files.pythonhosted.org/packages/05/54/3324b0c46340c31b909fcec598696aaec7ddc8c18a63f2db352562d3354c/cffi-1.14.0.tar.gz
        sha256: 2d384f4a127a15ba701207f7639d94106693b6cd64173d6c8988e2c25f3ac2b6
André's avatar
André committed
81 82 83 84

  - name: python3-asn1crypto
    buildsystem: simple
    build-commands:
André's avatar
André committed
85
      - pip3 install --prefix=/app asn1crypto-1.3.0-py2.py3-none-any.whl
André's avatar
André committed
86 87
    sources:
      - type: file
André's avatar
André committed
88 89
        url: https://files.pythonhosted.org/packages/e9/51/1db4a60049fb7390959be586b6eb743098e6cea3f6b2d3ed9e17fec62ba2/asn1crypto-1.3.0-py2.py3-none-any.whl
        sha256: 831d2710d3274c8a74befdddaf9f17fcbf6e350534565074818722d6d615b315
André's avatar
André committed
90 91 92 93

  - name: python3-idna
    buildsystem: simple
    build-commands:
André's avatar
André committed
94
      - pip3 install --prefix=/app idna-2.10-py2.py3-none-any.whl
André's avatar
André committed
95 96
    sources:
      - type: file
André's avatar
André committed
97 98
        url: https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl
        sha256: b97d804b1e9b523befed77c48dacec60e6dcb0b5391d57af6a65a312a90648c0
André's avatar
André committed
99 100 101 102

  - name: python3-cryptography
    buildsystem: simple
    build-commands:
André's avatar
André committed
103
      - python3 setup.py install --prefix=/app
André's avatar
André committed
104 105
    sources:
      - type: archive
André's avatar
André committed
106 107
        url: https://files.pythonhosted.org/packages/56/3b/78c6816918fdf2405d62c98e48589112669f36711e50158a0c15d804c30d/cryptography-2.9.2.tar.gz
        sha256: a0c30272fb4ddda5f5ffc1089d7405b7a71b0b0f51993cb4e5dbb4590b2fc229
André's avatar
André committed
108 109 110 111

  - name: python3-pyopenssl
    buildsystem: simple
    build-commands:
André's avatar
André committed
112
      - pip3 install --prefix=/app pyOpenSSL-19.1.0-py2.py3-none-any.whl
André's avatar
André committed
113 114
    sources:
      - type: file
André's avatar
André committed
115 116
        url: https://files.pythonhosted.org/packages/9e/de/f8342b68fa9e981d348039954657bdf681b2ab93de27443be51865ffa310/pyOpenSSL-19.1.0-py2.py3-none-any.whl
        sha256: 621880965a720b8ece2f1b2f54ea2071966ab00e2970ad2ce11d596102063504
André's avatar
André committed
117 118 119 120 121 122 123

  - name: python3-dbus-python
    build-options:
      env:
        PYTHON_VERSION: '3'
    sources:
      - type: archive
André's avatar
André committed
124 125
        url: https://files.pythonhosted.org/packages/62/7e/d4fb56a1695fa65da0c8d3071855fa5408447b913c58c01933c2f81a269a/dbus-python-1.2.16.tar.gz
        sha256: 11238f1d86c995d8aed2e22f04a1e3779f0d70e587caffeab4857f3c662ed5a4
André's avatar
André committed
126 127 128 129

  - name: python3-jeepney
    buildsystem: simple
    build-commands:
André's avatar
André committed
130
      - pip3 install --prefix=/app jeepney-0.4.3-py3-none-any.whl
André's avatar
André committed
131 132
    sources:
      - type: file
André's avatar
André committed
133 134
        url: https://files.pythonhosted.org/packages/79/31/2e8d42727595faf224c6dbb748c32b192e212f25495fe841fb7ce8e168b8/jeepney-0.4.3-py3-none-any.whl
        sha256: d6c6b49683446d2407d2fe3acb7a368a77ff063f9182fe427da15d622adc24cf
André's avatar
André committed
135 136 137 138

  - name: python3-secretstorage
    buildsystem: simple
    build-commands:
André's avatar
André committed
139 140 141 142 143 144 145 146 147 148
      - pip3 install --prefix=/app SecretStorage-3.1.2-py3-none-any.whl
    sources:
      - type: file
        url: https://files.pythonhosted.org/packages/c3/50/8a02cad020e949e6d7105f5f4530d41e3febcaa5b73f8f2148aacb3aeba5/SecretStorage-3.1.2-py3-none-any.whl
        sha256: b5ec909dde94d4ae2fa26af7c089036997030f0cf0a5cb372b4cccabd81c143b

  - name: python3-zipp
    buildsystem: simple
    build-commands:
      - pip3 install --prefix=/app zipp-3.1.0-py3-none-any.whl
André's avatar
André committed
149 150
    sources:
      - type: file
André's avatar
André committed
151 152
        url: https://files.pythonhosted.org/packages/b2/34/bfcb43cc0ba81f527bc4f40ef41ba2ff4080e047acb0586b56b3d017ace4/zipp-3.1.0-py3-none-any.whl
        sha256: aa36550ff0c0b7ef7fa639055d797116ee891440eac1a56f378e2d3179e0320b
André's avatar
André committed
153

André's avatar
André committed
154
  - name: python3-importlib_metadata
André's avatar
André committed
155 156
    buildsystem: simple
    build-commands:
André's avatar
André committed
157
      - pip3 install --prefix=/app importlib_metadata-1.7.0-py2.py3-none-any.whl
André's avatar
André committed
158 159
    sources:
      - type: file
André's avatar
André committed
160 161
        url: https://files.pythonhosted.org/packages/8e/58/cdea07eb51fc2b906db0968a94700866fc46249bdc75cac23f9d13168929/importlib_metadata-1.7.0-py2.py3-none-any.whl
        sha256: dc15b2969b4ce36305c51eebe62d418ac7791e9a157911d58bfb1f9ccd8e2070
André's avatar
André committed
162 163 164 165

  - name: python3-keyring
    buildsystem: simple
    build-commands:
André's avatar
André committed
166
      - pip3 install --prefix=/app keyring-21.2.1-py3-none-any.whl
André's avatar
André committed
167 168 169 170
    cleanup:
      - /bin
    sources:
      - type: file
André's avatar
André committed
171 172
        url: https://files.pythonhosted.org/packages/a8/5e/d13b9feb235d042321a239ac8bc85e90cf3bbe49090c6f1383ac3fd53e0e/keyring-21.2.1-py3-none-any.whl
        sha256: 3401234209015144a5d75701e71cb47239e552b0882313e9f51e8976f9e27843
André's avatar
André committed
173

174
  - name: python3-css-parser
André's avatar
André committed
175 176
    buildsystem: simple
    build-commands:
André's avatar
André committed
177
      - pip3 install --prefix=/app css_parser-1.0.4-py3-none-any.whl
André's avatar
André committed
178 179
    sources:
      - type: file
180 181
        url: https://files.pythonhosted.org/packages/py3/c/css_parser/css_parser-1.0.4-py3-none-any.whl
        sha256: 49d6906416569e715b144df97ed81a94b6dc663fbcae6d1dbf4807e7fb8367ae
André's avatar
André committed
182

183 184 185
  - name: python3-precis_i18n
    buildsystem: simple
    build-commands:
André's avatar
André committed
186
      - pip3 install --prefix=/app precis_i18n-1.0.1-py3-none-any.whl
187 188
    sources:
      - type: file
André's avatar
André committed
189 190
        url: https://files.pythonhosted.org/packages/b6/ec/9abe8377d9819fc0383992aaa1b8ce263b45a2371f9f30204abf61029937/precis_i18n-1.0.1-py3-none-any.whl
        sha256: dc9f9fb0c080af9454adce9cc1ddcd718309f3a99ca05186f65e9f6b0654dcd9
191

André's avatar
André committed
192 193 194 195 196 197 198
  - name: gsound
    sources:
      - type: git
        url: https://gitlab.gnome.org/GNOME/gsound.git
        tag: 1.0.2
        commit: a86946b494aa32782b3f6334344d07b5c11d5219

André's avatar
André committed
199 200 201 202 203
  - name: gspell
    cleanup:
      - /bin
    sources:
      - type: archive
André's avatar
André committed
204 205
        url: https://download.gnome.org/sources/gspell/1.8/gspell-1.8.3.tar.xz
        sha256: 5ae514dd0216be069176accf6d0049d6a01cfa6a50df4bc06be85f7080b62de8
André's avatar
André committed
206

207 208 209 210 211 212
  - name: farstream
    sources:
      - type: archive
        url: https://freedesktop.org/software/farstream/releases/farstream/farstream-0.2.9.tar.gz
        sha256: cb7d112433cf7c2e37a8ec918fb24f0ea5cb293cfa1002488e431de26482f47b

André's avatar
André committed
213 214 215
  - name: python3-nbxmpp
    buildsystem: simple
    build-commands:
André's avatar
André committed
216
      - pip3 install --prefix=/app nbxmpp-1.0.1-py3-none-any.whl
André's avatar
André committed
217
    sources:
André's avatar
André committed
218 219 220
      - type: file
        url: https://files.pythonhosted.org/packages/69/88/1c4dd610dc04363f3e6477ca035a1293370ef47a8c15527e60e885276a32/nbxmpp-1.0.1-py3-none-any.whl
        sha256: 0d7fbf5740925e3890f48fb293043db1dadf02fbb65bb6344d2dec0c056f71d4
André's avatar
André committed
221 222 223 224 225 226 227 228 229

  - name: gajim
    buildsystem: simple
    build-commands:
      - pip3 install --prefix=/app .
      - touch /app/share/run-as-flatpak
    sources:
      - type: git
        url: https://dev.gajim.org/gajim/gajim.git
André's avatar
André committed
230
        branch: gajim_1.2
André's avatar
André committed
231 232
    post-install:
      - install -d /app/plugins