# -*- 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            xorg-xcb-util-cursor
version         0.1.4
revision        0
categories      x11 devel
license         X11
maintainers     {jeremyhu @jeremyhu} openmaintainer
description     X.org xcb-util-cursor
long_description \
                Utility libraries for XCB
homepage        https://xcb.freedesktop.org
platforms       darwin macosx
master_sites    ${homepage}/dist/

distname        xcb-util-cursor-${version}
checksums       rmd160  a5bb983f4eb8deacfb61aaa48c1e57595a7ce05c \
                sha256  cc8608ebb695742b6cf84712be29b2b66aa5f6768039528794fca0fa283022bf \
                size    394342

depends_build   port:pkgconfig \
                port:xorg-util-macros
depends_lib     port:xorg-xcb-util \
                port:xorg-xcb-util-image \
                port:xorg-xcb-util-renderutil \
                port:xorg-xorgproto

# shape_to_id.gperf:2: error: type qualifiers ignored on function return type
# shape_to_id.gperf:82: error: type qualifiers ignored on function return type
# cursor.h:164: error: type qualifiers ignored on function return type
# cursor.h:164: error: type qualifiers ignored on function return type
compiler.blacklist *gcc-4.0 *gcc-4.2 {clang < 421}

livecheck.type  regex
livecheck.url   ${master_sites}?C=M&O=D
livecheck.regex xcb-util-cursor-(\\d+(?:\\.\\d+)*)
