diff flatpak/org.salutatoi.Libervia.json @ 132:d7761eb3f20b

flatpak: Flatpak manifests for backend and active frontends, first draft
author Goffi <goffi@goffi.org>
date Sun, 15 Jul 2018 11:48:08 +0200
parents
children 4549cf265131
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flatpak/org.salutatoi.Libervia.json	Sun Jul 15 11:48:08 2018 +0200
@@ -0,0 +1,93 @@
+{
+    "app-id": "org.salutatoi.Libervia",
+    "runtime": "org.salutatoi.Platform",
+    "runtime-version": "0.7.0a2",
+    "sdk": "org.salutatoi.Sdk",
+    "command": "libervia",
+    "finish-args": [
+        "--socket=session-bus",
+        "--share=network",
+        "--filesystem=home"
+    ],
+    "modules": [
+        {
+            "name": "python2-txJSON-RPC",
+            "buildsystem": "simple",
+            "build-commands": [
+                "python2 setup.py install --prefix=${FLATPAK_DEST}"
+            ],
+            "sources": [
+                {
+                    "type": "archive",
+                    "url": "https://files.pythonhosted.org/packages/f0/2e/cf58ccd5115a2940fd1e2f734af029ea99a5600932b5e87bb0bbe6e7633d/txJSON-RPC-0.3.1.tar.gz",
+                    "sha256": "98367d4046da9ff2f2a0d8db1cf15b692d0ac1112b699710a1b557d951f0d33a"
+                }
+            ]
+        },
+        {
+            "name": "python2-txaio",
+            "buildsystem": "simple",
+            "build-commands": [
+                "python2 setup.py install --prefix=${FLATPAK_DEST}"
+            ],
+            "sources": [
+                {
+                    "type": "archive",
+                    "url": "https://files.pythonhosted.org/packages/b8/87/efcae4040c2a0af9c871116a6dbf02ee582b396e6de3797fb30cdcc4a7e4/txaio-2.10.0.tar.gz",
+                    "sha256": "4797f9f6a9866fe887c96abc0110a226dd5744c894dc3630870542597ad30853"
+                }
+            ],
+            "ensure-writable": [
+                "/lib/python2.7/site-packages/easy-install.pth"
+            ]
+        },
+        {
+            "name": "python2-autobahn",
+            "buildsystem": "simple",
+            "build-commands": [
+                "python2 setup.py install --prefix=${FLATPAK_DEST}"
+            ],
+            "sources": [
+                {
+                    "type": "archive",
+                    "url": "https://files.pythonhosted.org/packages/e0/a4/ca655f7fc8cc28274f7415a304e73c525b203828c164cea22e60207afea0/autobahn-18.6.1.tar.gz",
+                    "sha256": "2f41bfc512ec482044fa8cfa74182118dedd87e03b3494472d9ff1b5a1e27d24"
+                }
+            ],
+            "ensure-writable": [
+                "/lib/python2.7/site-packages/easy-install.pth"
+            ]
+        },
+        {
+            "name": "libervia",
+            "buildsystem": "simple",
+            "build-commands": [
+                "python2 setup.py install --prefix=${FLATPAK_DEST}",
+                "install -D src/libervia.sh /app/bin/libervia",
+                "cp -va src/browser/public /app/share/libervia/html"
+            ],
+            "sources": [
+                {
+                    "type": "archive",
+                    "url": "https://files.pythonhosted.org/packages/1e/05/0bc2491aef3ee380bf9a81ab41ddfe42e6f91f7be4c026575ac40dd0933d/libervia-0.7.0a2.post1.tar.gz",
+                    "sha256": "43334d52cf6570b40dda20ed182bfa2019fc080cf1d45fa069c29fff07069c55"
+                }
+            ]
+        },
+        {
+            "name": "python2-pyjamas",
+            "buildsystem": "simple",
+            "build-commands": [
+                "python2 bootstrap.py",
+                "cd /app/lib/python2.7/site-packages/libervia/browser && /run/build/python2-pyjamas/bin/pyjsbuild libervia_main.py --no-compile-inplace -o /app/share/libervia/html"
+            ],
+            "sources": [
+                {
+                    "type": "archive",
+                    "url": "https://ftp.goffi.org/pyjamas/pyjamas_git.tar.bz2",
+                    "sha256": "2cae6215cbf5d9b94257eac86df31fa85e9bd13a203c332729a95b91ff8c68bd"
+                }
+            ]
+        }
+    ]
+}