# -*- 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
description Library for Firewire IIDC Cameras
long_description libdc1394 is a library that provides a complete \
high level application programming interface (API) \
for developers who wish to control IEEE 1394 based \
cameras that conform to the 1394-based Digital \
Camera Specifications (also known as the IIDC or \
homepage https://damien.douxchamps.net/ieee1394/libdc1394/
checksums rmd160 3af4130b2979e22e17a03d34301a5239fc177b12 \
sha256 2b905fc9aa4eec6bdcf6a2ae5f5ba021232739f5be047dec8fe8dd6049c10fed \
depends_build port:pkgconfig
depends_lib path:lib/pkgconfig/libusb-1.0.pc:libusb \
patchfiles patch-01-macosx-status.diff
reinplace "s:-lIOKit:-framework IOKit:" \
${worksrcpath}/configure \
${worksrcpath}/dc1394/macosx/Makefile.am \
${worksrcpath}/dc1394/macosx/Makefile.in
configure.args --disable-examples \
livecheck.regex "libdc1394-2/(\\d+(?:\\.\\d+)*)"