You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
452 B
20 lines
452 B
#!/bin/bash -x |
|
export PATH="$HOME/.new_local/bin:$HOME/gtk/inst/bin:$PATH" |
|
# go to script directory |
|
cd "${0%/*}" || exit |
|
|
|
git clone https://github.com/erikd/libsndfile.git |
|
|
|
cd libsndfile || exit |
|
|
|
mkdir build |
|
cd build || exit |
|
|
|
# TODO add libogg and libvorbis for actual audio support |
|
|
|
"$HOME"/gtk/inst/bin/cmake -DCMAKE_INSTALL_PREFIX:PATH="$HOME"/gtk/inst .. |
|
make -j8 |
|
make install |
|
|
|
# Fix linker flags |
|
cp portaudio-2.0.pc "$HOME"/gtk/inst/lib/pkgconfig
|
|
|