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

name                libgee
version             0.20.8
revision            0
license             LGPL-2.1+
set branch          [join [lrange [split ${version} .] 0 1] .]
categories          devel
maintainers         nomaintainer
description         Collection library providing GObject-based interfaces

long_description    Libgee is a collection library providing GObject-based \
                    interfaces and classes for commonly used data structures. \
                    Old home page on Gnome wiki is retired, but \
                    has more info: https://wiki.gnome.org/Projects/Libgee. \
                    Also see https://valadoc.org and search for package 'gee'.

homepage            https://gitlab.gnome.org/GNOME/libgee
master_sites        gnome:sources/${name}/${branch}

use_xz              yes

checksums           rmd160  0dbcb5ba5f31c3211dd84ba0733df81cf646c491 \
                    sha256  189815ac143d89867193b0c52b7dc31f3aa108a15f04d6b5dca2b6adfad0b0ee \
                    size    692112

depends_build       port:pkgconfig \
                    path:bin/vala:vala

license_noconflict  vala

patchfiles          patch-typelib-use-absolute-sharedlib-path.diff

compiler.c_standard 2011

# autoreconf after patching gee/Makefile.am
use_autoreconf      yes
autoreconf.args     -fvi

gobject_introspection yes

configure.args      --disable-silent-rules

test.run            yes
test.cmd            ./tests/tests
test.target

livecheck.type      gnome
