[Cin] [patch] Disable more things in thirdparty/Makefile
Andrew Randrianasulu
randrianasulu at gmail.com
Sat Mar 28 12:07:18 CET 2020
1) it disables building examples and tools in libaom - can disable tests too, but
they might be useful for regression hunting in tree?
2) disable some programs and docs building in opus.
3) disables unit testing/standalone enc/dec, examples and tools building in libvpx
(vp9 encoding and decoding of resulted file still works in Cin, tested)
applicable on top of commit e1e5dee5935f9f416a31014906a7e0dfacb10c02
diff --git a/cinelerra-5.1/thirdparty/Makefile b/cinelerra-5.1/thirdparty/Makefile
index e343f39a..bf8c73d2 100644
--- a/cinelerra-5.1/thirdparty/Makefile
+++ b/cinelerra-5.1/thirdparty/Makefile
@@ -199,7 +199,7 @@ lame.cfg_vars?= CFLAGS+=" -O"
lame.cfg_params?=--enable-shared=no
lame.mak_params?= ; cd $(call bld_path,lame,include); ln -sf . lame
libaom.cfg_vars?=$(call cmake_config,aom-master)
-libaom.cfg_params?= -DENABLE_SHARED=no -DCMAKE_INSTALL_LIBDIR=lib \
+libaom.cfg_params?= -DENABLE_SHARED=no -DENABLE_EXAMPLES=OFF -DENABLE_TOOLS=OFF -DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_PREFIX=$(call bld_path,libaom)/usr/local
libaom.mak_params?= ; $(MAKE) -C libaom* install
dav1d.cfg_vars?=echo "echo dav1d custom make" >> configure; chmod +x ./configure;
@@ -242,6 +242,7 @@ opencv.cfg_vars?=$(call cmake_config,.)
opencv.cfg_params?= -DBUILD_SHARED_LIBS:BOOL=OFF
openexr.cfg_vars?=true; \#
openexr.mak_vars?=true; \#
+opus.cfg_params?= --disable-doc --disable-extra-programs
speech_tools.mak_params?=-j1
tiff.cfg_vars+=LIBS+=" -lpthread"
tiff.cfg_params+= --enable-shared=no --disable-zstd $(call if_pkg,libwebp,\
@@ -251,7 +252,8 @@ twolame.cfg_params?=--enable-shared=no
x264.cfg_params?= --enable-static --enable-pic
x265.cfg_vars?=$(call cmake_config,source)
x265.cfg_params?= -DENABLE_SHARED=no
-libvpx.cfg_params?= --enable-pic
+libvpx.cfg_params?= --enable-pic --disable-unit-tests --disable-examples --disable-tools
+
DS:=$$$$$$$$
pkg_cfg=$(call bld_path,$(1),usr/local/lib/pkgconfig):
-------------- next part --------------
A non-text attachment was scrubbed...
Name: thirdparty_build_trim.diff
Type: text/x-diff
Size: 1527 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20200328/808ed802/attachment.bin>
More information about the Cin
mailing list