Browse Source

- gstreamer: introduce debug flag

master
gixxpunk 7 years ago
parent
commit
f9b50bef00
  1. 22
      make/gstreamer.mk

22
make/gstreamer.mk

@ -1,5 +1,15 @@
# makefile to build gstreamer and all it's dependencies
# change to activate debug
GSTREAMER_DEBUG = no
GST_MAIN_CONFIG_DEBUG = --disable-gst-debug
GST_PLUGIN_CONFIG_DEBUG = --disable-debug
ifeq ($(GSTREAMER_DEBUG), yes)
GST_MAIN_CONFIG_DEBUG = --enable-gst-debug
GST_PLUGIN_CONFIG_DEBUG = --enable-debug
endif
#
# gstreamer
#
@ -19,14 +29,14 @@ $(D)/gstreamer: $(D)/libglib $(D)/libxml2 $(D)/glib_networking $(ARCHIVE)/$(GSTR
--libexecdir=/lib \
--datarootdir=/.remove \
--enable-silent-rules \
--disable-debug \
$(GST_PLUGIN_CONFIG_DEBUG) \
--disable-tests \
--disable-valgrind \
--disable-gst-tracer-hooks \
--disable-dependency-tracking \
--disable-examples \
--disable-check \
--disable-gst-debug \
$(GST_MAIN_CONFIG_DEBUG) \
--disable-benchmarks \
--disable-gtk-doc-html \
ac_cv_header_valgrind_valgrind_h=no \
@ -70,7 +80,7 @@ $(D)/gst_plugins_base: $(D)/zlib $(D)/libglib $(D)/orc $(D)/gstreamer $(D)/alsa_
--datarootdir=/.remove \
--enable-silent-rules \
--disable-valgrind \
--disable-debug \
$(GST_PLUGIN_CONFIG_DEBUG) \
--disable-examples \
--disable-gtk-doc-html \
; \
@ -134,7 +144,7 @@ $(D)/gst_plugins_good: $(D)/libpng $(D)/libjpeg $(D)/gstreamer $(D)/gst_plugins_
--datarootdir=/.remove \
--enable-silent-rules \
--disable-valgrind \
--disable-debug \
$(GST_PLUGIN_CONFIG_DEBUG) \
--disable-examples \
--disable-gtk-doc-html \
; \
@ -172,7 +182,7 @@ $(D)/gst_plugins_bad: $(D)/libass $(D)/libcurl $(D)/libxml2 $(D)/openssl $(D)/li
--datarootdir=/.remove \
--enable-silent-rules \
--disable-valgrind \
--disable-debug \
$(GST_PLUGIN_CONFIG_DEBUG) \
--disable-examples \
--disable-gtk-doc-html \
; \
@ -223,7 +233,7 @@ $(D)/gst_plugins_ugly: $(D)/gstreamer $(D)/gst_plugins_base $(ARCHIVE)/$(GST_PLU
--datarootdir=/.remove \
--enable-silent-rules \
--disable-valgrind \
--disable-debug \
$(GST_PLUGIN_CONFIG_DEBUG) \
--disable-examples \
--disable-gtk-doc-html \
; \

Loading…
Cancel
Save