Commit 703a7bb7 authored by André's avatar André

[omemo] Add flatpak manifest and metainfo

parent 89dbc5a8
{
"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"
}
]
}
]
}
<?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>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment