{
  "actions": [
    {
      "command": [
        "sh",
        "-c",
        "sed 's/| -mingw32\\*/| -mingw32\\* | -msys\\*/g' config.sub > config.sub.0 && mv -f config.sub.0 config.sub"
      ],
      "type": "post-fetch"
    },
    {
      "command": [
        "sh",
        "-c",
        "sed '/misc_osx.h/a\\\nNSWindow *gdk_quartz_window_get_nswindow(GdkWindow *window);\n' src/misc_osx.m > src/misc_osx.m.0 && mv -f src/misc_osx.m.0 src/misc_osx.m"
      ],
      "type": "post-fetch"
    },
    {
      "command": [
        "bash",
        "configure",
        "--with-GL=no"
      ],
      "type": "post-fetch"
    },
    {
      "command": [
        "make",
        "all",
        "install",
        "prefix=install_dir"
      ],
      "type": "post-fetch"
    }
  ],
  "authors": [
    "AdaCore"
  ],
  "available": {
    "case(distribution)": {
      "arch": false
    },
    "case(os)": {
      "windows": false
    }
  },
  "depends-on": [
    {
      "case(os)": {
        "windows": {
          "winpthreads": "*"
        }
      },
      "libgtk3": "^3",
      "make": "*",
      "pkg_config": "*"
    }
  ],
  "description": "An Ada graphical toolkit based on Gtk+",
  "environment": {
    "case(distribution)": {
      "msys2": {
        "C_INCLUDE_PATH": {
          "append": "${DISTRIB_ROOT}/mingw64/x86_64-w64-mingw32/include"
        },
        "LIBRARY_PATH": {
          "append": "${DISTRIB_ROOT}/mingw64/x86_64-w64-mingw32/lib"
        }
      }
    }
  },
  "gpr-externals": {
    "LIBRARY_TYPE": [
      "static",
      "static-pic",
      "relocatable"
    ]
  },
  "licenses": "GPL-3.0-only WITH GCC-exception-3.1",
  "maintainers": [
    "chouteau@adacore.com"
  ],
  "maintainers-logins": [
    "Fabien-Chouteau"
  ],
  "name": "gtkada",
  "origin": {
    "hashes": [
      "sha512:3c1373c0a1168ae875398a0b5a1941234f6620ac114088980b83558c984c4566b87796fb4098de371af206ca6a4ae0fb4c6390119c5606a9f6a5b142916ce8d8"
    ],
    "url": "https://github.com/AdaCore/gtkada/archive/v21.0.0/gtkada-21.0.0.zip"
  },
  "project-files": [
    "install_dir/lib/gnat/gtkada.gpr"
  ],
  "tags": [
    "gtk",
    "gui"
  ],
  "version": "21.0.0",
  "website": "https://github.com/adacore/gtkada"
}
