# -*- 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            libxklavier
version         5.2.1
revision        1
set branch      [join [lrange [split ${version} .] 0 1] .]
description     libxklavier - utility library to make XKB stuff easier
long_description    ${description}
maintainers     nomaintainer
categories      gnome
license         LGPL-2+
platforms       darwin
homepage        https://www.freedesktop.org/wiki/Software/LibXklavier/
master_sites    gnome:sources/${name}/${branch}/

checksums       sha256  a7a1ca8ae493fb652e3456a6b3a0b07514447161aab41feed96b968f2d338b5e \
                rmd160  ecebe25520ac28fce4ab414f8d371975d8741b7e

use_xz          yes

depends_build   port:pkgconfig
depends_lib     port:libxml2 \
                path:lib/pkgconfig/glib-2.0.pc:glib2 \
                port:iso-codes \
                port:xorg-libXi \
                port:xorg-libxkbfile \
                port:xkbcomp

gobject_introspection yes

configure.args  --x-includes=${prefix}/include \
                --x-libraries=${prefix}/lib

livecheck.type  gnome
