upgrade 3 libraries
[goodguy/cinelerra.git] / cinelerra-5.1 / blds / rpm.bld
1 #!/bin/bash
2
3 #zypper install ffmpeg \
4 # libavc1394-devel libavcodec-devel libavdevice-devel libavfilter-devel \
5 # libavformat-devel libavresample-devel libavutil-devel libmp3lame-devel \
6 # libopus-devel libossp-uuid++16 libossp-uuid16 libossp-uuid_dce16 \
7 # libtwolame-devel libvpx-devel libwebp-devel libwebpdecoder2 libwebpextras0 \
8 # uuid-devel liblilv-0-devel suil-devel libmjpegutils-devel \
9 # libogg-devel libvorbis-devel libtheora-devel libXdmcp-devel
10
11 ( ./autogen.sh
12   CFLAGS="-DFFMPEG3 -I/usr/include/ffmpeg" ./configure \
13     --with-single-user --disable-static-build --without-thirdparty \
14     --without-video4linux2 --without-dvb --with-lv2=auto \
15     --without-libzmpeg --without-commercial \
16     --disable-x264 --disable-x265 --disable-openjpeg
17   make && make install ) 2>&1 | tee log
18 mv Makefile Makefile.cfg
19 cp Makefile.devel Makefile
20