apostrophe/flatpak/uberwriter.json

113 lines
3.5 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",
2019-04-19 12:02:57 +00:00
"runtime-version": "3.32",
2018-05-09 17:08:07 +00:00
"sdk": "org.gnome.Sdk",
2019-04-19 18:06:13 +00:00
"command": "start-uberwriter",
2018-05-09 17:08:07 +00:00
"finish-args": [
2018-04-13 20:03:22 +00:00
"--socket=x11",
2019-04-19 12:02:57 +00:00
"--socket=wayland",
2018-04-13 20:03:22 +00:00
"--share=ipc",
2019-04-19 12:02:57 +00:00
"--share=network",
2018-04-13 20:03:22 +00:00
"--filesystem=host",
"--filesystem=xdg-run/dconf",
"--filesystem=~/.config/dconf:ro",
"--talk-name=ca.desrt.dconf",
2019-04-19 18:06:13 +00:00
"--env=DCONF_USER_CONFIG_DIR=.config/dconf"
2018-04-13 20:03:22 +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
{
2019-04-19 12:02:57 +00:00
"name": "enchant",
2019-04-20 16:24:21 +00:00
"config-opts": ["--disable-static", "--with-myspell-dir=/usr/share/myspell"],
2019-04-19 12:02:57 +00:00
"cleanup": [
"/bin"
],
2018-05-09 17:08:07 +00:00
"sources": [
2019-04-19 12:02:57 +00:00
{
"type" : "archive",
"url" : "https://github.com/AbiWord/enchant/releases/download/enchant-1-6-1/enchant-1.6.1.tar.gz",
"sha256" : "bef0d9c0fef2e4e8746956b68e4d6c6641f6b85bd2908d91731efb68eba9e3f5"
}
]
2018-04-13 20:03:22 +00:00
},
2018-04-04 18:31:54 +00:00
{
2019-04-19 18:06:13 +00:00
"name": "fonts",
"buildsystem": "simple",
2018-05-05 16:51:47 +00:00
"build-commands": [
2019-04-19 18:06:13 +00:00
"mkdir -p /app/share/fonts/",
"cp ttf/* /app/share/fonts/"
2018-05-05 16:51:47 +00:00
],
2019-04-19 18:06:13 +00:00
"sources": [
{
"type": "git",
"url": "https://github.com/mozilla/Fira",
"tag": "4.202"
}
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": [
2019-04-19 18:06:13 +00:00
"install -Dm 755 bin/pandoc /app/bin/pandoc",
"install -Dm 755 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
}
]
},
2019-04-19 12:02:57 +00:00
"de.wolfvollprecht.UberWriter.pipdeps.json",
2018-04-04 18:31:54 +00:00
{
2019-04-19 18:06:13 +00:00
"name": "uberwriter",
"buildsystem": "simple",
"build-commands": [
"desktop-file-edit --set-key=Exec --set-value='uberwriter.in %U' data/de.wolfvollprecht.UberWriter.desktop",
"python3 -m pip install --prefix=/app --install-option=--optimize=1 ."
],
"sources": [
2018-04-13 20:03:22 +00:00
{
2019-04-19 18:06:13 +00:00
"type" : "dir",
"path" : "../"
2018-04-13 20:03:22 +00:00
}
2019-04-19 18:06:13 +00:00
],
"post-install": [
"install -d /app/extensions",
"glib-compile-schemas /app/share/glib-2.0/schemas"
2018-04-13 20:03:22 +00:00
]
2018-05-05 20:16:41 +00:00
},
{
2019-04-19 18:06:13 +00:00
"name": "scripts",
"buildsystem": "simple",
"build-commands": [
"install -Dm 755 start-uberwriter.sh /app/bin/start-uberwriter"
],
"sources": [
{
"type": "script",
"dest-filename": "start-uberwriter.sh",
"commands": [
"export PATH=/app/extensions/TexLive/bin:/app/extensions/TexLive/2018/bin/$(uname -a)-linux:$PATH",
"exec uberwriter.in \"$@\""
]
}
]
2018-04-04 18:31:54 +00:00
}
2018-04-13 19:00:16 +00:00
]
2019-04-19 18:06:13 +00:00
}