Skip to content
Snippets Groups Projects
Commit 1a2c5fa2 authored by Vittorio Giovara's avatar Vittorio Giovara Committed by Tristan Matthews
Browse files

contrib: add opus rules

Based on VideoLan code by Rafaël Carré et al.
Refs: #46617

Change-Id: I1b15ed4e151920a031229f23cf25a99c7cbaa7c0
parent 545e293a
No related branches found
No related tags found
No related merge requests found
b603efe66d65ef38dbcd0d2bbf213a1d15fa456aee00eca73e99abe4ec78668ed82e661ca7a69e9af4e0bc39e1aa76c4151b7f9840ff621ddcfd69f596cf2ba9 opus-1.1.tar.gz
# OPUS
OPUS_VERSION := 1.1
OPUS_URL := http://downloads.xiph.org/releases/opus/opus-$(OPUS_VERSION).tar.gz
PKGS += opus
ifeq ($(call need_pkg,"opus >= 0.9.14"),)
PKGS_FOUND += opus
endif
$(TARBALLS)/opus-$(OPUS_VERSION).tar.gz:
$(call download,$(OPUS_URL))
.sum-opus: opus-$(OPUS_VERSION).tar.gz
opus: opus-$(OPUS_VERSION).tar.gz .sum-opus
$(UNPACK)
$(UPDATE_AUTOCONFIG)
$(MOVE)
OPUS_CONF=
ifndef HAVE_FPU
OPUS_CONF += --enable-fixed-point
endif
.opus: opus
cd $< && $(HOSTVARS) ./configure $(HOSTCONF) $(OPUS_CONF)
cd $< && $(MAKE) install
touch $@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment