{
 "app_id": "net.sourceforge.wxEDID",
 "source_url": "https://raw.githubusercontent.com/flathub/net.sourceforge.wxEDID/master/net.sourceforge.wxEDID.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:13:57.050720+00:00",
 "manifest": {
  "app-id": "net.sourceforge.wxEDID",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "wxedid",
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc"
  ],
  "modules": [
   {
    "name": "wxWidgets",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DwxUSE_DOC_VIEW_ARCHITECTURE=OFF",
     "-DwxUSE_HELP=OFF",
     "-DwxUSE_RICHTEXT=OFF",
     "-DwxUSE_WEBVIEW=OFF",
     "-DwxUSE_STC=OFF",
     "-DwxUSE_MDI_ARCHITECTURE=OFF",
     "-DwxUSE_MDI=OFF",
     "-DwxUSE_OPENGL=OFF",
     "-DwxUSE_ARCHIVE_STREAMS=OFF",
     "-DwxUSE_ACTIVEX=OFF",
     "-DwxUSE_MEDIACTRL=OFF",
     "-DwxUSE_WEBREQUEST=OFF",
     "-DwxUSE_SECRETSTORE=OFF",
     "-DwxUSE_SOUND=OFF",
     "-DwxUSE_LIBSDL=OFF",
     "-DwxUSE_RIBBON=OFF",
     "-DwxUSE_SVG=OFF",
     "-DwxUSE_PROPGRID=OFF",
     "-DwxUSE_WXHTML_HELP=OFF"
    ],
    "cleanup": [
     "/bin",
     "/include",
     "/lib/cmake",
     "/lib/wx",
     "/share"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/wxWidgets/wxWidgets/releases/download/v3.3.1/wxWidgets-3.3.1.tar.bz2",
      "sha256": "f936c8d694f9c49a367a376f99c751467150a4ed7cbf8f4723ef19b2d2d9998d",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5150,
       "stable-only": true,
       "url-template": "https://github.com/wxWidgets/wxWidgets/releases/download/v$version/wxWidgets-$version.tar.bz2"
      }
     }
    ]
   },
   {
    "name": "wxedid",
    "config-opts": [
     "--enable-build-mode=none"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/wxedid/wxedid-0.0.33.tar.gz",
      "sha256": "a59fef44bb9217ff3d4fb31fd90a8c0ac2c0c0499858016fbe008c8fd7f563d7",
      "x-checker-data": {
       "type": "json",
       "url": "https://sourceforge.net/projects/wxedid/best_release.json",
       "version-query": ".release.filename | match(\"-([0-9.]+)\\\\.\").captures[0].string",
       "url-query": "\"https://downloads.sourceforge.net/wxedid/wxedid-\\($version).tar.gz\""
      }
     },
     {
      "type": "patch",
      "path": "wxedid_xdg_cfg.patch"
     },
     {
      "type": "file",
      "path": "net.sourceforge.wxEDID.desktop"
     },
     {
      "type": "file",
      "path": "net.sourceforge.wxEDID.appdata.xml"
     },
     {
      "type": "file",
      "path": "net.sourceforge.wxEDID-mime.xml"
     },
     {
      "type": "file",
      "path": "net.sourceforge.wxEDID.svg"
     }
    ],
    "post-install": [
     "install -Dm644 net.sourceforge.wxEDID.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm644 net.sourceforge.wxEDID.appdata.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.appdata.xml",
     "install -Dm644 net.sourceforge.wxEDID-mime.xml ${FLATPAK_DEST}/share/mime/packages/${FLATPAK_ID}.xml",
     "install -Dm644 net.sourceforge.wxEDID.svg /app/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg\nfor s in 16 24 32 48 64 128 256 ; do\n  rsvg-convert net.sourceforge.wxEDID.svg -w \"${s}\" -h \"${s}\" -a -f png -o icon.png\n  install -Dm644 icon.png \"${FLATPAK_DEST}/share/icons/hicolor/${s}x${s}/apps/${FLATPAK_ID}.png\"\ndone\n"
    ]
   }
  ]
 }
}