[vlc-commits] Fix chromaprint dependencies

Jean-Baptiste Kempf git at videolan.org
Mon Apr 8 14:30:42 CEST 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Apr  8 14:03:28 2013 +0200| [df5ffba56f9f014a72290479506d38920316aaea] | committer: Jean-Baptiste Kempf

Fix chromaprint dependencies

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=df5ffba56f9f014a72290479506d38920316aaea
---

 contrib/src/chromaprint/rules.mak |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/contrib/src/chromaprint/rules.mak b/contrib/src/chromaprint/rules.mak
index 0d4c09f..fd0ee6a 100644
--- a/contrib/src/chromaprint/rules.mak
+++ b/contrib/src/chromaprint/rules.mak
@@ -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 $@



More information about the vlc-commits mailing list