# SoXR SOXR_VERSION := 0.1.2 SOXR_URL := http://vorboss.dl.sourceforge.net/project/soxr/soxr-$(SOXR_VERSION)-Source.tar.xz ifeq ($(call need_pkg,"soxr >= 0.1"),) PKGS_FOUND += soxr endif DEPS_soxr = ffmpeg $(DEPS_ffmpeg) $(TARBALLS)/soxr-$(SOXR_VERSION)-Source.tar.xz: $(call download,$(SOXR_URL)) .sum-soxr: soxr-$(SOXR_VERSION)-Source.tar.xz soxr: soxr-$(SOXR_VERSION)-Source.tar.xz .sum-soxr $(UNPACK) $(APPLY) $(SRC)/soxr/0001-FindSIMD-add-arm-neon-detection.patch $(APPLY) $(SRC)/soxr/0002-cpu_has_simd-detect-neon-via-av_get_cpu_flags.patch $(APPLY) $(SRC)/soxr/0003-config-use-stdint.h-and-stdbool.h.patch $(MOVE) .soxr: soxr toolchain.cmake cd $< && $(HOSTVARS_PIC) $(CMAKE) \ -DBUILD_SHARED_LIBS=OFF \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_EXAMPLES=OFF \ -DBUILD_TESTS=OFF \ -DWITH_LSR_BINDINGS=OFF \ -DWITH_OPENMP=OFF \ -DWITH_AVFFT=ON \ -Wno-dev cd $< && $(MAKE) install touch $@