Name libchromaprint1
Description audio fingerprint library
Version 1.5.1-7
Package Base chromaprint
Homepage https://acoustid.org/chromaprint
Maintainers ['Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>']
Contributors ['Reinhard Tartler <siretart@tauware.de>', 'Sebastian Ramacher <sramacher@debian.org>']
Distro-repo https://salsa.debian.org/multimedia-team/chromaprint
Sources ['https://sources.debian.org/data/main/c/chromaprint/1.5.1-7/debian/watch', 'https://sources.debian.org/src/chromaprint/1.5.1-7/debian/patches/0001-added-missing-chromaprint_get_algorithm-function-106.patch', 'https://sources.debian.org/src/chromaprint/1.5.1-7/debian/patches/0002-Use-FFmpeg-5.x-120.patch', 'https://sources.debian.org/src/chromaprint/1.5.1-7/debian/patches/0003-ffmpeg5-fix-for-issue-122.patch', 'https://sources.debian.org/src/chromaprint/1.5.1-7/debian/patches/0004-Bump-required-C-version-to-14.patch', 'https://sources.debian.org/src/chromaprint/1.5.1-7/debian/patches/0005-Fix-compatibility-with-ffmpeg-7.0.patch', 'https://sources.debian.org/src/chromaprint/1.5.1-7/debian/patches/series']
Dependencies ['libc6', 'libgcc-s1', 'libstdc++6']
Optional-Dependencies []
Build-Dependencies ['cmake', 'debhelper-compat', 'libavcodec-dev', 'libavformat-dev', 'libgtest-dev <!nocheck>', 'libswresample-dev', 'python3-docutils']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash ed8decea8352ae56e80862c4630c83f4f863d4eea653382ed8ae43ffacda60b5
#!/usr/bin/make -f
# -*- makefile -*-
# export DH_VERBOSE=1

CONFIGURE_FLAGS  = -DBUILD_TOOLS=ON
CONFIGURE_FLAGS += -DBUILD_SHARED_LIBS=ON
CONFIGURE_FLAGS += -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)"
CONFIGURE_FLAGS += -DFFT_LIB=kissfft

ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
CONFIGURE_FLAGS += -DBUILD_TESTS=ON
CONFIGURE_FLAGS += -DGTEST_ROOT=/usr/src/googletest/googletest/
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(CONFIGURE_FLAGS)

execute_before_dh_installman:
	rst2man debian/fpcalc.rst > debian/fpcalc.1

override_dh_installchangelogs:
	dh_installchangelogs NEWS.txt