forked from Mirrors/apostrophe
67 lines
2.3 KiB
JSON
67 lines
2.3 KiB
JSON
{
|
|
"id": "de.wolfvollprecht.UberWriter.Plugin.TexLive",
|
|
"runtime": "de.wolfvollprecht.UberWriter",
|
|
"branch": "stable",
|
|
"sdk": "org.gnome.Sdk//3.26",
|
|
"build-extension": true,
|
|
"separate-locales": false,
|
|
"appstream-compose": false,
|
|
"finish-args": [
|
|
],
|
|
"build-options" : {
|
|
"prefix": "/app/extensions/TexLive",
|
|
"cflags": "-O2 -g",
|
|
"cxxflags": "-O2 -g",
|
|
"env": {
|
|
"PATH": "/app/extensions/TexLive/bin:/app/extensions/TexLive/2018/bin/x86_64-linux:/app/bin:/usr/bin"
|
|
}
|
|
},
|
|
"cleanup": ["/bin/wget"],
|
|
"modules": [
|
|
{
|
|
"name": "wget",
|
|
"builddir": true,
|
|
"config-opts": ["--prefix=/app/extensions/TexLive"],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://ftp.gnu.org/gnu/wget/wget-1.19.4.tar.gz",
|
|
"sha256": "93fb96b0f48a20ff5be0d9d9d3c4a986b469cb853131f9d5fe4cc9cecbc8b5b5"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "texlive",
|
|
"builddir": false,
|
|
"build-options" : {
|
|
"build-args": ["--share=network"],
|
|
"config-opts": ["--prefix=/app/extensions/TexLive"]
|
|
},
|
|
"build-commands": [
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "file",
|
|
"path": "texlive_install.sh",
|
|
"dest-filename": "configure"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "appdata",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"mkdir -p /app/extensions/TexLive/share/appdata",
|
|
"install -Dm644 de.wolfvollprecht.UberWriter.Plugin.TexLive.appdata.xml /app/extensions/TexLive/share/appdata/de.wolfvollprecht.UberWriter.Plugin.TexLive.appdata.xml",
|
|
"appstream-compose --basename=de.wolfvollprecht.UberWriter.Plugin.TexLive --prefix=/app/extensions/TexLive --origin=flatpak de.wolfvollprecht.UberWriter.Plugin.TexLive"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "file",
|
|
"path": "de.wolfvollprecht.UberWriter.Plugin.TexLive.appdata.xml"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|