From c198660d419f3fd5508b92ab87ab1b1f748f4502 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Thu, 12 Nov 2009 23:33:14 +0100 Subject: Fix gst-plugins-bad dependency on libcdaudio Signed-off-by: Lionel Landwerlin Signed-off-by: Peter Korsgaard --- package/multimedia/gst-plugins-bad/Config.in | 4 ++++ package/multimedia/gst-plugins-bad/gst-plugins-bad.mk | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/package/multimedia/gst-plugins-bad/Config.in b/package/multimedia/gst-plugins-bad/Config.in index 66335a85c..6c5e44895 100644 --- a/package/multimedia/gst-plugins-bad/Config.in +++ b/package/multimedia/gst-plugins-bad/Config.in @@ -36,6 +36,10 @@ config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_LEGACYRESAMPLE config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_BAYER bool "bayer" +config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_CDAUDIO + bool "cdaudio" + select BR2_PACKAGE_LIBCDAUDIO + config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_CDXAPARSE bool "cdxaparse" diff --git a/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk b/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk index bd5b63334..ee7003c8d 100644 --- a/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk +++ b/package/multimedia/gst-plugins-bad/gst-plugins-bad.mk @@ -69,6 +69,13 @@ else GST_PLUGINS_BAD_CONF_OPT += --disable-cdxaparse endif +ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_CDAUDIO),y) +GST_PLUGINS_BAD_CONF_OPT += --enable-cdaudio +GST_PLUGINS_BAD_DEPENDENCIES += libcdaudio +else +GST_PLUGINS_BAD_CONF_OPT += --disable-cdaudio +endif + ifeq ($(BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_DCCP),y) GST_PLUGINS_BAD_CONF_OPT += --enable-dccp else -- cgit v1.2.3