Use precompiled libopus instead

This commit is contained in:
Lukas Herman
2020-02-23 23:50:57 -08:00
parent cdc4d7d55d
commit 599f0d555e
2 changed files with 12 additions and 10 deletions
+1 -9
View File
@@ -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
View File
@@ -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/*