remove faac libmp4v2 from build
authorGood Guy <[email protected]>
Tue, 5 Jul 2016 15:54:14 +0000 (09:54 -0600)
committerGood Guy <[email protected]>
Tue, 5 Jul 2016 15:54:14 +0000 (09:54 -0600)
cinelerra-5.1/configure.ac
cinelerra-5.1/thirdparty/Makefile
cinelerra-5.1/thirdparty/src/faac.patch2 [new file with mode: 0644]

index 3d3faab6c49acc6357b4bbc7ca6f3cb013a594d1..8ca50be0cea40ba85d704083e068bfcc427274d5 100644 (file)
@@ -119,8 +119,7 @@ PKG_3RD([esound],[no],
 
 PKG_3RD([faac],[auto],
   [faac-1.28],
-  [ libfaac/.libs/libfaac.a \
-    common/mp4v2/libmp4v2.a ],
+  [ libfaac/.libs/libfaac.a ],
   [ include ])
 
 PKG_3RD([faad2],[auto],
index ee33fe8cb6f1f68136fc31d00096f443c41c1257..9a1ceee5c385ac375c4fb9af5ac8d6ca47aafe27 100644 (file)
@@ -103,7 +103,7 @@ esound.cfg_vars+= AUDIOFILE_LIBS="$(call ld_path,audiofile,libaudiofile/.libs)"
 esound.cfg_params= --enable-shared=no --with-pic
 esound.mak_vars+= CFLAGS="" 
 esound.ldflags=" -lm -lstdc++"
-faac.cfg_params= --enable-shared=no
+faac.cfg_params= --enable-shared=no --without-mp4v2
 faad2.cfg_params= --enable-shared=no
 fdk.cfg_vars= ./autogen.sh ;
 fdk.cfg_params= --enable-shared=no
diff --git a/cinelerra-5.1/thirdparty/src/faac.patch2 b/cinelerra-5.1/thirdparty/src/faac.patch2
new file mode 100644 (file)
index 0000000..5b8ec76
--- /dev/null
@@ -0,0 +1,24 @@
+--- faac-1.28.orig/configure.in        2009-02-04 17:55:38.000000000 -0700
++++ faac-1.28/configure.in     2016-07-05 09:30:08.119772898 -0600
+@@ -34,9 +34,9 @@
+                             external_mp4v2=no, -lstdc++),
+                external_mp4v2=no, [#include <mp4.h>])
+-if test x$external_mp4v2 = xyes; then
+-  AC_MSG_NOTICE([*** Building with external mp4v2 ***])
+-else
++# if test x$external_mp4v2 = xyes; then
++#  AC_MSG_NOTICE([*** Building with external mp4v2 ***])
++# else
+   if test x$WITHMP4V2 = xyes; then
+      AC_MSG_NOTICE([*** Building with internal mp4v2 ***])
+      AM_CONDITIONAL(WITH_MP4V2, true)
+@@ -44,7 +44,7 @@
+      MY_DEFINE(HAVE_LIBMP4V2)
+   else
+      AC_MSG_NOTICE([*** Building WITHOUT mp4v2 ***])
+-  fi
++#  fi
+ fi
+ dnl Check for DRM mode