build: Option to not build gst-renderer
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Tue, 13 Oct 2009 22:48:57 +0000 (01:48 +0300)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Mon, 19 Oct 2009 13:32:41 +0000 (16:32 +0300)
configure.ac
src/plugins/Makefile.am

index 7f00f44..3ccfa6a 100644 (file)
@@ -195,6 +195,11 @@ AC_ARG_ENABLE(external-plugin,
        [  --enable-external-plugin          build External plugin],,
         enable_external_plugin=yes)
 
+# Build GstRenderer plugin
+AC_ARG_ENABLE(gst-renderer-plugin,
+       [  --enable-gst-renderer_plugin          build Gstreamer Renderer plugin],,
+        enable_gst_renderer_plugin=yes)
+
 # Build Mediathek plugin
 AC_ARG_ENABLE(mediathek-plugin,
        [  --enable-mediathek-plugin          build Mediathek plugin],,
@@ -216,6 +221,7 @@ AM_CONDITIONAL([BUILD_TRACKER_PLUGIN],
 AM_CONDITIONAL([BUILD_MEDIATHEK_PLUGIN], [test "x$enable_mediathek_plugin" = "xyes"])
 AM_CONDITIONAL([BUILD_MEDIA_EXPORT_PLUGIN], [test "x$enable_media_export_plugin" = "xyes"])
 AM_CONDITIONAL([BUILD_EXTERNAL_PLUGIN], [test "x$enable_external_plugin" = "xyes"])
+AM_CONDITIONAL([BUILD_GST_RENDERER_PLUGIN], [test "x$enable_gst_renderer_plugin" = "xyes"])
 AM_CONDITIONAL([BUILD_GST_LAUNCH_PLUGIN], [test "x$enable_gst_launch_plugin" = "xyes"])
 
 # Gettext
index 4472416..f0528e8 100644 (file)
@@ -22,7 +22,7 @@ if BUILD_GST_LAUNCH_PLUGIN
 GST_LAUNCH_PLUGIN = gst-launch
 endif
 
-if BUILD_UI
+if BUILD_GST_RENDERER_PLUGIN
 GST_RENDERER = gst-renderer
 endif