{
 "app_id": "org.wxhexeditor.wxHexEditor",
 "source_url": "https://raw.githubusercontent.com/flathub/org.wxhexeditor.wxHexEditor/master/org.wxhexeditor.wxHexEditor.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--device=all",
  "--filesystem=home"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:16:57.237298+00:00",
 "manifest": {
  "app-id": "org.wxhexeditor.wxHexEditor",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "wxHexEditor",
  "rename-icon": "wxHexEditor",
  "rename-desktop-file": "wxHexEditor.desktop",
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--filesystem=home",
   "--device=all"
  ],
  "modules": [
   {
    "name": "wxWidgets",
    "cleanup": [
     "/bin",
     "/include",
     "/share/bakefile",
     "/share/aclocal",
     "/lib/wx/include"
    ],
    "config-opts": [
     "--with-gtk=3",
     "--disable-sdltest",
     "--enable-unicode",
     "--enable-display",
     "--enable-propgrid",
     "--disable-webkit",
     "--disable-webview",
     "--disable-webviewwebkit",
     "--with-expat=builtin",
     "--with-libiconv=/usr"
    ],
    "build-options": {
     "cxxflags": "-std=c++0x"
    },
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/wxWidgets/wxWidgets/releases/download/v3.0.4/wxWidgets-3.0.4.tar.bz2",
      "sha256": "96157f988d261b7368e5340afa1a0cad943768f35929c22841f62c25b17bf7f0"
     }
    ]
   },
   {
    "name": "wxHexEditor",
    "buildsystem": "simple",
    "build-commands": [
     "make -j $FLATPAK_BUILDER_N_JOBS",
     "install -D -m 755 wxHexEditor /app/bin/wxHexEditor",
     "install -D -m 644 resources/wxHexEditor.png /app/share/icons/hicolor/128x128/apps/wxHexEditor.png",
     "desktop-file-edit --remove-key=Keywords --set-key=Keywords --set-value='disk;drive;volume;harddisk;hdd;disc;cdrom;dvd;partition;iso;image;backup;restore;editor;' --set-key=Categories --set-value='Utility;TextEditor;' resources/wxHexEditor.desktop",
     "install -D -m 644 resources/wxHexEditor.desktop /app/share/applications/wxHexEditor.desktop",
     "install -D -m 644 org.wxhexeditor.wxHexEditor.appdata.xml /app/share/appdata/org.wxhexeditor.wxHexEditor.appdata.xml"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/EUA/wxHexEditor.git",
      "tag": "v0.24"
     },
     {
      "type": "file",
      "path": "org.wxhexeditor.wxHexEditor.appdata.xml"
     },
     {
      "type": "patch",
      "path": "disable-unavailable.patch"
     },
     {
      "type": "patch",
      "path": "use-python-3.patch"
     },
     {
      "type": "patch",
      "path": "wxhexeditor-d0fa3dd.patch"
     },
     {
      "type": "shell",
      "commands": [
       "cp -p /usr/share/automake-*/config.{sub,guess} mhash"
      ]
     }
    ]
   }
  ]
 }
}