From ce6fc101bc026d93eb17be57b9d9eef94669eb14 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Mon, 13 Aug 2018 18:50:17 +0200 Subject: Add a Flatpak manifest Use `flatpak-builder build-dir io.poez.Poezio.json` to build it in build-dir, and `flatpak-builder --run build-dir io.poez.Poezio.json poezio` to test it. Note that poezio will still be downloaded from its repository, rather than built from the local clone. --- data/io.poez.Poezio.json | 96 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 data/io.poez.Poezio.json diff --git a/data/io.poez.Poezio.json b/data/io.poez.Poezio.json new file mode 100644 index 00000000..79539257 --- /dev/null +++ b/data/io.poez.Poezio.json @@ -0,0 +1,96 @@ +{ + "app-id": "io.poez.Poezio", + "runtime": "org.freedesktop.Platform", + "runtime-version": "18.08", + "sdk": "org.freedesktop.Sdk", + "command": "poezio", + "finish-args": [ + "--share=ipc", + "--share=network" + ], + "modules": [ + { + "name": "python3-pyasn1", + "buildsystem": "simple", + "build-commands": [ + "pip3 install --prefix=/app pyasn1-0.4.4-py2.py3-none-any.whl" + ], + "sources": [ + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/d1/a1/7790cc85db38daa874f6a2e6308131b9953feb1367f2ae2d1123bb93a9f5/pyasn1-0.4.4-py2.py3-none-any.whl", + "sha256": "b9d3abc5031e61927c82d4d96c1cec1e55676c1a991623cfed28faea73cdd7ca" + } + ] + }, + { + "name": "python3-pyasn1-modules", + "buildsystem": "simple", + "build-commands": [ + "pip3 install --prefix=/app pyasn1_modules-0.2.2-py2.py3-none-any.whl" + ], + "sources": [ + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/19/02/fa63f7ba30a0d7b925ca29d034510fc1ffde53264b71b4155022ddf3ab5d/pyasn1_modules-0.2.2-py2.py3-none-any.whl", + "sha256": "a38a8811ea784c0136abfdba73963876328f66172db21a05a82f9515909bfb4e" + } + ] + }, + { + "name": "python3-pycares", + "buildsystem": "simple", + "build-commands": [ + "pip3 install --prefix=/app pycares-2.3.0.tar.gz" + ], + "sources": [ + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/89/5c/3a7e1a52d6abb52b9ca1a56d2df699936e89d8b98f75cfd60d03363e7c10/pycares-2.3.0.tar.gz", + "sha256": "36f4c03df57c41a87eb3d642201684eb5a8bc194f4bafaa9f60ee6dc0aef8e40" + } + ] + }, + { + "name": "python3-aiodns", + "buildsystem": "simple", + "build-commands": [ + "pip3 install --prefix=/app aiodns-1.1.1-py2.py3-none-any.whl" + ], + "sources": [ + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/bd/f5/b69cb930fd5ab0569396659afe3f3c0d37d4098e5d0ba6afdf6fd9388cb0/aiodns-1.1.1-py2.py3-none-any.whl", + "sha256": "99d0652f2c02f73bfa646bf44af82705260a523014576647d7959e664830b26b" + } + ] + }, + { + "name": "python3-slixmpp", + "buildsystem": "simple", + "build-commands": [ + "pip3 install --prefix=/app slixmpp-1.4.0.tar.gz" + ], + "sources": [ + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/0a/50/76a06d929668252244a1cef515c48c21403a72988c20cab2f74ef0b4ecbd/slixmpp-1.4.0.tar.gz", + "sha256": "c24a3effb2434e62c0f9e04d25ea889dc42aa2b60930782159724eda49efb894" + } + ] + }, + { + "name": "poezio", + "buildsystem": "simple", + "build-commands": [ + "pip3 install --prefix=/app ." + ], + "sources": [ + { + "type": "git", + "url": "git://git.poez.io/poezio.git" + } + ] + } + ] +} -- cgit v1.2.3