gst1-libav: Fix Makefile syntax error.
authorTed Hess <thess@kitschensync.net>
Sat, 2 Dec 2017 22:52:50 +0000 (17:52 -0500)
committerTed Hess <thess@kitschensync.net>
Sat, 2 Dec 2017 22:53:13 +0000 (17:53 -0500)
gstreamer1: Fix failures on buildbot mips platforms (accidently finds libunwind)

Signed-off-by: Ted Hess <thess@kitschensync.net>
multimedia/gst1-libav/Makefile
multimedia/gstreamer1/Makefile
multimedia/gstreamer1/patches/004-no-unwind.patch [new file with mode: 0644]

index 3cdc8d3316be3aebea5b682729b098cf4566161b..3fc109ade27ee37abc80b364ca889cf322074efe 100644 (file)
@@ -146,6 +146,7 @@ LIBAV_CONFIGURE_PROTOCOLS:=$(call FILTER_CONFIG,PROTOCOL,protocol,$(LIBAV_PROTOC
 
 CONFIGURE_ARGS += \
        --without-system-libav \
+       --with-libav-extra-configure=" \
        --disable-bsfs \
        --disable-programs \
        --disable-devices \
index 7d34f9448db594abd02c556fdd4c1dc1df9cbdaa..433139b1acdba1e89f41cf9cb18c013adf27b264 100644 (file)
@@ -121,6 +121,7 @@ CONFIGURE_ARGS += \
        --disable-examples \
        --disable-tests \
        --disable-valgrind \
+       --disable-gst-tracer-hooks \
        --without-libiconv-prefix \
        --without-libintl-prefix \
        --without-x \
diff --git a/multimedia/gstreamer1/patches/004-no-unwind.patch b/multimedia/gstreamer1/patches/004-no-unwind.patch
new file mode 100644 (file)
index 0000000..a9729f7
--- /dev/null
@@ -0,0 +1,23 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -826,20 +826,6 @@ if test "x$BUILD_EXAMPLES" = "xyes"; the
+ fi
+ AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes")
+-dnl libunwind is optionally used by the leaks tracer
+-PKG_CHECK_MODULES(UNWIND, libunwind, HAVE_UNWIND=yes, HAVE_UNWIND=no)
+-
+-dnl Check for backtrace() from libc
+-AC_CHECK_FUNC(backtrace, [
+-  AC_CHECK_HEADERS([execinfo.h], [
+-    AC_DEFINE(HAVE_BACKTRACE,1,[Have backtrace])
+-  ], [], [])
+-])
+-
+-if test "x$HAVE_UNWIND" = "xyes"; then
+-  AC_DEFINE(HAVE_UNWIND, 1, [libunwind available])
+-fi
+-
+ dnl building of unit test libraries
+ AC_ARG_ENABLE(check,
+   AS_HELP_STRING([--disable-check],[disable building unit test libraries]),