diff options
author | André Apitzsch <git@apitzsch.eu> | 2018-07-02 00:49:09 +0300 |
---|---|---|
committer | André Apitzsch <git@apitzsch.eu> | 2018-07-02 00:49:09 +0300 |
commit | 703a7bb7426c2d887f416e8165deda5c3a5314ad (patch) | |
tree | d1a4c1f40fa6477a3d5efc5d728d80bea06601c9 /flatpak | |
parent | 89dbc5a844930da4d769355ad105a0186c6448cf (diff) |
[omemo] Add flatpak manifest and metainfo
Diffstat (limited to 'flatpak')
-rw-r--r-- | flatpak/org.gajim.Gajim.Plugin.omemo.json | 123 | ||||
-rw-r--r-- | flatpak/org.gajim.Gajim.Plugin.omemo.metainfo.xml | 12 |
2 files changed, 135 insertions, 0 deletions
diff --git a/flatpak/org.gajim.Gajim.Plugin.omemo.json b/flatpak/org.gajim.Gajim.Plugin.omemo.json new file mode 100644 index 0000000..0e3b69b --- /dev/null +++ b/flatpak/org.gajim.Gajim.Plugin.omemo.json @@ -0,0 +1,123 @@ +{ + "id": "org.gajim.Gajim.Plugin.omemo", + "runtime": "org.gajim.Gajim", + "sdk": "org.gnome.Sdk//3.28", + "build-extension": true, + "separate-locales": false, + "appstream-compose": false, + "build-options": { + "env": { + "PYTHONPATH": "/app/plugins/omemo/lib/python3.5/site-packages/" + } + }, + "modules": [ + { + "name": "protobuf", + "buildsystem": "simple", + "build-commands": [ + "install -d ${FLATPAK_DEST}/lib/python3.5/site-packages/", + "pip3 install --prefix=${FLATPAK_DEST} protobuf-3.6.0-py2.py3-none-any.whl" + ], + "sources": [ + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/85/f8/d09e4bf21c4de65405ce053e90542e728c5b7cf296b9df36b0bf0488f534/protobuf-3.6.0-py2.py3-none-any.whl", + "sha256": "9f1087abb67b34e55108bc610936b34363a7aac692023bcbb17e065c253a1f80" + } + ] + }, + { + "name": "python3-axolotl-curve25519", + "ensure-writable": [ + "easy-install.pth" + ], + "buildsystem": "simple", + "build-commands": [ + "install -d ${FLATPAK_DEST}/lib/python3.5/site-packages/", + "python3 setup.py install --prefix=${FLATPAK_DEST}" + ], + "sources": [ + { + "type": "archive", + "url": "https://files.pythonhosted.org/packages/59/ca/c8111718bcc8da18e9b9868e784293232a58c57159a5ea18f00ee967258f/python-axolotl-curve25519-0.4.1.post2.tar.gz", + "sha256": "0705a66297ebd2f508a60dc94e22881c754301eb81db93963322f6b3bdcb63a3" + } + ] + }, + { + "name": "python3-axolotl", + "ensure-writable": [ + "easy-install.pth", + "setuptools.pth" + ], + "buildsystem": "simple", + "build-commands": [ + "install -d ${FLATPAK_DEST}/lib/python3.5/site-packages/", + "python3 setup.py install --prefix=${FLATPAK_DEST}" + ], + "sources": [ + { + "type": "archive", + "url": "https://files.pythonhosted.org/packages/27/99/3b905f0061aba53526408d286e53cee3b00c9fd256eed7d21d5d41033690/python-axolotl-0.1.42.tar.gz", + "sha256": "ef78c2efabcd4c33741669334bdda04710a3ef0e00b653f00127acff6460a7f0" + } + ] + }, + { + "name": "python3-pillow", + "ensure-writable": [ + "easy-install.pth" + ], + "buildsystem": "simple", + "build-commands": [ + "install -d ${FLATPAK_DEST}/lib/python3.5/site-packages/", + "python3 setup.py install --prefix=${FLATPAK_DEST}" + ], + "sources": [ + { + "type": "archive", + "url": "https://files.pythonhosted.org/packages/89/b8/2f49bf71cbd0e9485bb36f72d438421b69b7356180695ae10bd4fd3066f5/Pillow-5.1.0.tar.gz", + "sha256": "cee9bc75bff455d317b6947081df0824a8f118de2786dc3d74a3503fd631f4ef" + } + ] + }, + { + "name": "python3-qrcode", + "buildsystem": "simple", + "build-commands": [ + "install -d ${FLATPAK_DEST}/lib/python3.5/site-packages/", + "pip3 install --prefix=${FLATPAK_DEST} qrcode-6.0-py2.py3-none-any.whl" + ], + "sources": [ + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/79/be/11999004f7e6e5db0fa410c2feacd67c07f472f4500fde0026101f31d0df/qrcode-6.0-py2.py3-none-any.whl", + "sha256": "de4ffc15065e6ff20a551ad32b6b41264f3c75275675406ddfa8e3530d154be3" + } + ] + }, + { + "name": "gajim-omemo", + "buildsystem": "simple", + "build-commands": [ + "cp -R -t ${FLATPAK_DEST} *" + ], + "post-install": [ + "install -Dm644 --target-directory=${FLATPAK_DEST}/share/metainfo org.gajim.Gajim.Plugin.omemo.metainfo.xml", + "appstream-compose --basename=org.gajim.Gajim.Plugin.omemo --prefix=${FLATPAK_DEST} --origin=flatpak org.gajim.Gajim.Plugin.omemo" + ], + "sources": [ + { + "type": "archive", + "url": "https://ftp.gajim.org/plugins_releases/omemo_2.5.13.zip", + "sha256": "edfbb1de429fb6f63a1fbdef139bfe695577eff0faf7f38503617da2f4377cd1" + }, + { + "type": "file", + "path": "org.gajim.Gajim.Plugin.omemo.metainfo.xml", + "sha256": "d7ef976ee4239d5c6b0da7b5e3bcc85d99db7d860c0329347a9522e8a176c69e" + } + ] + } + ] +} diff --git a/flatpak/org.gajim.Gajim.Plugin.omemo.metainfo.xml b/flatpak/org.gajim.Gajim.Plugin.omemo.metainfo.xml new file mode 100644 index 0000000..476bb46 --- /dev/null +++ b/flatpak/org.gajim.Gajim.Plugin.omemo.metainfo.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<component type="addon"> + <id>org.gajim.Gajim.Plugin.omemo</id> + <extends>org.gajim.Gajim.desktop</extends> + <name>OMEMO Plugin</name> + <summary>XMPP Extension Protocol (XEP) for secure multi-client end-to-end encryption</summary> + <url type="homepage">https://gajim.org/</url> + <metadata_license>CC-BY-SA-3.0</metadata_license> + <project_license>GPL-3.0</project_license> + <update_contact>gajim-devel_AT_gajim.org</update_contact> +</component> + |