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

PortSystem          1.0

# Note: Version 45 and later requires gtk4, so stay at version 44
name                adwaita-icon-theme
version             44.0
revision            1

categories          gnome
license             LGPL-3
maintainers         {devans @dbevans} {mascguy @mascguy} openmaintainer
platforms           any
supported_archs     noarch

description         Adwaita icon theme
long_description    Fullcolor, symbolic and cursor assets for the {*}$description, \
                    the default icon theme for GTK+ 3.
homepage            https://www.gnome.org/

set branch          [lindex [split ${version} .] 0]
master_sites        gnome:sources/${name}/${branch}/
use_xz              yes

checksums           rmd160  7b1a57ee0e550d2109f445f232fbfaf3cf4f7bac \
                    sha256  4889c5601bbfecd25d80ba342209d0a936dcf691ee56bd6eca4cde361f1a664c \
                    size    2488628

depends_build-append \
                    port:pkgconfig

depends_lib-append \
                    path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \
                    path:lib/pkgconfig/librsvg-2.0.pc:librsvg

patchfiles-append   patch-adwaita-icon-theme-makefile.diff

use_autoreconf      yes
autoreconf.args     -fvi

use_parallel_build  no
installs_libs       no

livecheck.type      none
