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

name                gnome-autoar
version             0.2.4
revision            1
license             LGPL-2.1+
set branch          [join [lrange [split ${version} .] 0 1] .]
description         An automatic archive creating and extracting library
long_description    GNOME Autoar is a library to integrate compressed files management with GNOME
maintainers         {devans @dbevans} openmaintainer
categories          gnome

homepage            https://git.gnome.org/browse/gnome-autoar
master_sites        gnome:sources/${name}/${branch}/

use_xz              yes

checksums           rmd160  14e59e0b1f74ba4e12c139751120cc15b1136eab \
                    sha256  0a34c377f8841abbf4c29bc848b301fbd8e4e20c03d7318c777c58432033657a \
                    size    294956

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

depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
                    path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \
                    port:libarchive

gobject_introspection yes

configure.args      --enable-vala \
                    --disable-schemas-compile \
                    --disable-silent-rules

post-activate {
    system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
}

livecheck.type      gnome
