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

Contribs: add chromaprint

parent 0eb725b0
2ac03f80888d6c12dd05c20adc82e0f2c9e6bf5edc099d7c7b719b8cb353151fb04b78f5c7bca672d5fe8357a791e86fdea7b6952a0d64c346c079548ebfcd38 chromaprint-0.7.tar.gz
--- chromaprint/src/fft_lib_avfft.h 2012-09-05 20:05:36.000000000 +0200
+++ chromaprint.new/src/fft_lib_avfft.h 2013-04-05 17:21:56.830255210 +0200
@@ -23,6 +23,7 @@
#include <math.h>
extern "C" {
+#include <libavutil/mem.h>
#include <libavcodec/avcodec.h>
#include <libavcodec/avfft.h>
}
# chromaprint
CHROMAPRINT_VERSION := 0.7
CHROMAPRINT_URL := https://bitbucket.org/acoustid/chromaprint/downloads/chromaprint-$(CHROMAPRINT_VERSION).tar.gz
PKGS += chromaprint
ifeq ($(call need_pkg,"libchromaprint"),)
PKGS_FOUND += chromaprint
endif
$(TARBALLS)/chromaprint-$(CHROMAPRINT_VERSION).tar.gz:
$(call download,$(CHROMAPRINT_URL))
.sum-chromaprint: chromaprint-$(CHROMAPRINT_VERSION).tar.gz
chromaprint: chromaprint-$(CHROMAPRINT_VERSION).tar.gz .sum-chromaprint
$(UNPACK)
$(APPLY) $(SRC)/chromaprint/avutil.patch
$(MOVE)
.chromaprint: chromaprint 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