# -*- 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           ruby 1.0

ruby.branches       3.3 3.2 3.1
ruby.setup          gdk4 4.3.2 gem {} rubygems
categories-append   gnome devel
license             LGPL-2.1+
maintainers         nomaintainer
description         Ruby/GDK4 is a Ruby binding of GDK-4.x
long_description    {*}${description}
homepage            https://ruby-gnome2.osdn.jp
checksums           rmd160  6306627377066d0075940d150e2c955ac176990a \
                    sha256  0c3edbfb83ec1851f6fd9e453f3f0c9abee7a13a194204a927dd26a6203dc549 \
                    size    30720

if {${subport} ne ${name}} {
    depends_lib-append \
                    path:lib/pkgconfig/gtk4.pc:gtk4

    depends_run-append \
                    port:rb${ruby.suffix}-cairo-gobject \
                    port:rb${ruby.suffix}-gdk_pixbuf2 \
                    port:rb${ruby.suffix}-pango
}
