# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           cmake 1.1
PortGroup           github 1.0

github.setup        hyprwm hyprwayland-scanner 0.4.5 v
revision            0
categories          wayland
license             BSD
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
description         Hyprland implementation of wayland-scanner
long_description    {*}${description}, in and for C++.
checksums           rmd160  0f401087c847a2ca12702a7ff73e3aa44bfd4a81 \
                    sha256  2125d279eea106e3e6c8dc9fa15181c75d67467b5352d24e2a07903b10abad62 \
                    size    11808
github.tarball_from archive

# https://github.com/hyprwm/hyprwayland-scanner/pull/15
patchfiles          0001-CMakeLists-no-librt-on-Apple.patch

depends_build-append \
                    path:bin/pkg-config:pkgconfig
depends_lib-append  port:pugixml

compiler.cxx_standard   2023
