mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
56 lines
1.9 KiB
Tcl
56 lines
1.9 KiB
Tcl
# -*- 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 cmake 1.1
|
|
PortGroup github 1.0
|
|
PortGroup ffmpeg 1.0
|
|
|
|
github.setup acoustid chromaprint 1.6.0 v
|
|
github.tarball_from archive
|
|
revision 0
|
|
categories audio
|
|
description Chromaprint is an audio fingerprint library
|
|
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 @kurthindenburg} openmaintainer
|
|
|
|
homepage https://acoustid.org/chromaprint
|
|
license LGPL-2.1+
|
|
|
|
checksums rmd160 420e21f6ab10ba3e06536cb3bef60948dbb12f1f \
|
|
sha256 65bfce4a35b2e673dbcda917b6aa577e2f145cf805243d19e6a50fea2a520c2a \
|
|
size 1580199
|
|
|
|
compiler.cxx_standard 2011
|
|
|
|
ffmpeg.version 8
|
|
|
|
depends_lib-append port:zlib
|
|
|
|
configure.args-append -DBUILD_TESTS=OFF \
|
|
-DBUILD_TOOLS=ON \
|
|
-DFFMPEG_ROOT=${ffmpeg.prefix}
|
|
|
|
variant tests description {Enable tests} {
|
|
configure.args-replace \
|
|
-DBUILD_TESTS=OFF \
|
|
-DBUILD_TESTS=ON
|
|
configure.args-append \
|
|
-DGTEST_ROOT=${prefix}/src/googletest
|
|
|
|
depends_build-append port:gtest
|
|
|
|
# duplicate settings from gtest CMakeLists.txt file
|
|
configure.args-append -DCMAKE_CXX_STANDARD=11 \
|
|
-DCMAKE_CXX_STANDARD_REQUIRED=ON
|
|
|
|
test.run yes
|
|
test.cmd env DYLD_LIBRARY_PATH=${cmake.build_dir}/src ${cmake.build_dir}/tests/all_tests
|
|
test.target
|
|
}
|
|
|
|
github.livecheck.regex (\[0-9.\]+)
|