summaryrefslogtreecommitdiffstats
path: root/package/multimedia/gstreamer/gstreamer.mk
diff options
context:
space:
mode:
authorWill Newton <will.newton@gmail.com>2009-06-16 21:33:56 +0100
committerWill Newton <will.newton@gmail.com>2009-06-16 21:37:35 +0100
commit9310e12d5bbb5e10f899672980fb63bd24382bd1 (patch)
treeaa5eed79fde317cf03a9a3f74a9eee4cfc027eb2 /package/multimedia/gstreamer/gstreamer.mk
parent220dca451ef4b2f680ca35caacb29f6a6138068a (diff)
downloadbuildroot-novena-9310e12d5bbb5e10f899672980fb63bd24382bd1.tar.gz
buildroot-novena-9310e12d5bbb5e10f899672980fb63bd24382bd1.zip
gstreamer: Allow libxml2 dependency to be configured.
gstreamer uses libxml2 to support the plugin registry and pipeline load/save features. This change allows the user to build gstreamer without libxml2 which saves a large amount of space on the target. Closes #373. Signed-off-by: Will Newton <will.newton@gmail.com>
Diffstat (limited to 'package/multimedia/gstreamer/gstreamer.mk')
-rw-r--r--package/multimedia/gstreamer/gstreamer.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/package/multimedia/gstreamer/gstreamer.mk b/package/multimedia/gstreamer/gstreamer.mk
index 8b30209b7..821a23349 100644
--- a/package/multimedia/gstreamer/gstreamer.mk
+++ b/package/multimedia/gstreamer/gstreamer.mk
@@ -24,6 +24,14 @@ GSTREAMER_CONF_OPT = \
--disable-tests \
--disable-failing-tests
-GSTREAMER_DEPENDENCIES = libglib2 libxml2 host-pkgconfig
+GSTREAMER_DEPENDENCIES = libglib2 host-pkgconfig
+
+ifeq ($(BR2_PACKAGE_GSTREAMER_LIBXML2),y)
+GSTREAMER_DEPENDENCIES += libxml2
+else
+GSTREAMER_CONF_OPT += \
+ --disable-registry \
+ --disable-loadsave
+endif
$(eval $(call AUTOTARGETS,package/multimedia,gstreamer))