Created
February 12, 2021 15:07
-
-
Save Alexander-Wilms/1e029eb65de771fdb5be9a3704c8f9bb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app-id: org.texstudio.TeXstudio | |
runtime: org.kde.Platform | |
runtime-version: '5.15' | |
sdk: org.kde.Sdk | |
command: texstudio | |
rename-icon: texstudio | |
rename-appdata-file: texstudio.appdata.xml | |
rename-desktop-file: texstudio.desktop | |
finish-args: | |
- --socket=wayland | |
- --socket=fallback-x11 | |
- --share=ipc | |
- --device=dri | |
- --filesystem=host # required to open files | |
- --filesystem=/tmp # this way lualatex etc. can access files newly ceated by TeXstudio stored in the hosts's /tmp | |
- --allow=devel # needed for flatpak-spawn --host | |
- --socket=session-bus # needed for flatpak-spawn --host | |
- --talk-name=com.canonical.AppMenu.Registrar # gives application access to dbus menu | |
- --share=network # required for LanguageTool | |
cleanup: | |
- /include | |
- /lib/pkgconfig | |
- /share/man | |
modules: | |
- name: poppler # build dependency of TeXstudio | |
buildsystem: cmake-ninja | |
config-opts: | |
- -DCMAKE_BUILD_TYPE=release | |
- -DENABLE_QT5:BOOL=true | |
- -DCMAKE_INSTALL_LIBDIR:PATH=/app/lib | |
sources: | |
- type: archive | |
url: https://poppler.freedesktop.org/poppler-20.12.1.tar.xz | |
sha256: d0aa2586c0a4296c775f0d2045f28bb95a694113fc995f95350faa12930f7b35 | |
x-checker-data: | |
- type: anitya | |
- project-id: 3686 | |
- url-template": https://poppler.freedesktop.org/poppler-$version.tar.xz | |
- name: texstudio | |
buildsystem: qmake | |
cleanup-platform: | |
- /bin | |
- /mkspecs | |
sources: | |
- type: git | |
url: https://github.com/texstudio-org/texstudio | |
tag: 3.0.5rc1 | |
commit: e47404de5d3f7087282f177fc3c9f55ed3e2baf9 | |
- type: patch | |
path: 0001-Add-Flatpak-shim-to-execprogram.cpp-and-grammarcheck.cpp.patch | |
- type: file | |
path: changelog2appdata.sh | |
- type: shell | |
commands: | |
- chmod +x ./changelog2appdata.sh && ./changelog2appdata.sh | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment