forked from Mirrors/apostrophe
92 lines
3.2 KiB
JSON
92 lines
3.2 KiB
JSON
{
|
|
"id": "de.wolfvollprecht.UberWriter.Plugin.TexLive",
|
|
"runtime": "de.wolfvollprecht.UberWriter",
|
|
"branch": "stable",
|
|
"sdk": "org.gnome.Sdk//3.34",
|
|
"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/2019/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": "p7zip",
|
|
"no-autogen": true,
|
|
"config-opts": ["--prefix=/app/extensions/TexLive"],
|
|
"make-args": ["7z"],
|
|
"cleanup": ["*"],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://sourceforge.net/projects/p7zip/files/p7zip/16.02/p7zip_16.02_src_all.tar.bz2",
|
|
"sha256": "5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"commands": ["sed -i 's|/usr/local|/app/extensions/TexLive|g' makefile.common"]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "texlive",
|
|
"buildsystem": "simple",
|
|
"sources": [
|
|
{
|
|
"type":"file",
|
|
"url": "http://mirrors.ctan.org/systems/texlive/Images/texlive.iso",
|
|
"sha512": "a00a943ce4438fe2aecf8b1e05f9055135ef03c56b6782a49205bac9023d77c781f3cab50f2f9555ac116bb0d97d6570afffe7c60b8745325b9941f82af7ef83 "
|
|
},
|
|
{
|
|
"type": "file",
|
|
"path": "texlive.profile"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"commands": ["7z x texlive.iso"]
|
|
}
|
|
],
|
|
"build-commands": [
|
|
"chmod +x install-tl",
|
|
"echo \"In\" | TEXLIVE_INSTALL_PREFIX=/app/extensions/TexLive ./install-tl --profile texlive.profile",
|
|
"yes | rm -r /app/extensions/TexLive/texmf-dist/doc"
|
|
]
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|