mirror of
https://github.com/pion/mediadevices.git
synced 2026-04-22 15:57:27 +08:00
Use precompiled libopus instead
This commit is contained in:
@@ -33,15 +33,7 @@ extension: <file_extension_that_will_be_downloaded>
|
||||
protocol: 'http'
|
||||
cmd: <command_how_to_install>
|
||||
'''
|
||||
DEPENDENCIES = [
|
||||
{
|
||||
'name': 'opus',
|
||||
'url': 'https://archive.mozilla.org/pub/opus/opus-1.3.1.tar.gz',
|
||||
'extension': 'tar.gz',
|
||||
'protocol': 'http',
|
||||
'cmd': f'./configure --host={TOOLCHAIN} && make && make install'
|
||||
}
|
||||
]
|
||||
DEPENDENCIES = []
|
||||
ROOT_DIR = '/tmp'
|
||||
|
||||
|
||||
|
||||
+11
-1
@@ -14,7 +14,17 @@ ENV PYTHONUNBUFFERED=1 \
|
||||
|
||||
COPY scripts /usr/bin/
|
||||
|
||||
RUN dnf install -y python3 diffutils make pkg-config mingw64-gcc mingw64-gcc-c++ nasm wine golang && \
|
||||
RUN dnf install -y \
|
||||
python3 \
|
||||
diffutils \
|
||||
make \
|
||||
pkg-config \
|
||||
mingw64-gcc \
|
||||
mingw64-gcc-c++ \
|
||||
nasm \
|
||||
wine \
|
||||
golang \
|
||||
mingw64-opus && \
|
||||
dnf clean all && \
|
||||
install-dependencies && \
|
||||
rm -rf /tmp/*
|
||||
|
||||
Reference in New Issue
Block a user