# -*- 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 ayatana-ido 0.10.4
revision            1
categories          devel gnome
license             LGPL-3
maintainers         nomaintainer
description         Ayatana Indicator Display Objects
long_description    {*}${description}
checksums           rmd160  5ed9029f1936874cf34b650e9ee37f8bb7793f2f \
                    sha256  bd59abd5f1314e411d0d55ce3643e91cef633271f58126be529de5fb71c5ab38 \
                    size    137966
github.tarball_from archive

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

depends_lib-append  port:atk \
                    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 \
                    path:lib/pkgconfig/pango.pc:pango

gobject_introspection   yes

compiler.c_standard 1999

configure.args-append \
                    -DENABLE_COVERAGE=OFF \
                    -DENABLE_TESTS=OFF \
                    -DENABLE_WERROR=OFF

# idoscalemenuitem.c: error: ‘for’ loop initial declaration used outside C99 mode
configure.cflags-append \
                    -std=c99
