Commit a5b12766 authored by Guillaume Desmottes's avatar Guillaume Desmottes 🐐

flatpak: install pre-built nodejs

parent 162240f4
......@@ -25,7 +25,7 @@
"/bin/npx"
],
"build-options": {
"append-path": "/app/sdk/rust/bin",
"append-path": "/app/sdk/bin",
"build-args" : [
"--share=network"
],
......@@ -51,51 +51,24 @@
}
],
"build-commands": [
"./install.sh --prefix=/app/sdk/rust --disable-ldconfig --verbose"
]
},
{
"name": "python-2.7",
"sources": [
{
"type": "archive",
"url": "https://www.python.org/ftp/python/2.7.16/Python-2.7.16.tgz",
"sha256": "01da813a3600876f03f46db11cc5c408175e99f03af2ba942ef324389a83bad5"
}
],
"config-opts": [
"--enable-shared",
"--with-ensurepip=yes",
"--with-system-expat",
"--with-system-ffi",
"--enable-loadable-sqlite-extensions",
"--with-dbmliborder=gdbm",
"--enable-unicode=ucs4"
],
"post-install": [
"chmod 644 $FLATPAK_DEST/lib/libpython2.7.so.1.0"
],
"cleanup": [
"*"
"./install.sh --prefix=/app/sdk --disable-ldconfig --verbose"
]
},
{
"name": "nodejs",
"cleanup": [
"/include",
"/share",
"/app/lib/node_modules/npm/changelogs",
"/app/lib/node_modules/npm/doc",
"/app/lib/node_modules/npm/html",
"/app/lib/node_modules/npm/man",
"/app/lib/node_modules/npm/scripts"
],
"buildsystem": "simple",
"sources": [
{
"type": "archive",
"url": "https://nodejs.org/dist/v12.13.1/node-v12.13.1.tar.gz",
"sha256": "4ee710087687c8de142329d95085f5cba66e454a2c9ea7ec11e1f4b476d6d1ac"
"only-arches": [
"x86_64"
],
"url": "https://nodejs.org/dist/v12.13.1/node-v12.13.1-linux-x64.tar.xz",
"sha256": "aca06db37589966829b1ef0f163a5859b156a1d8e51b415bf47590f667c30a25"
}
],
"build-commands": [
"mkdir /app/sdk ; cp -r * /app/sdk/"
]
},
{
......
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