summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2018-05-29 05:51:07 -0400
committerBradley Sepos <[email protected]>2018-05-29 05:51:07 -0400
commit4f2a33e550e941ffebebe0697cd362a977fdc2f6 (patch)
treebe8dda4e7903088e897c71225841d6fefdb8af13 /contrib
parent70e7bb5f55b3fca9e2cf21c1e087cb5c553fa4df (diff)
contrib: Add Speex decoder libspeex.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ffmpeg/module.defs5
-rw-r--r--contrib/libspeex/module.defs7
-rw-r--r--contrib/libspeex/module.rules2
3 files changed, 13 insertions, 1 deletions
diff --git a/contrib/ffmpeg/module.defs b/contrib/ffmpeg/module.defs
index f05afc6b4..e71f87209 100644
--- a/contrib/ffmpeg/module.defs
+++ b/contrib/ffmpeg/module.defs
@@ -1,4 +1,4 @@
-__deps__ := YASM BZIP2 ZLIB FDKAAC LIBVPX LAME LIBOPUS
+__deps__ := YASM BZIP2 ZLIB FDKAAC LIBVPX LAME LIBOPUS LIBSPEEX
ifeq (1,$(FEATURE.qsv))
__deps__ += LIBMFX
endif
@@ -47,6 +47,9 @@ FFMPEG.CONFIGURE.extra = \
--enable-encoder=libmp3lame \
--enable-libopus \
--enable-encoder=libopus \
+ --enable-libspeex \
+ --disable-encoder=libspeex \
+ --enable-decoder=libspeex \
--enable-libvpx \
--enable-encoder=libvpx_vp8 \
--disable-decoder=libvpx_vp8 \
diff --git a/contrib/libspeex/module.defs b/contrib/libspeex/module.defs
new file mode 100644
index 000000000..caca6f751
--- /dev/null
+++ b/contrib/libspeex/module.defs
@@ -0,0 +1,7 @@
+$(eval $(call import.MODULE.defs,LIBSPEEX,libspeex))
+$(eval $(call import.CONTRIB.defs,LIBSPEEX,libspeex))
+
+LIBSPEEX.FETCH.url = https://download.handbrake.fr/handbrake/contrib/speex-1.2.0.tar.gz
+LIBSPEEX.FETCH.url += https://downloads.us.xiph.org/releases/speex/speex-1.2.0.tar.gz
+LIBSPEEX.FETCH.sha256 = eaae8af0ac742dc7d542c9439ac72f1f385ce838392dc849cae4536af9210094
+LIBSPEEX.EXTRACT.tarbase = speex-1.2.0
diff --git a/contrib/libspeex/module.rules b/contrib/libspeex/module.rules
new file mode 100644
index 000000000..db28d46e1
--- /dev/null
+++ b/contrib/libspeex/module.rules
@@ -0,0 +1,2 @@
+$(eval $(call import.MODULE.rules,LIBSPEEX))
+$(eval $(call import.CONTRIB.rules,LIBSPEEX))