# -*- 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-libXv
version         1.0.13
revision        0
categories      x11 devel
license         X11
maintainers     {jeremyhu @jeremyhu} openmaintainer
description     X.org libXv
homepage        https://www.x.org
platforms       darwin macosx
long_description    Xvideo extension library
master_sites    xorg:individual/lib/

distname        libXv-${version}
checksums       rmd160  d4ad44647b80a2e75c3859c63b3bcaefc2a8fed1 \
                sha256  7d34910958e1c1f8d193d828fea1b7da192297280a35437af0692f003ba03755 \
                size    281460

use_xz          yes
use_parallel_build      yes

depends_build   path:bin/pkg-config:pkgconfig

depends_lib     port:xorg-libXext \
                port:xorg-xorgproto

configure.checks.implicit_function_declaration.whitelist-append strchr

livecheck.type  regex
livecheck.url   https://xorg.freedesktop.org/archive/individual/lib/?C=M&O=D
livecheck.regex libXv-(\\d+(?:\\.\\d+)*)
