Merge pull request #835 from andreasb242/master

Windoes build working with portaudio
presentation
andreasb242 7 years ago committed by GitHub
commit 72b369bb34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      readme/WindowsBuild.md
  2. 2
      windows-setup/build-sox.sh
  3. 15
      windows-setup/sox-pc.sh

@ -52,8 +52,16 @@ pacman -S mingw-w64-x86_64-gtk3
```
### SOX / PortAudio
Build/Install portaudio with windows-setup/build-portaudio.sh
TODO SOX
Build/Install portaudio with
```bash
windows-setup/build-portaudio.sh
```
Build/Install sox with
```bash
windows-setup/build-sox.sh
```
**Read the comments in the .sh file - there are currently manual steps required! Help is welcome to automate it!**
## Get sources and build

@ -3,7 +3,7 @@
# go to script directory
cd "${0%/*}"
# Generation does not work...
# 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 > /mingw64/lib/pkgconfig/sox.pc

@ -1,15 +1,22 @@
echo "prefix="
echo "exec_prefix="
echo "libdir="
incdir=`pwd`/sox-code/src
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: "
echo "Version: 14.4.2"
echo "URL: http://sox.sourceforge.net"
echo "Libs: -L${libdir} -lsox"
echo "Libs: -L\${libdir1} -L\${libdir2} -L\${libdir3} -llibsox -llpc10 -lgsm -lgomp"
echo "Libs.private: "
echo "Cflags: -I\${includedir}"

Loading…
Cancel
Save