{
 "app_id": "net.sourceforge.artha.Artha",
 "source_url": "https://raw.githubusercontent.com/flathub/net.sourceforge.artha.Artha/master/net.sourceforge.artha.Artha.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--device=dri",
  "--own-name=org.artha.unique"
 ],
 "module_count": 6,
 "fetched_at": "2026-09-17T16:13:46.577710+00:00",
 "manifest": {
  "app-id": "net.sourceforge.artha.Artha",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "artha",
  "rename-desktop-file": "artha.desktop",
  "finish-args": [
   "--socket=x11",
   "--share=ipc",
   "--device=dri",
   "--own-name=org.artha.unique"
  ],
  "cleanup": [
   "/cache",
   "/man",
   "/share/aclocal",
   "/share/devhelp",
   "/include",
   "/lib/pkgconfig",
   "/share/gtk-doc",
   "/share/man",
   "/lib/*.a",
   "*.a",
   "*.la"
  ],
  "modules": [
   "shared-modules/gtk2/gtk2.json",
   "shared-modules/dbus-glib/dbus-glib.json",
   {
    "name": "tcl8",
    "sources": [
     {
      "type": "archive",
      "url": "https://sourceforge.net/projects/tcl/files/Tcl/8.6.17/tcl8.6.17-src.tar.gz",
      "sha256": "a3903371efcce8a405c5c245d029e9f6850258a60fa3761c4d58995610949b31"
     }
    ],
    "subdir": "unix",
    "build-options": {
     "no-debuginfo": true
    },
    "post-install": [
     "make install-private-headers",
     "ln -v -sf tclsh8.6 ${FLATPAK_DEST}/bin/tclsh",
     "chmod -v 755 ${FLATPAK_DEST}/lib/libtcl8.6.so"
    ]
   },
   {
    "name": "tk8",
    "sources": [
     {
      "type": "archive",
      "url": "https://sourceforge.net/projects/tcl/files/Tcl/8.6.17/tk8.6.17-src.tar.gz",
      "sha256": "e4982df6f969c08bf9dd858a6891059b4a3f50dc6c87c10abadbbe2fc4838946"
     }
    ],
    "subdir": "unix",
    "post-install": [
     "make install-private-headers",
     "ln -v -sf wish8.6 ${FLATPAK_DEST}/bin/wish",
     "chmod -v 755 ${FLATPAK_DEST}/lib/libtk8.6.so"
    ]
   },
   {
    "name": "wordnet",
    "buildsystem": "autotools",
    "build-options": {
     "cflags": "-Wno-error=implicit-int -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types"
    },
    "config-opts": [
     "--with-tcl=/app/lib",
     "--with-tk=/app/lib",
     "--enable-static=no"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "http://wordnetcode.princeton.edu/3.0/WordNet-3.0.tar.bz2",
      "sha256": "6c492d0c7b4a40e7674d088191d3aa11f373bb1da60762e098b8ee2dda96ef22"
     },
     {
      "type": "patch",
      "path": "fix-api-changes.patch"
     }
    ]
   },
   {
    "name": "artha",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://sourceforge.net/projects/artha/files/artha/1.0.5/artha-1.0.5.tar.bz2",
      "sha256": "5a0d568a5d5335f98b3a04180ec28de6ce280aa68d21036601e7f832dd3e990c"
     },
     {
      "type": "file",
      "path": "net.sourceforge.artha.Artha.metainfo.xml"
     }
    ],
    "post-install": [
     "install -Dm644 ${FLATPAK_DEST}/share/pixmaps/artha.png ${FLATPAK_DEST}/share/icons/hicolor/128x128/apps/net.sourceforge.artha.Artha.png",
     "install -Dm644 ${FLATPAK_DEST}/share/pixmaps/artha.png ${FLATPAK_DEST}/share/icons/hicolor/48x48/apps/net.sourceforge.artha.Artha.png",
     "desktop-file-edit --set-icon=net.sourceforge.artha.Artha ${FLATPAK_DEST}/share/applications/artha.desktop",
     "mkdir -p ${FLATPAK_DEST}/share/metainfo",
     "install -Dm644 net.sourceforge.artha.Artha.metainfo.xml ${FLATPAK_DEST}/share/metainfo"
    ]
   }
  ]
 }
}