apostrophe/flatpak/uberwriter.json

143 lines
3.8 KiB
JSON

{
"app-id" : "de.wolfvollprecht.UberWriter",
"runtime" : "org.gnome.Platform",
"runtime-version" : "3.26",
"sdk" : "org.gnome.Sdk",
"command" : "uberwriter",
"rename-icon" : "uberwriter",
"finish-args" : [
"--socket=x11",
"--share=ipc",
"--share=network",
"--filesystem=host",
"--env=IN_FLATPAK=1",
"--filesystem=xdg-run/dconf",
"--filesystem=~/.config/dconf:ro",
"--talk-name=ca.desrt.dconf",
"--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"
],
"build-options" : {
"env" : {
"PYTHON" : "python3",
"IN_FLATPAK" : "1"
}
},
"add-extensions": {
"de.wolfvollprecht.UberWriter.Plugin": {
"directory": "extensions",
"version": "stable",
"subdirectories": true,
"no-autodownload": true,
"autodelete": true
}
},
"modules" : [
{
"name" : "uberwriter",
"sources" : [
{
"type" : "git",
"url" : "git://github.com/wolfv/uberwriter",
"branch" : "master"
}
],
"post-install": [
"glib-compile-schemas /app/share/glib-2.0/schemas",
"install -d /app/extensions"
]
},
{
"name" : "pyenchant",
"build-options" : {
"build-args" : [
"--share=network"
]
},
"config-opts" : [
"--module=pyenchant"
],
"sources" : [
{
"type" : "file",
"path" : "pip-download",
"dest-filename" : "configure"
}
]
},
{
"name" : "regex",
"build-options" : {
"build-args" : [
"--share=network"
]
},
"config-opts" : [
"--module=regex"
],
"sources" : [
{
"type" : "file",
"path" : "pip-download",
"dest-filename" : "configure"
}
]
},
{
"name" : "python-Levenshtein",
"build-options" : {
"build-args" : [
"--share=network"
]
},
"config-opts" : [
"--module=python-Levenshtein"
],
"sources" : [
{
"type" : "file",
"path" : "pip-download",
"dest-filename" : "configure"
}
]
},
{
"name" : "pypandoc",
"build-options" : {
"build-args" : [
"--share=network"
]
},
"config-opts" : [
"--module=pypandoc"
],
"sources" : [
{
"type" : "file",
"path" : "pandoc-download",
"dest-filename" : "configure"
}
]
},
{
"name" : "fonts",
"build-options" : {
"build-args" : [
"--share=network"
]
},
"config-opts" : [
""
],
"sources" : [
{
"type" : "file",
"path" : "fonts-download",
"dest-filename" : "configure"
}
]
}
]
}