1app-id: org.gajim.Gajim 2runtime: org.gnome.Platform 3runtime-version: '40' 4sdk: org.gnome.Sdk 5command: gajim 6finish-args: 7 - --share=ipc 8 - --share=network 9 - --socket=fallback-x11 10 - --socket=wayland 11 - --socket=pulseaudio 12 - --system-talk-name=org.freedesktop.GeoClue2 13 - --system-talk-name=org.freedesktop.login1 14 - --talk-name=org.mpris.MediaPlayer2.* 15 - --talk-name=org.freedesktop.portal.Fcitx 16 # Automatic status 17 - --talk-name=org.freedesktop.ScreenSaver 18 - --talk-name=org.gnome.Mutter.IdleMonitor 19 # Keyring 20 - --talk-name=org.freedesktop.secrets 21 - --talk-name=org.kde.kwalletd5 22 # GnuPG 23 - --filesystem=~/.gnupg 24 # camera access 25 - --device=all 26 # extensions 27 - --env=PYTHONPATH=/app/plugins/site-packages 28 - --env=GI_TYPELIB_PATH=/app/lib/girepository-1.0:/app/plugins/lib/girepository-1.0 29 30add-extensions: 31 org.gajim.Gajim.Plugin: 32 directory: plugins 33 merge-dirs: lib;site-packages 34 add-ld-path: lib 35 subdirectories: true 36 no-autodownload: true 37 autodelete: true 38 39cleanup: 40 - /include 41 - /lib/debug 42 - /lib/pkgconfig 43 - /share/gtk-doc 44 - /share/man 45 - '*.a' 46 - '*.la' 47 48modules: 49 - name: python3-pyparsing 50 buildsystem: simple 51 build-commands: 52 - pip3 install --prefix=/app pyparsing-2.4.7-py2.py3-none-any.whl 53 sources: 54 - type: file 55 url: https://files.pythonhosted.org/packages/8a/bb/488841f56197b13700afd5658fc279a2025a39e22449b7cf29864669b15d/pyparsing-2.4.7-py2.py3-none-any.whl 56 sha256: ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb1240a85b024efc88b 57 58 - name: python3-packaging 59 buildsystem: simple 60 build-commands: 61 - pip3 install --prefix=/app packaging-21.0-py3-none-any.whl 62 sources: 63 - type: file 64 url: https://files.pythonhosted.org/packages/3c/77/e2362b676dc5008d81be423070dd9577fa03be5da2ba1105811900fda546/packaging-21.0-py3-none-any.whl 65 sha256: c86254f9220d55e31cc94d69bade760f0847da8000def4dfe1c6b872fd14ff14 66 67 - name: python3-pycparser 68 buildsystem: simple 69 build-commands: 70 - pip3 install --prefix=/app pycparser-2.20-py2.py3-none-any.whl 71 sources: 72 - type: file 73 url: https://files.pythonhosted.org/packages/ae/e7/d9c3a176ca4b02024debf82342dab36efadfc5776f9c8db077e8f6e71821/pycparser-2.20-py2.py3-none-any.whl 74 sha256: 7582ad22678f0fcd81102833f60ef8d0e57288b6b5fb00323d101be910e35705 75 76 - name: python3-cffi 77 buildsystem: simple 78 build-commands: 79 - pip3 install --prefix=/app . 80 sources: 81 - type: archive 82 url: https://files.pythonhosted.org/packages/2e/92/87bb61538d7e60da8a7ec247dc048f7671afe17016cd0008b3b710012804/cffi-1.14.6.tar.gz 83 sha256: c9a875ce9d7fe32887784274dd533c57909b7b1dcadcc128a2ac21331a9765dd 84 85 - name: python3-asn1crypto 86 buildsystem: simple 87 build-commands: 88 - pip3 install --prefix=/app asn1crypto-1.4.0-py2.py3-none-any.whl 89 sources: 90 - type: file 91 url: https://files.pythonhosted.org/packages/b5/a8/56be92dcd4a5bf1998705a9b4028249fe7c9a035b955fe93b6a3e5b829f8/asn1crypto-1.4.0-py2.py3-none-any.whl 92 sha256: 4bcdf33c861c7d40bdcd74d8e4dd7661aac320fcdf40b9a3f95b4ee12fde2fa8 93 94 - name: python3-idna 95 buildsystem: simple 96 build-commands: 97 - pip3 install --prefix=/app idna-3.2-py3-none-any.whl 98 sources: 99 - type: file 100 url: https://files.pythonhosted.org/packages/d7/77/ff688d1504cdc4db2a938e2b7b9adee5dd52e34efbd2431051efc9984de9/idna-3.2-py3-none-any.whl 101 sha256: 14475042e284991034cb48e06f6851428fb14c4dc953acd9be9a5e95c7b6dd7a 102 103 - name: python3-cryptography 104 buildsystem: simple 105 build-commands: 106 - python3 setup.py install --prefix=/app 107 sources: 108 - type: archive 109 url: https://files.pythonhosted.org/packages/d4/85/38715448253404186029c575d559879912eb8a1c5d16ad9f25d35f7c4f4c/cryptography-3.3.2.tar.gz 110 sha256: 5a60d3780149e13b7a6ff7ad6526b38846354d11a15e21068e57073e29e19bed 111 112 - name: python3-pyopenssl 113 buildsystem: simple 114 build-commands: 115 - pip3 install --prefix=/app pyOpenSSL-20.0.1-py2.py3-none-any.whl 116 sources: 117 - type: file 118 url: https://files.pythonhosted.org/packages/b2/5e/06351ede29fd4899782ad335c2e02f1f862a887c20a3541f17c3fa1a3525/pyOpenSSL-20.0.1-py2.py3-none-any.whl 119 sha256: 818ae18e06922c066f777a33f1fca45786d85edfe71cd043de6379337a7f274b 120 121 - name: python3-dbus-python 122 build-options: 123 env: 124 PYTHON_VERSION: '3' 125 sources: 126 - type: archive 127 url: https://files.pythonhosted.org/packages/62/7e/d4fb56a1695fa65da0c8d3071855fa5408447b913c58c01933c2f81a269a/dbus-python-1.2.16.tar.gz 128 sha256: 11238f1d86c995d8aed2e22f04a1e3779f0d70e587caffeab4857f3c662ed5a4 129 130 - name: python3-jeepney 131 buildsystem: simple 132 build-commands: 133 - pip3 install --prefix=/app jeepney-0.7.0-py3-none-any.whl 134 sources: 135 - type: file 136 url: https://files.pythonhosted.org/packages/7c/76/5bf3097c2494f8ef38e4149212b20427a0d00c267c4891e2364d77b39373/jeepney-0.7.0-py3-none-any.whl 137 sha256: 71335e7a4e93817982f473f3507bffc2eff7a544119ab9b73e089c8ba1409ba3 138 139 - name: python3-secretstorage 140 buildsystem: simple 141 build-commands: 142 - pip3 install --prefix=/app SecretStorage-3.3.1-py3-none-any.whl 143 sources: 144 - type: file 145 url: https://files.pythonhosted.org/packages/d9/1e/29cd69fdac7391aa51510dfd42aa70b4e6a826c8cd019ee2a8ab9ec0777f/SecretStorage-3.3.1-py3-none-any.whl 146 sha256: 422d82c36172d88d6a0ed5afdec956514b189ddbfb72fefab0c8a1cee4eaf71f 147 148 - name: python3-zipp 149 buildsystem: simple 150 build-commands: 151 - pip3 install --prefix=/app zipp-3.5.0-py3-none-any.whl 152 sources: 153 - type: file 154 url: https://files.pythonhosted.org/packages/92/d9/89f433969fb8dc5b9cbdd4b4deb587720ec1aeb59a020cf15002b9593eef/zipp-3.5.0-py3-none-any.whl 155 sha256: 957cfda87797e389580cb8b9e3870841ca991e2125350677b2ca83a0e99390a3 156 157 # keyring dependency 158 - name: python3-importlib-metadata 159 buildsystem: simple 160 build-commands: 161 - pip3 install --prefix=/app importlib_metadata-4.6.1-py3-none-any.whl 162 cleanup: 163 - /bin 164 sources: 165 - type: file 166 url: https://files.pythonhosted.org/packages/3f/e1/e5bba549a033adf77448699a34ecafc7a32adaeeb4369396b35f56d5cc3e/importlib_metadata-4.6.1-py3-none-any.whl 167 sha256: 9f55f560e116f8643ecf2922d9cd3e1c7e8d52e683178fecd9d08f6aa357e11e 168 169 - name: python3-keyring 170 buildsystem: simple 171 build-commands: 172 - pip3 install --prefix=/app keyring-23.0.1-py3-none-any.whl 173 cleanup: 174 - /bin 175 sources: 176 - type: file 177 url: https://files.pythonhosted.org/packages/26/f9/41230ac47f738f1ba66676dc8d3b30ca5b1f9eb0230fc204bcd9836c4ae9/keyring-23.0.1-py3-none-any.whl 178 sha256: 8f607d7d1cc502c43a932a275a56fe47db50271904513a379d39df1af277ac48 179 180 - name: python3-css-parser 181 buildsystem: simple 182 build-commands: 183 - pip3 install --prefix=/app css_parser-1.0.6-py2.py3-none-any.whl 184 sources: 185 - type: file 186 url: https://files.pythonhosted.org/packages/64/7a/5ea4d019d36e07026ac194817104ef2e82ba1384aab69fb75ebf56de97c2/css_parser-1.0.6-py2.py3-none-any.whl 187 sha256: 6fc4f8f0a4b62c77f043765e375cc64971c54ff9a0502fec7e8f1fb28bb96082 188 189 - name: python3-precis_i18n 190 buildsystem: simple 191 build-commands: 192 - pip3 install --prefix=/app precis_i18n-1.0.3-py3-none-any.whl 193 sources: 194 - type: file 195 url: https://files.pythonhosted.org/packages/c1/28/0df691ebe7e28a68b839887ce81be07d30cf165b6013c10009184284a303/precis_i18n-1.0.3-py3-none-any.whl 196 sha256: b9a4ff1f2f8c4a762393cb1b80bf4cadfbe861ec299f752068cc42f281322d45 197 198 # GSound dependency 199 - name: libcanberra 200 sources: 201 - type: archive 202 url: http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.30.tar.xz 203 sha256: c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72 204 config-opts: 205 - "--disable-alsa" 206 - "--disable-null" 207 - "--disable-oss" 208 209 - name: gsound 210 sources: 211 - type: archive 212 url: https://download.gnome.org/sources/gsound/1.0/gsound-1.0.2.tar.xz 213 sha256: bba8ff30eea815037e53bee727bbd5f0b6a2e74d452a7711b819a7c444e78e53 214 215 - name: gspell 216 cleanup: 217 - /bin 218 sources: 219 - type: archive 220 url: https://download.gnome.org/sources/gspell/1.8/gspell-1.8.4.tar.xz 221 sha256: cf4d16a716e813449bd631405dc1001ea89537b8cdae2b8abfb3999212bd43b4 222 223 - name: farstream 224 sources: 225 - type: git 226 url: https://gitlab.freedesktop.org/farstream/farstream.git 227 tag: 0.2.9 228 commit: 1e42278d11730f8409878e3b4904fdd47e360e6f 229 - type: patch 230 path: farstream-make-4.3.patch 231 232 - name: python3-nbxmpp 233 buildsystem: simple 234 build-commands: 235 - pip3 install --prefix=/app nbxmpp-2.0.3-py3-none-any.whl 236 sources: 237 - type: file 238 url: https://files.pythonhosted.org/packages/fd/9d/eeb467154d42632fc6bf136c45c79f3a2c0190ac27fe43c5fb2b23dcfe09/nbxmpp-2.0.3-py3-none-any.whl 239 sha256: 3ab458224e8531e374757b82302b6db746aa306a67090b754910c53abcbb417c 240 241 - name: gajim 242 buildsystem: simple 243 build-commands: 244 - pip3 install --prefix=/app . 245 - touch /app/share/run-as-flatpak 246 sources: 247 - type: git 248 url: https://dev.gajim.org/gajim/gajim.git 249 branch: gajim_1.3 250 post-install: 251 - install -d /app/plugins 252