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

github.setup        mypaint mypaint-brushes 2.0.2 v
revision            0
checksums           rmd160  cbb8f1423d5a2f2ae350a0d44b161c04b6ae9265 \
                    sha256  7984a74edef94571d872d0629b224abaa956a36f632f5c5516b33d22e49eb566 \
                    size    1522216
description         libmypaint brush data version 2 (used by MyPaint)

# For GIMP
# See https://gitlab.gnome.org/GNOME/gimp/-/issues/3205
subport ${name}1 {
    github.setup    mypaint mypaint-brushes 1.3.1 v
    revision        0
    checksums       rmd160  a1ec139be511c59a4f28c230b534fb652641328f \
                    sha256  fef66ffc241b7c5cd29e9c518e933c739618cb51c4ed4d745bf648a1afc3fe70 \
                    size    1360028
    description     libmypaint brush data version 1 (used by GIMP)
    github.livecheck.regex  {(1\.[0-9.]+)}
}

categories          graphics
maintainers         {devans @dbevans} {ryandesign @ryandesign} openmaintainer
platforms           darwin
supported_archs     noarch
# license CC0
license             public-domain

long_description    ${description}

github.tarball_from releases
use_xz              yes

patchfiles-append   pkgconfig.pc.in.patch
