name = "wayland_protocols_ada"
description = "Ada 2012 bindings for various Wayland protocols"
version = "1.0.0"
website = "https://github.com/onox/wayland-ada"
licenses = "Apache-2.0"
tags = ["wayland", "protocols"]

authors = ["onox"]
maintainers = ["onox <denkpadje@gmail.com>"]
maintainers-logins = ["onox"]

[build-switches]
validation.compile_checks = "warnings"
"*".style_checks = ["-gnatygAOM120-Is"]

[available.'case(os)']
linux = true
'...' = false

[[actions]]
type = "pre-build"
command = ["wayland_ada_scanner", "wayland-protocols/stable/xdg-shell/xdg-shell.xml", "src"]

[[actions]]
type = "pre-build"
command = ["wayland_ada_scanner", "wayland-protocols/stable/presentation-time/presentation-time.xml", "src"]

[[actions]]
type = "pre-build"
command = ["wayland_ada_scanner", "wayland-protocols/stable/viewporter/viewporter.xml", "src"]

[[actions]]
type = "pre-build"
command = ["wayland_ada_scanner", "wayland-protocols/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml", "src"]

[[actions]]
type = "pre-build"
command = ["wayland_ada_scanner", "wayland-protocols/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml", "src"]

[[actions]]
type = "pre-build"
command = ["wayland_ada_scanner", "wayland-protocols/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml", "src"]

[[actions]]
type = "pre-build"
command = ["wayland_ada_scanner", "wayland-protocols/unstable/pointer-gestures/pointer-gestures-unstable-v1.xml", "src"]

[[actions]]
type = "pre-build"
command = ["wayland_ada_scanner", "wayland-protocols/unstable/relative-pointer/relative-pointer-unstable-v1.xml", "src"]

[[depends-on]]
wayland_ada_scanner = "~1.0.0"
wayland_client_ada = "~1.0.0"

[origin]
commit = "f8a9fe05aa29e5e17d23951bc0d21ce4b84148a4"
url = "git+https://github.com/onox/wayland-ada.git"
subdir = "wayland_protocols_ada"
