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

name            xfce4-panel
version         4.18.6
revision        0
checksums       sha256  21337161f58bb9b6e42760cb6883bc79beea27882aa6272b61f0e09d750d7c62 \
                rmd160  cfea9e8e1d5b4b75c70df39897c87dbb3a36a716 \
                size    1595352

set branch      [join [lrange [split ${version} .] 0 1] .]
categories      xfce
license         GPL-2+ LGPL-2+
maintainers     nomaintainer
description     The panel of the Xfce Desktop Environment
long_description ${description}

homepage        https://docs.xfce.org/xfce/xfce4-panel/start
master_sites    https://archive.xfce.org/src/xfce/${name}/${branch}/
use_bzip2       yes

depends_build   port:intltool \
                path:bin/perl:perl5 \
                path:bin/pkg-config:pkgconfig

depends_lib     path:lib/pkgconfig/cairo.pc:cairo \
                port:exo \
                port:garcon \
                path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \
                port:libwnck3 \
                port:libxfce4ui

# sn-plugin.h:33: error: redefinition of typedef ‘SnPluginClass’
compiler.c_standard 2011

platform darwin {
        configure.args-append --disable-visibility
}
