Merge pull request #3141 from esfahanweb/fix-audiowaveform

try to fix audiowaveform for workspace
This commit is contained in:
Shao Yu-Lung (Allen) 2022-03-29 13:18:48 +08:00 committed by GitHub
commit e2e927d03d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 12 deletions

View File

@ -1421,18 +1421,16 @@ USER root
ARG INSTALL_AUDIOWAVEFORM=false ARG INSTALL_AUDIOWAVEFORM=false
RUN if [ ${INSTALL_AUDIOWAVEFORM} = true ]; then \ RUN if [ ${INSTALL_AUDIOWAVEFORM} = true ]; then \
apt-get -y install git wget make cmake gcc g++ libmad0-dev libid3tag0-dev libsndfile1-dev libgd-dev libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev \ apt-get -y install wget make cmake gcc g++ libmad0-dev libid3tag0-dev libsndfile1-dev libgd-dev libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev \
&& git clone https://github.com/bbc/audiowaveform.git \ && cd /tmp \
&& cd audiowaveform \ && git clone https://github.com/bbc/audiowaveform.git \
&& wget https://github.com/google/googletest/archive/release-1.10.0.tar.gz \ && cd audiowaveform \
&& tar xzf release-1.10.0.tar.gz \ && git clone --depth=1 https://github.com/google/googletest.git -b release-1.11.0 \
&& ln -s googletest-release-1.10.0/googletest googletest \ && mkdir build \
&& ln -s googletest-release-1.10.0/googlemock googlemock \ && cd build \
&& mkdir build \ && cmake .. \
&& cd build \ && make \
&& cmake .. \ && make install \
&& make \
&& make install \
;fi ;fi
##################################### #####################################