{
 "app_id": "org.cvfosammmm.Setzer",
 "source_url": "https://raw.githubusercontent.com/flathub/org.cvfosammmm.Setzer/master/org.cvfosammmm.Setzer.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--device=dri",
  "--filesystem=host"
 ],
 "module_count": 12,
 "fetched_at": "2026-09-17T16:14:21.767738+00:00",
 "manifest": {
  "id": "org.cvfosammmm.Setzer",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.texlive"
  ],
  "add-extensions": {
   "org.freedesktop.Sdk.Extension.texlive": {
    "directory": "texlive",
    "subdirectories": true,
    "autodelete": true,
    "version": "25.08"
   }
  },
  "command": "setzer",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--socket=pulseaudio",
   "--filesystem=host",
   "--env=PATH=/app/bin:/usr/bin:/app/texlive/bin:/app/texlive/bin/x86_64-linux:/app/texlive/bin/aarch64-linux",
   "--env=TEXMFCACHE=$XDG_CACHE_HOME",
   "--env=TEXINPUTS=.:~/texmf/:",
   "--metadata=X-DConf=migrate-path=/org/cvfosammmm/Setzer/"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/man",
   "/share/pkgconfig"
  ],
  "modules": [
   {
    "name": "texlive",
    "buildsystem": "simple",
    "build-commands": [
     "install -d /app/texlive"
    ]
   },
   {
    "name": "boost",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p ${FLATPAK_DEST}/include",
     "mv boost ${FLATPAK_DEST}/include"
    ],
    "cleanup": [
     "/include"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://archives.boost.io/release/1.81.0/source/boost_1_81_0.tar.bz2",
      "sha256": "71feeed900fbccca04a3b4f2f84a7c217186f28a940ed8b7ed4725986baf99fa"
     }
    ]
   },
   {
    "name": "popplerdata",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://poppler.freedesktop.org/poppler-data-0.4.12.tar.gz",
      "sha256": "c835b640a40ce357e1b83666aabd95edffa24ddddd49b8daff63adb851cdab74"
     }
    ]
   },
   {
    "name": "poppler",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DENABLE_QT5:BOOL=true"
    ],
    "cleanup": [
     "/include"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://poppler.freedesktop.org/poppler-23.03.0.tar.xz",
      "sha256": "b04148bf849c1965ada7eff6be4685130e3a18a84e0cce73bf9bc472ec32f2b4"
     }
    ]
   },
   {
    "name": "perl",
    "no-autogen": true,
    "config-opts": [
     "-des",
     "-Duseshrplib"
    ],
    "build-options": {
     "cflags": "-fPIC",
     "ldflags": "-fpic",
     "no-debuginfo": true
    },
    "cleanup": [
     "/man",
     "*.pod",
     "*.h"
    ],
    "ensure-writable": [
     "/lib/perl5/5.42.0"
    ],
    "post-install": [
     "chmod -R u+w ${FLATPAK_DEST}/lib/perl5/5.42.0"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Perl/perl5.git",
      "disable-fsckobjects": true,
      "commit": "5551b97c3be30b899397b99d57993a39d13294f1",
      "tag": "v5.42.0"
     },
     {
      "type": "script",
      "dest-filename": "configure",
      "commands": [
       "exec ./configure.gnu $@"
      ]
     }
    ]
   },
   {
    "name": "python3-pexpect",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"pexpect\" --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/39/7b/88dbb785881c28a102619d46423cb853b46dbccc70d3ac362d99773a78ce/pexpect-4.8.0-py2.py3-none-any.whl",
      "sha256": "0b48a55dcb3c05f3329815901ea4fc1537514d6ba867a152b581d69ae3710937"
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/22/a6/858897256d0deac81a172289110f31629fc4cee19b6f01283303e18c8db3/ptyprocess-0.7.0-py2.py3-none-any.whl",
      "sha256": "4b41f3967fce3af57cc7e94b888626c18bf37a083e3651ca8feeb66d492fef35"
     }
    ]
   },
   {
    "name": "python3-bibtexparser",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"bibtexparser\" --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/82/60/e4315ce9801daa4c95d4ae66cc684a1780cc041ba3c4eab67265ab08a038/bibtexparser-1.4.0.tar.gz",
      "sha256": "ca7ce2bc34e7c48a678dd49416429bb567441f26dbb13b3609082d8cd109ace6"
     },
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/6c/10/a7d0fa5baea8fe7b50f448ab742f26f52b80bfca85ac2be9d35cdd9a3246/pyparsing-3.0.9-py3-none-any.whl",
      "sha256": "5026bae9a10eeaefb61dab2f09052b9f4307d44aee4eda64b309723d8d206bbc"
     }
    ]
   },
   "python3-meson-python.json",
   {
    "name": "numpy",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --no-build-isolation --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} numpy"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/65/6e/09db70a523a96d25e115e71cc56a6f9031e7b8cd166c1ac8438307c14058/numpy-1.26.4.tar.gz",
      "sha256": "2a02aba9ed12e4ac4eb3ea9421c420301a0c6460d9830d74a9df87efa4912010"
     }
    ],
    "cleanup": [
     "/bin",
     "/lib/python3.*/site-packages/numpy/core/include",
     "/lib/python3.*/site-packages/numpy/core/lib/libnpymath.a",
     "/lib/python3.*/site-packages/numpy/tests",
     "/lib/python3.*/site-packages/numpy/*/tests"
    ]
   },
   {
    "name": "python3-Pillow",
    "buildsystem": "simple",
    "build-options": {
     "cflags": "-fpermissive"
    },
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"Pillow\" --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/cd/74/ad3d526f3bf7b6d3f408b73fde271ec69dfac8b81341a318ce825f2b3812/pillow-10.4.0.tar.gz",
      "sha256": "166c1cd4d24309b30d61f79f4a9114b7b2313d7450912277855ff5dfd7cd4a06"
     }
    ]
   },
   {
    "name": "libportal",
    "buildsystem": "meson",
    "config-opts": [
     "-Ddocs=false",
     "-Dvapi=false",
     "-Dbackends=gtk4"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/flatpak/libportal.git",
      "tag": "0.6",
      "commit": "13df0b887a7eb7b0f9b14069561a41f62e813155"
     }
    ]
   },
   {
    "name": "setzer",
    "buildsystem": "meson",
    "config-opts": [
     "--buildtype=release"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/cvfosammmm/Setzer.git",
      "commit": "1f524289aca5c77596273f3b5cff6b62b4ea76ec"
     }
    ]
   }
  ]
 }
}