forked from Mirrors/apostrophe
texlive manifest for flathub
parent
ec68ce7c42
commit
2a85ad9bd8
|
@ -0,0 +1,91 @@
|
|||
{
|
||||
"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": "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": "7b7f0dd0eab3bfffe52c5cd1139c7f75d029b9ff4c4ce0e57e06834705522f4ec0c02cd99a80b053c6619abda51c20a60f8e91e91781bdc2b9b60fc2e5708adb"
|
||||
},
|
||||
{
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
selected_scheme scheme-basic
|
||||
TEXDIR /app/extensions/TexLive/2018
|
||||
TEXMFCONFIG ~/.texlive2018/texmf-config
|
||||
TEXMFHOME ~/texmf
|
||||
TEXMFLOCAL /app/extensions/TexLive/texmf-local
|
||||
TEXMFSYSCONFIG /app/extensions/TexLive/2018/texmf-config
|
||||
TEXMFSYSVAR /app/extensions/TexLive/2018/texmf-var
|
||||
TEXMFVAR ~/.texlive2018/texmf-var
|
||||
binary_x86_64-linux 1
|
||||
collection-latex 1
|
||||
collection-binextra 1
|
||||
collection-fontsrecommended 1
|
||||
instopt_adjustpath 0
|
||||
instopt_adjustrepo 1
|
||||
instopt_letter 0
|
||||
instopt_portable 1
|
||||
instopt_write18_restricted 1
|
||||
tlpdbopt_autobackup 1
|
||||
tlpdbopt_backupdir tlpkg/backups
|
||||
tlpdbopt_create_formats 1
|
||||
tlpdbopt_desktop_integration 1
|
||||
tlpdbopt_file_assocs 1
|
||||
tlpdbopt_generate_updmap 0
|
||||
tlpdbopt_install_docfiles 0
|
||||
tlpdbopt_install_srcfiles 0
|
||||
tlpdbopt_post_code 1
|
||||
tlpdbopt_sys_bin /usr/local/bin
|
||||
tlpdbopt_sys_info /usr/local/share/info
|
||||
tlpdbopt_sys_man /usr/local/share/man
|
||||
tlpdbopt_w32_multi_user 1
|
Loading…
Reference in New Issue