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

github.setup            HOST-Oman libraqm 0.10.5 v
revision                0
checksums               rmd160  69db2d4c882bb2a516f1a730edfb10f781eba5e5 \
                        sha256  563053e724892a7b037913110ea2daef50ad575d4fa9f7c368ae1e4515f5e856 \
                        size    217188

categories              devel
license                 MIT
maintainers             {reneeotten @reneeotten} openmaintainer

github.tarball_from     releases
distname                raqm-${version}
use_xz                  yes

description             A library for complex text layout
long_description        Raqm is a small library that encapsulates the logic for complex\
                        text layout and provides a convenient API. It currently provides\
                        bidirectional text support (using FriBiDi), shaping (using HarfBuzz),\
                        and proper script itemization. As a result, Raqm can support most\
                        writing systems covered by Unicode.

homepage                https://host-oman.github.io/libraqm/

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

depends_lib-append      port:freetype \
                        path:lib/pkgconfig/harfbuzz.pc:harfbuzz \
                        port:fribidi

test.run                yes

variant docs description "Install documentation" {
    depends_build-append  port:gtk-doc
    configure.args-append -Ddocs=true
}
