51 lines
1.5 KiB
TOML
51 lines
1.5 KiB
TOML
description = "An Ada graphical toolkit based on Gtk+"
|
|
website = "https://github.com/adacore/gtkada"
|
|
name = "gtkada"
|
|
version = "22.0.0"
|
|
authors = ["AdaCore"]
|
|
licenses = "GPL-3.0-or-later WITH GCC-exception-3.1"
|
|
maintainers = ["chouteau@adacore.com"]
|
|
maintainers-logins = ["Fabien-Chouteau"]
|
|
project-files = ["install_dir/lib/gnat/gtkada.gpr"]
|
|
tags = ["gtk", "gui"]
|
|
|
|
[configuration]
|
|
disabled = true
|
|
|
|
[[actions."case(os)".windows]]
|
|
type = "post-fetch"
|
|
command = ["bash", "configure", "--build=x86_64-w64-mingw32", "--with-GL=no"]
|
|
|
|
[[actions."case(os)"."..."]]
|
|
type = "post-fetch"
|
|
command = ["bash", "configure", "--with-GL=no"]
|
|
|
|
# Since the GTKAda project doesn't build alone with just gprbuild we build and
|
|
# install with the Makefile from post-fetch action.
|
|
[[actions."case(os)".windows]]
|
|
type = "post-fetch"
|
|
command = ["make", "all", "install", "prefix=install_dir"]
|
|
[[actions."case(os)"."..."]]
|
|
type = "post-fetch"
|
|
command = ["make", "all", "install", "prefix=install_dir"]
|
|
|
|
[[depends-on]]
|
|
make = "*"
|
|
pkg_config = "*"
|
|
libgtk3 = "^3"
|
|
|
|
[depends-on.'case(os)'.windows]
|
|
winpthreads = "*"
|
|
|
|
[gpr-externals]
|
|
LIBRARY_TYPE = ["static", "static-pic", "relocatable"]
|
|
|
|
[environment.'case(distribution)']
|
|
msys2.C_INCLUDE_PATH.append = "${DISTRIB_ROOT}/mingw64/x86_64-w64-mingw32/include"
|
|
msys2.LIBRARY_PATH.append = "${DISTRIB_ROOT}/mingw64/x86_64-w64-mingw32/lib"
|
|
|
|
[origin]
|
|
url="https://github.com/AdaCore/gtkada/archive/v22.0.0/gtkada-22.0.0.zip"
|
|
hashes=["sha512:8192cf81732dd1ce7bc6a2c7bf43e4665877933777af8ccc1a2ced48bec83c1550959e8fb1f786b9b8fef3f5ae5d854a0b3696af49cdb9d603d4429e2a58c42c"]
|
|
|