File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,16 +35,10 @@ jobs:
3535 libvorbis-dev \
3636 portaudio19-dev
3737 - uses : actions/checkout@v5
38- - name : Create Build Environment
39- run : cmake -E make_directory ${{ github.workspace }}/build
40- - name : Configure CMake
41- working-directory : ${{ github.workspace }}/build
42- # Note the current convention is to use the -S and -B options here to
43- # specify source and build directories, but this is only available with
44- # CMake 3.13 and higher. The CMake binaries on the Github Actions
45- # machines are (as of this writing) 3.12
38+ - name : Configure
4639 run : >
47- cmake $GITHUB_WORKSPACE
40+ cmake
41+ -B ${{ github.workspace }}/build
4842 -DCMAKE_BUILD_TYPE=${{ matrix.build-type }}
4943 -DBUILD_TESTING=ON
5044 ${{ matrix.audio-backend }}
Original file line number Diff line number Diff line change @@ -41,16 +41,10 @@ jobs:
4141 with :
4242 languages : cpp
4343 queries : security-and-quality
44- - name : Create Build Environment
45- run : cmake -E make_directory ${{ github.workspace }}/build
46- - name : Configure CMake
47- working-directory : ${{ github.workspace }}/build
48- # Note the current convention is to use the -S and -B options here to
49- # specify source and build directories, but this is only available with
50- # CMake 3.13 and higher. The CMake binaries on the Github Actions
51- # machines are (as of this writing) 3.12
44+ - name : Configure
5245 run : >
53- cmake $GITHUB_WORKSPACE
46+ cmake
47+ -B ${{ github.workspace }}/build
5448 -DCMAKE_BUILD_TYPE=${{ matrix.build-type }}
5549 -DENABLE_ALSA=ON
5650 -DENABLE_PIPEWIRE=ON
Original file line number Diff line number Diff line change @@ -36,10 +36,29 @@ from the last 100 ms of captured audio.
3636
3737## Installation
3838
39+ ### Dependencies (Debian/Ubuntu)
40+
41+ ``` sh
42+ # Basic build tools and CMake
43+ sudo apt install build-essential cmake
44+ # Audio backends
45+ sudo apt install libasound2-dev libpipewire-0.3-dev portaudio19-dev
46+ # Output formats
47+ sudo apt install libmp3lame-dev libogg-dev libsndfile1-dev libopusenc-dev libvorbis-dev
48+ ```
49+
50+ ### Building
51+
3952``` sh
40- mkdir build && cd build
41- cmake .. \
53+ cmake -B build \
54+ -DCMAKE_BUILD_TYPE=Release \
4255 -DENABLE_ALSA=ON -DENABLE_PIPEWIRE=ON -DENABLE_PORTAUDIO=ON \
4356 -DENABLE_SNDFILE=ON -DENABLE_MP3LAME=ON -DENABLE_OPUS=ON -DENABLE_VORBIS=ON
44- make && make install
57+ cmake --build build
58+ ```
59+
60+ ### Installing
61+
62+ ``` sh
63+ sudo cmake --install build
4564```
You can’t perform that action at this time.
0 commit comments