mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-21 23:55:13 -05:00
Revert "Remove codec2 from Appveyor and Travis builds"
This reverts commit 3d23d4023f
.
This commit is contained in:
parent
3d23d4023f
commit
c8b691c3dd
@ -87,7 +87,7 @@ for:
|
|||||||
libqt5charts5-dev libqt5texttospeech5-dev libfaad-dev zlib1g-dev \
|
libqt5charts5-dev libqt5texttospeech5-dev libfaad-dev zlib1g-dev \
|
||||||
libusb-1.0-0-dev libhidapi-dev libboost-all-dev libasound2-dev libopencv-dev libopencv-imgcodecs-dev \
|
libusb-1.0-0-dev libhidapi-dev libboost-all-dev libasound2-dev libopencv-dev libopencv-imgcodecs-dev \
|
||||||
libxml2-dev bison flex ffmpeg libpostproc-dev libavcodec-dev libavformat-dev \
|
libxml2-dev bison flex ffmpeg libpostproc-dev libavcodec-dev libavformat-dev \
|
||||||
libopus-dev libairspy-dev libhackrf-dev \
|
libopus-dev libcodec2-dev libairspy-dev libhackrf-dev \
|
||||||
libbladerf-dev libsoapysdr-dev libiio-dev libuhd-dev \
|
libbladerf-dev libsoapysdr-dev libiio-dev libuhd-dev \
|
||||||
python3-mako python3-cheetah python3-numpy \
|
python3-mako python3-cheetah python3-numpy \
|
||||||
autoconf automake libtool ninja-build libclang1-11
|
autoconf automake libtool ninja-build libclang1-11
|
||||||
|
@ -70,6 +70,8 @@ install:
|
|||||||
# macOS 10.11 doesn't support newest Qt
|
# macOS 10.11 doesn't support newest Qt
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then if [[ "$TRAVIS_OSX_IMAGE" == "xcode7.3" ]]; then sudo port -N -k install qt59-qtmultimedia qt59-qttools; else sudo port -N -k install qt5-qtmultimedia qt5-qttools; fi; fi
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then if [[ "$TRAVIS_OSX_IMAGE" == "xcode7.3" ]]; then sudo port -N -k install qt59-qtmultimedia qt59-qttools; else sudo port -N -k install qt5-qtmultimedia qt5-qttools; fi; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source macports-ci ccache --save; fi
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source macports-ci ccache --save; fi
|
||||||
|
# use codec2 from repository
|
||||||
|
#- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ ! "${CMAKE_CUSTOM_OPTIONS}" =~ "ENABLE_EXTERNAL_LIBRARIES=ON" ]]; then bash cmake/ci/build_codec2.sh; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ ! "${CMAKE_CUSTOM_OPTIONS}" =~ "ENABLE_EXTERNAL_LIBRARIES=ON" ]]; then bash cmake/ci/build_cm256cc.sh; fi
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ ! "${CMAKE_CUSTOM_OPTIONS}" =~ "ENABLE_EXTERNAL_LIBRARIES=ON" ]]; then bash cmake/ci/build_cm256cc.sh; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ ! "${CMAKE_CUSTOM_OPTIONS}" =~ "ENABLE_EXTERNAL_LIBRARIES=ON" ]]; then bash cmake/ci/build_mbelib.sh; fi
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ ! "${CMAKE_CUSTOM_OPTIONS}" =~ "ENABLE_EXTERNAL_LIBRARIES=ON" ]]; then bash cmake/ci/build_mbelib.sh; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ ! "${CMAKE_CUSTOM_OPTIONS}" =~ "ENABLE_EXTERNAL_LIBRARIES=ON" ]]; then bash cmake/ci/build_serialdv.sh; fi
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ ! "${CMAKE_CUSTOM_OPTIONS}" =~ "ENABLE_EXTERNAL_LIBRARIES=ON" ]]; then bash cmake/ci/build_serialdv.sh; fi
|
||||||
|
16
cmake/ci/build_codec2.sh
Normal file
16
cmake/ci/build_codec2.sh
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
sudo apt-get -y install libsamplerate0-dev libspeex-dev libspeexdsp-dev
|
||||||
|
|
||||||
|
cd $HOME
|
||||||
|
mkdir -p external && cd external
|
||||||
|
mkdir -p drowe67 && cd drowe67
|
||||||
|
|
||||||
|
git clone https://github.com/drowe67/codec2.git
|
||||||
|
|
||||||
|
cd codec2
|
||||||
|
git reset --hard "v1.0.3"
|
||||||
|
mkdir -p build && cd build
|
||||||
|
cmake ..
|
||||||
|
sudo make install
|
||||||
|
sudo ldconfig
|
Loading…
Reference in New Issue
Block a user