vgmstream/make-build-cmake.sh

19 lines
585 B
Bash
Raw Permalink Normal View History

2021-09-04 20:24:50 +02:00
#!/bin/sh
# example script that builds vgmstream with most libs enabled using CMake + make
2021-10-08 22:24:51 +02:00
sudo apt-get -y update
# base deps
2021-09-04 20:24:50 +02:00
sudo apt-get install gcc g++ make build-essential git cmake
2021-10-08 22:24:51 +02:00
# optional: for extra formats (can be ommited to build with static libs)
sudo apt-get install libmpg123-dev libvorbis-dev libspeex-dev
sudo apt-get install libavformat-dev libavcodec-dev libavutil-dev libswresample-dev
sudo apt-get install yasm libopus-dev
# optional: for vgmstream 123 and audacious
sudo apt-get install -y libao-dev audacious-dev
2021-09-04 20:24:50 +02:00
mkdir -p build
cd build
cmake -S .. -B .
make