apostrophe/flatpak/uberwriter.json

134 lines
4.8 KiB
JSON
Raw Normal View History

2018-04-04 18:31:54 +00:00
{
2018-05-09 17:08:07 +00:00
"app-id": "de.wolfvollprecht.UberWriter",
"runtime": "org.gnome.Platform",
"runtime-version": "3.26",
"sdk": "org.gnome.Sdk",
"command": "uberwriter",
"rename-icon": "uberwriter",
"finish-args": [
2018-04-13 20:03:22 +00:00
"--socket=x11",
"--share=ipc",
"--filesystem=host",
"--env=IN_FLATPAK=1",
"--filesystem=xdg-run/dconf",
"--filesystem=~/.config/dconf:ro",
"--talk-name=ca.desrt.dconf",
2018-05-01 22:46:14 +00:00
"--env=DCONF_USER_CONFIG_DIR=.config/dconf",
"--env=PATH=/app/extensions/TexLive/bin:/app/extensions/TexLive/2018/bin/x86_64-linux:/app/bin:/usr/bin"
2018-04-13 20:03:22 +00:00
],
"build-options" : {
2018-05-09 17:08:07 +00:00
"env": {
2018-05-13 14:50:10 +00:00
"PYTHON": "python3"
2018-04-04 18:31:54 +00:00
}
},
2018-05-01 19:42:24 +00:00
"add-extensions": {
2018-05-01 19:52:02 +00:00
"de.wolfvollprecht.UberWriter.Plugin": {
"directory": "extensions",
"version": "stable",
2018-05-01 19:42:24 +00:00
"subdirectories": true,
"no-autodownload": true,
"autodelete": true
2018-05-01 19:52:02 +00:00
}
2018-05-01 19:42:24 +00:00
},
2018-05-09 17:08:07 +00:00
"modules": [
2018-04-04 18:31:54 +00:00
{
2018-05-09 17:08:07 +00:00
"name": "uberwriter",
"sources": [
2018-04-13 20:03:22 +00:00
{
"type" : "git",
2018-04-14 19:18:48 +00:00
"url" : "git://github.com/wolfv/uberwriter",
2018-04-13 20:03:22 +00:00
"branch" : "master"
}
],
2018-05-05 16:51:47 +00:00
"build-commands": [
"install -Dm644 flatpak/de.wolfvollprecht.UberWriter.appdata.xml /app/share/appdata/de.wolfvollprecht.UberWriter.appdata.xml "
],
2018-04-13 20:03:22 +00:00
"post-install": [
2018-05-01 19:52:02 +00:00
"glib-compile-schemas /app/share/glib-2.0/schemas",
"install -d /app/extensions"
2018-04-13 20:03:22 +00:00
]
},
2018-04-04 18:31:54 +00:00
{
2018-05-09 17:08:07 +00:00
"name": "pandoc",
"only-arches": [
"x86_64"
],
"buildsystem": "simple",
"build-commands": [
"cp bin/pandoc /app/bin/pandoc",
"cp bin/pandoc-citeproc /app/bin/pandoc-citeproc"
2018-04-13 20:03:22 +00:00
],
2018-05-09 17:08:07 +00:00
"sources": [
2018-04-13 20:03:22 +00:00
{
2018-05-09 17:08:07 +00:00
"type": "archive",
"url": "https://github.com/jgm/pandoc/releases/download/2.2/pandoc-2.2-linux.tar.gz",
"sha256": "06ecd882e42ef9b7390b1c82e1e71b3ea48679181289b9b810a8797825bed8ed"
2018-04-13 20:03:22 +00:00
}
]
},
2018-04-04 18:31:54 +00:00
{
2018-05-09 17:08:07 +00:00
"name": "pipdeps",
"buildsystem": "simple",
"build-commands": [
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} pyenchant regex pypandoc"
2018-04-13 20:03:22 +00:00
],
2018-05-09 17:08:07 +00:00
"sources": [
2018-04-13 20:03:22 +00:00
{
2018-05-09 17:08:07 +00:00
"type": "file",
"url": "https://files.pythonhosted.org/packages/5d/c1/45947333669b31bc6b4933308dd07c2aa2fedcec0a95b14eedae993bd449/wheel-0.31.0.tar.gz",
"sha256": "1ae8153bed701cb062913b72429bcf854ba824f973735427681882a688cb55ce"
2018-04-13 20:03:22 +00:00
},
2018-04-04 18:31:54 +00:00
{
2018-05-09 17:08:07 +00:00
"type": "file",
"url": "https://files.pythonhosted.org/packages/ae/e8/2340d46ecadb1692a1e455f13f75e596d4eab3d11a57446f08259dee8f02/pip-10.0.1.tar.gz",
"sha256": "f2bd08e0cd1b06e10218feaf6fef299f473ba706582eb3bd9d52203fdbd7ee68"
2018-04-13 20:03:22 +00:00
},
{
2018-05-09 17:08:07 +00:00
"type": "file",
"url": "https://files.pythonhosted.org/packages/71/81/00184643e5a10a456b4118fc12c96780823adb8ed974eb2289f29703b29b/pypandoc-1.4.tar.gz",
"sha256": "e914e6d5f84a76764887e4d909b09d63308725f0cbb5293872c2c92f07c11a5b"
2018-04-13 20:03:22 +00:00
},
{
2018-05-09 17:08:07 +00:00
"type": "file",
"url": "https://files.pythonhosted.org/packages/a2/51/c39562cfed3272592c60cfd229e5464d715b78537e332eac2b695422dc49/regex-2018.02.21.tar.gz",
"sha256": "b44624a38d07d3c954c84ad302c29f7930f4bf01443beef5589e9157b14e2a29"
2018-04-13 20:03:22 +00:00
},
{
2018-05-09 17:08:07 +00:00
"type": "file",
"url": "https://files.pythonhosted.org/packages/9e/54/04d88a59efa33fefb88133ceb638cdf754319030c28aadc5a379d82140ed/pyenchant-2.0.0.tar.gz",
"sha256": "fc31cda72ace001da8fe5d42f11c26e514a91fa8c70468739216ddd8de64e2a0"
2018-04-13 20:03:22 +00:00
}
]
},
2018-04-04 18:31:54 +00:00
{
2018-05-09 17:08:07 +00:00
"name": "fonts",
"buildsystem": "simple",
"build-commands": [
"mkdir -p /app/share/fonts/",
"cp ttf/* /app/share/fonts/"
2018-04-13 20:03:22 +00:00
],
2018-05-09 17:08:07 +00:00
"sources": [
2018-04-13 20:03:22 +00:00
{
2018-05-09 17:08:07 +00:00
"type": "git",
"url": "https://github.com/mozilla/Fira",
"tag": "4.202"
2018-04-13 20:03:22 +00:00
}
]
2018-05-05 20:16:41 +00:00
},
{
"name": "appdata",
"buildsystem": "simple",
"build-commands": [
"mkdir -p /app/share/appdata",
"install -Dm644 de.wolfvollprecht.UberWriter.appdata.xml /app/share/appdata/de.wolfvollprecht.UberWriter.appdata.xml"
],
"sources": [
{
"type": "file",
"path": "de.wolfvollprecht.UberWriter.appdata.xml"
}
]
2018-04-04 18:31:54 +00:00
}
2018-04-13 19:00:16 +00:00
]
2018-05-01 19:52:02 +00:00
}