Commit df5ffba5 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix chromaprint dependencies

parent 9092ecbd
......@@ -3,7 +3,7 @@
CHROMAPRINT_VERSION := 0.7
CHROMAPRINT_URL := https://bitbucket.org/acoustid/chromaprint/downloads/chromaprint-$(CHROMAPRINT_VERSION).tar.gz
#PKGS += chromaprint
PKGS += chromaprint
ifeq ($(call need_pkg,"libchromaprint"),)
PKGS_FOUND += chromaprint
endif
......@@ -18,7 +18,9 @@ chromaprint: chromaprint-$(CHROMAPRINT_VERSION).tar.gz .sum-chromaprint
$(APPLY) $(SRC)/chromaprint/avutil.patch
$(MOVE)
.chromaprint: chromaprint toolchain.cmake
DEPS_chromaprint = ffmpeg $(DEPS_ffmpeg)
.chromaprint: chromaprint .ffmpeg toolchain.cmake
cd $< && $(HOSTVARS_PIC) $(CMAKE) -DBUILD_SHARED_LIBS:BOOL=OFF
cd $< && $(MAKE) install
touch $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment