You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
ff07e0323f
In preparation for changing the default.
56 lines
2.0 KiB
Tcl
56 lines
2.0 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.0
|
|
PortGroup github 1.0
|
|
|
|
# don't forget to revbump gstreamer1-gst-plugins-bad if
|
|
# update of chromaprint results in an ABI break
|
|
github.setup acoustid chromaprint 1.5.1 v
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
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 a06b1429daab2171bbf57d59a88db4db62b6fb49 \
|
|
sha256 1f0d17b28390ddd796e8fef49d20d7da67aa4366cd79dc140594c3359f4310e5 \
|
|
size 1581420
|
|
|
|
compiler.cxx_standard 2011
|
|
|
|
depends_build-append port:gmake
|
|
depends_lib-append path:lib/libavcodec.dylib:ffmpeg \
|
|
port:fftw-3
|
|
|
|
cmake.out_of_source yes
|
|
|
|
configure.args-append -DCMAKE_BUILD_TYPE=Release -DBUILD_TOOLS=ON
|
|
|
|
variant tests description {Enable tests} {
|
|
configure.args-append \
|
|
-DBUILD_TESTS=ON \
|
|
-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.\]+)
|