Credit Andrew - fix vorbis audio which was scratchy and ensure aging plugin does...
[goodguy/cinelerra.git] / cinelerra-5.1 / blds / netbsd.bld
1 #!/bin/bash
2 #use: patch -p2 < bsd.patch
3 export CONFIG_SHELL=/bin/bash
4 export MAKE=gmake
5 export C_INCLUDE_PATH=/usr/local/include:/usr/X11R7/include:/usr/pkg/include:/usr/pkg/include/ffmpeg4
6 export CPLUS_INCLUDE_PATH=/usr/local/include
7 export LIBRARY_PATH=/usr/local/lib
8 export LDFLAGS="-L/usr/X11R7/lib -L/usr/pkg/lib"
9 export CFLAGS="-I/usr/pkg/include -I/usr/pkg/include/ffmpeg4 -pthread -I/usr/pkg/include -I/usr/pkg/include/OpenEXR -I/usr/pkg/include -I/usr/pkg/include/Imath"
10
11 alias make=gmake
12 ( ./autogen.sh
13   BSD=1 CC=gcc CXX=g++ CFLAGS="-g -fpermissive -O2 -DFFMPEG3" \
14   ./configure --with-single-user \
15     --disable-static-build --without-lv2 --disable-lame --disable-twolame \
16     --with-oss --without-alsa --without-firewire --without-dv --without-dvb \
17     --without-video4linux2 --without-xxf86vm --without-ladspa-build \
18     --without-libzmpeg --without-commercial --without-thirdparty \
19     --without-vaapi --without-openexr --with-jobs=4 --without-vdpau --without-shuttle --without-shuttle-usb \
20     --without-x10tv --without-wintv
21    gmake
22    gmake install ) 2>&1 | tee log