From 6854cb49f8f673cb5700d52e8a133dcdde78c702 Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Mon, 7 Feb 2011 01:45:03 +0200 Subject: [PATCH] Add gst-dsp package [Peter: add tidsp-binaries to _DEPENDENCIES] Signed-off-by: Felipe Contreras Acked-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/multimedia/Config.in | 1 + package/multimedia/gst-dsp/Config.in | 8 ++++++++ package/multimedia/gst-dsp/gst-dsp.mk | 19 +++++++++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 package/multimedia/gst-dsp/Config.in create mode 100644 package/multimedia/gst-dsp/gst-dsp.mk diff --git a/package/multimedia/Config.in b/package/multimedia/Config.in index 415e6adcac..cfc419033b 100644 --- a/package/multimedia/Config.in +++ b/package/multimedia/Config.in @@ -7,6 +7,7 @@ source "package/multimedia/flac/Config.in" source "package/multimedia/ffmpeg/Config.in" source "package/multimedia/gstreamer/Config.in" source "package/multimedia/gst-ffmpeg/Config.in" +source "package/multimedia/gst-dsp/Config.in" source "package/multimedia/gst-plugins-base/Config.in" source "package/multimedia/gst-plugins-good/Config.in" source "package/multimedia/gst-plugins-bad/Config.in" diff --git a/package/multimedia/gst-dsp/Config.in b/package/multimedia/gst-dsp/Config.in new file mode 100644 index 0000000000..590931af76 --- /dev/null +++ b/package/multimedia/gst-dsp/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_GST_DSP + bool "gst-dsp" + depends on BR2_PACKAGE_GSTREAMER && BR2_cortex_a8 + select BR2_PACKAGE_TIDSP_BINARIES + help + GStreamer plug-in to access TI OMAP3 DSP algorithms. + + http://code.google.com/p/gst-dsp/ diff --git a/package/multimedia/gst-dsp/gst-dsp.mk b/package/multimedia/gst-dsp/gst-dsp.mk new file mode 100644 index 0000000000..f55f5109a0 --- /dev/null +++ b/package/multimedia/gst-dsp/gst-dsp.mk @@ -0,0 +1,19 @@ +GST_DSP_VERSION=0.8.0 +GST_DSP_SOURCE=gst-dsp-$(GST_DSP_VERSION).tar.gz +GST_DSP_SITE=http://gst-dsp.googlecode.com/files/ + +define GST_DSP_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e +endef + +define GST_DSP_INSTALL_TARGET_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e DESTDIR=$(TARGET_DIR) install +endef + +define GST_DSP_UNINSTALL_TARGET_CMDS + $(RM) $(TARGET_DIR)/usr/lib/gstreamer-0.10/libgstdsp.so +endef + +GST_DSP_DEPENDENCIES = gstreamer tidsp-binaries + +$(eval $(call GENTARGETS,package/multimedia,gst-dsp))