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

github.setup        AyatanaIndicators libayatana-appindicator 0.5.94
revision            1
categories          devel gnome
license             LGPL-3
maintainers         nomaintainer
description         Ayatana Application Indicators Shared Library
long_description    {*}${description}
checksums           rmd160  c4543c5be3c3ccbf74c5d75c26f4079e2ccc0c03 \
                    sha256  884a6bc77994c0b58c961613ca4c4b974dc91aa0f804e70e92f38a542d0d0f90 \
                    size    164282
github.tarball_from archive

depends_build-append \
                    path:bin/pkg-config:pkgconfig \
                    path:bin/vala:vala

depends_lib-append  port:atk \
                    port:ayatana-ido \
                    port:gettext-runtime \
                    path:lib/pkgconfig/cairo.pc:cairo \
                    path:lib/pkgconfig/gdk-pixbuf-2.0.pc:gdk-pixbuf2 \
                    path:lib/pkgconfig/glib-2.0.pc:glib2 \
                    path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \
                    path:lib/pkgconfig/harfbuzz.pc:harfbuzz \
                    port:libayatana-indicator \
                    port:libdbusmenu \
                    path:lib/pkgconfig/pango.pc:pango

gobject_introspection   yes

configure.args-append \
                    -DENABLE_BINDINGS_MONO=OFF \
                    -DENABLE_BINDINGS_VALA=ON \
                    -DENABLE_GTKDOC=OFF \
                    -DENABLE_COVERAGE=OFF \
                    -DENABLE_TESTS=OFF \
                    -DENABLE_WERROR=OFF
