# -*- 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          gdk_pixbuf2 4.3.2 gem {} rubygems
categories-append   gnome devel
license             LGPL-2.1+
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
description         Ruby/GdkPixbuf2 is a Ruby binding of GdkPixbuf-2.x
long_description    {*}${description}
homepage            https://ruby-gnome2.osdn.jp
checksums           rmd160  af4f09ce8cbdc8580ad4e47f3ac7126f3cd9a402 \
                    sha256  2e2de507e2c5cb109db3f7aa128f86bac993441ddd20954735a4daf90c9a83c3 \
                    size    34816

if {${subport} ne ${name}} {
    depends_lib-append \
                    path:lib/pkgconfig/gdk-pixbuf-2.0.pc:gdk-pixbuf2

    depends_run-append \
                    port:rb${ruby.suffix}-gio2
}
