macOS Build

presentation
Andreas Butti 7 years ago
parent 62078236c2
commit b7815ece93
  1. 6
      mac-setup/build-sox.sh
  2. 22
      mac-setup/sox-pc.sh

@ -3,6 +3,11 @@ cd "${0%/*}"
export PATH="$HOME/.local/bin:$HOME/gtk/inst/bin:$PATH"
# Generation does not work... (really buggy with CMake, but does not work at all with automake on MingW)
# So do this manually...
./sox-pc.sh > $HOME/gtk/inst/lib/pkgconfig/sox.pc
git clone https://git.code.sf.net/p/sox/code sox-code
cd sox-code
@ -13,4 +18,3 @@ cd build
$HOME/gtk/inst/bin/cmake -DCMAKE_INSTALL_PREFIX:PATH=$HOME/gtk/inst ..
make -j8
make install

@ -0,0 +1,22 @@
echo "prefix="
echo "exec_prefix="
libdir1=`pwd`/sox-code/build/src
echo "libdir1=$libdir1"
libdir2=`pwd`/sox-code/build/libgsm
echo "libdir2=$libdir2"
libdir3=`pwd`/sox-code/build/lpc10
echo "libdir3=$libdir3"
incdir=`pwd`/sox-code/src
echo "includedir=$incdir"
echo ""
echo "Name: SoX"
echo "Description: Audio file format and effects library"
echo "Version: 14.4.2"
echo "URL: http://sox.sourceforge.net"
echo "Libs: -L\${libdir1} -L\${libdir2} -L\${libdir3} -llibsox -llpc10 -lgsm -lgomp"
echo "Libs.private: "
echo "Cflags: -I\${includedir}"
Loading…
Cancel
Save