summaryrefslogtreecommitdiffstats
path: root/contrib/libopus
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-07-18 13:42:25 -0700
committerBradley Sepos <[email protected]>2016-09-02 03:33:06 -0400
commitfb78eca4a49077c171ad78177c1615c205adc642 (patch)
treea74bd30ca1ab0f67e4a37c0c728273d87dc57635 /contrib/libopus
parente7a320cb6223a2389db025e8bd8001ee9ece9769 (diff)
contrib: Add opus audio encoder.
Remove: hb_audio_samplerate_get_best() Add: hb_audio_samplerate_is_supported() hb_audio_samplerate_find_closest() hb_audio_samplerate_get_sr_shift()
Diffstat (limited to 'contrib/libopus')
-rw-r--r--contrib/libopus/module.defs11
-rw-r--r--contrib/libopus/module.rules2
2 files changed, 13 insertions, 0 deletions
diff --git a/contrib/libopus/module.defs b/contrib/libopus/module.defs
new file mode 100644
index 000000000..7292f70bd
--- /dev/null
+++ b/contrib/libopus/module.defs
@@ -0,0 +1,11 @@
+$(eval $(call import.MODULE.defs,LIBOPUS,libopus))
+$(eval $(call import.CONTRIB.defs,LIBOPUS))
+
+LIBOPUS.FETCH.url = http://download.handbrake.fr/contrib/opus-1.1.3.tar.gz
+LIBOPUS.FETCH.url += http://downloads.xiph.org/releases/opus/opus-1.1.3.tar.gz
+LIBOPUS.FETCH.md5 = 32bbb6b557fe1b6066adc0ae1f08b629
+
+LIBOPUS.CONFIGURE.shared = --enable-shared=no
+LIBOPUS.CONFIGURE.extra = --disable-doc --disable-extra-programs
+
+LIBOPUS.CONFIGURE.bootstrap = rm -fr aclocal.m4 autom4te.cache configure; autoreconf -I m4 -fiv;
diff --git a/contrib/libopus/module.rules b/contrib/libopus/module.rules
new file mode 100644
index 000000000..3493eaf8f
--- /dev/null
+++ b/contrib/libopus/module.rules
@@ -0,0 +1,2 @@
+$(eval $(call import.MODULE.rules,LIBOPUS))
+$(eval $(call import.CONTRIB.rules,LIBOPUS))