From e50b2f584794edcffa7e4c245f9d2ca5360775b8 Mon Sep 17 00:00:00 2001 From: Maxim Reznik Date: Fri, 28 Oct 2022 14:48:12 +0300 Subject: [PATCH] Switch to ubuntu-22.04. Add gtkada-23.0.0 (#669) --- index/gt/gtkada/gtkada-23.0.0.toml | 41 ++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 index/gt/gtkada/gtkada-23.0.0.toml diff --git a/index/gt/gtkada/gtkada-23.0.0.toml b/index/gt/gtkada/gtkada-23.0.0.toml new file mode 100644 index 00000000..67b575db --- /dev/null +++ b/index/gt/gtkada/gtkada-23.0.0.toml @@ -0,0 +1,41 @@ +description = "An Ada graphical toolkit based on Gtk+" +long-description = "This crate requires Gtk3+ >= 3.24.24" +website = "https://github.com/adacore/gtkada" +name = "gtkada" +version = "23.0.0" +authors = ["AdaCore"] +licenses = "GPL-3.0-or-later WITH GCC-exception-3.1" +maintainers = ["chouteau@adacore.com", "reznikmm@gmail.com"] +maintainers-logins = ["Fabien-Chouteau", "reznikmm"] +project-files = ["src/gtkada.gpr"] +tags = ["gtk", "gui"] + +[configuration] +disabled = true + +# Prepend PATH with pkg-config directory to stabilize GitHub CI +[[actions]] +type = "post-fetch" +command = ["bash", "-c", "PATH=${DISTRIB_ROOT}/mingw64/bin:${PATH} ./configure"] + +# Generate gtkada-intl.adb to be able to build with gtkada.gpr +[[actions]] +type = "post-fetch" +command = ["make", "src/gtkada-intl.adb"] + +[[depends-on]] +make = "*" +pkg_config = "*" +libgtk3 = ">=3.24.24" + +[gpr-externals] +LIBRARY_TYPE = ["static", "static-pic", "relocatable"] + +# Update PATH on Windows to help deps find .DLL files +[environment.'case(os)'.windows.PATH] +append = "${CRATE_ROOT}/src/obj/gtkada/relocatable" + +[origin] +url="https://github.com/AdaCore/gtkada/archive/v23.0.0/gtkada-23.0.0.zip" +hashes=["sha512:bac4d634733d53bb0b9578ec1eecc5886aacb3177265e220e32dfffe33dc8f6e833741cf0fb952ee557ca7f06dc4e33bc26f749fa05c77e3cb3c5039ff4e1ab7"] +