no longer need ffmpeg patch0 which was for Termux
[goodguy/cinelerra.git] / cinelerra-5.1 / blds / bsd.bld
1 #!/usr/local/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
6 export CPLUS_INCLUDE_PATH=/usr/local/include:/usr/local/include/OpenEXR:/usr/local/include/Imath
7 export LIBRARY_PATH=/usr/local/lib
8 alias make=gmake
9 ( ./autogen.sh
10   BSD=1 CC=clang CXX=clang++ CFLAGS="-g -O2 " \
11   ./configure --with-single-user \
12     --disable-static-build --without-libzmpeg --disable-lame --disable-twolame \
13     --with-oss --without-alsa --without-firewire --without-dv --without-dvb \
14     --without-video4linux2 --without-xxf86vm --without-ladspa-build \
15     --without-commercial --without-thirdparty \
16     --without-shuttle --without-libdpx --without-shuttle-usb \
17     --without-x10tv --with-jobs=4 --without-wintv --with-clang
18    gmake
19    gmake install ) 2>&1 | tee log