{
 "app_id": "org.otfried.Ipe",
 "source_url": "https://raw.githubusercontent.com/flathub/org.otfried.Ipe/master/org.otfried.Ipe.yaml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.10",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-documents",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings"
 ],
 "module_count": 7,
 "fetched_at": "2026-09-17T16:16:16.067826+00:00",
 "manifest": {
  "app-id": "org.otfried.Ipe",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.10",
  "sdk": "org.kde.Sdk",
  "command": "ipe",
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--filesystem=xdg-documents:rw",
   "--persist=.ipe",
   "--env=PATH=/app/bin:/app/texlive/bin/x86_64-linux:/app/texlive/bin/aarch64-linux:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/aclocal",
   "/share/man",
   "/share/doc",
   "*.la",
   "*.a"
  ],
  "add-extensions": {
   "org.freedesktop.Sdk.Extension.texlive": {
    "directory": "texlive",
    "subdirectories": true,
    "autodelete": true,
    "version": "25.08",
    "no-autodownload": true
   }
  },
  "modules": [
   {
    "name": "texlive-extension",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir /app/texlive"
    ]
   },
   {
    "name": "gsl",
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://ftpmirror.gnu.org/gsl/gsl-2.8.tar.gz",
      "sha256": "6a99eeed15632c6354895b1dd542ed5a855c0f15d9ad1326c6fe2b2c9e423190",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1267,
       "stable-only": true,
       "url-template": "https://ftpmirror.gnu.org/gsl/gsl-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "libspiro",
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/fontforge/libspiro/releases/download/20240903/libspiro-dist-20240903.tar.gz",
      "sha256": "1412a21b943c6e1db834ee2d74145aad20b3f62b12152d475613b8241d9cde10",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1725,
       "stable-only": true,
       "url-template": "https://github.com/fontforge/libspiro/releases/download/$version/libspiro-dist-$version.tar.gz"
      }
     }
    ]
   },
   "shared-modules/lua5.4/lua-5.4.json",
   {
    "name": "enchant",
    "cleanup": [
     "/bin",
     "/share/enchant-2"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/AbiWord/enchant/releases/download/v2.8.21/enchant-2.8.21.tar.gz",
      "sha256": "dd2a762697c463148a8f59867089a5ebf2dd1449d869f93764b76c12bcf8acc0",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 6601,
       "stable-only": true,
       "url-template": "https://github.com/AbiWord/enchant/releases/download/v$version/enchant-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "qtspell",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DQT_VER:STRING=6"
    ],
    "cleanup": [
     "/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/manisandro/qtspell/archive/refs/tags/1.0.2.tar.gz",
      "sha256": "faa7add9d771350a63e66bb6c9b91b130097c2399f6f85c2a9a0ea8e0ceb79d8",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 11246,
       "stable-only": true,
       "url-template": "https://github.com/manisandro/qtspell/archive/refs/tags/$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "ipe",
    "buildsystem": "simple",
    "license-files": [
     "README.md",
     "doc/gpl.txt"
    ],
    "build-commands": [
     "make -C src IPEPREFIX=$FLATPAK_DEST MOC=/usr/lib/libexec/moc",
     "make -C src documentation IPEPREFIX=$FLATPAK_DEST MOC=/usr/lib/libexec/moc",
     "make -C src install IPEPREFIX=$FLATPAK_DEST MOC=/usr/lib/libexec/moc"
    ],
    "post-install": [
     "install -Dm0644 org.otfried.Ipe.metainfo.xml -t $FLATPAK_DEST/share/metainfo",
     "install -Dm0644 ipe.desktop $FLATPAK_DEST/share/applications/$FLATPAK_ID.desktop",
     "install -Dm0644 artwork/ipe.iconset/icon_512x512.png $FLATPAK_DEST/share/icons/hicolor/512x512/apps/$FLATPAK_ID.png"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/otfried/ipe/archive/refs/tags/v7.2.30.tar.gz",
      "sha256": "9228650edc48ad5deeab5d92272e242e906f90d292c90af132a3f20d9354735a",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 10261,
       "stable-only": true,
       "url-template": "https://github.com/otfried/ipe/archive/refs/tags/v$version.tar.gz"
      }
     },
     {
      "type": "file",
      "path": "org.otfried.Ipe.metainfo.xml"
     },
     {
      "type": "file",
      "path": "ipe.desktop"
     }
    ]
   }
  ]
 }
}