# -*- 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 # $Id: Portfile 124870 2014-08-30 01:01:49Z khindenburg@macports.org $ PortSystem 1.0 PortGroup cmake 1.0 PortGroup bitbucket 1.0 bitbucket.setup acoustid chromaprint 1.2 categories audio description Chromaprint long_description Chromaprint is the core component of the AcoustID \ project. It's a client-side library that implements \ a custom algorithm for extracting fingerprints from \ any audio source. maintainers khindenburg openmaintainer homepage http://acoustid.org/chromaprint platforms darwin master_sites https://bitbucket.org/acoustid/${name}/downloads/ license LGPL-2.1+ checksums rmd160 208ddea00c22451b6838ab8415834403e918b541 \ sha256 822b8949a322ac04c6f8a3ed78f5e689bcc493c6ca0972bf627c913c8430031a distname ${name}-${version} depends_lib path:lib/libavcodec.dylib:ffmpeg configure.args-append -DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLES=ON # For the test to work: please install FFmpeg with libswresample #test.run yes #pre-test { # system "cd ${worksrcpath}/examples && cmake ." #} livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}