summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2011-02-07 01:45:05 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-02-07 17:24:47 +0100
commit0c19765ba4289f0a1d53b7060095b65c42b9cda6 (patch)
treed1fa5cbfccfa2a4049f33e6fb739bd5eff5f5b30
parentc7bffc1d32e985a0663bce9ca9e13ee191962cf9 (diff)
Add gst-omapfb package
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/multimedia/Config.in1
-rw-r--r--package/multimedia/gst-omapfb/Config.in7
-rw-r--r--package/multimedia/gst-omapfb/gst-omapfb.mk19
3 files changed, 27 insertions, 0 deletions
diff --git a/package/multimedia/Config.in b/package/multimedia/Config.in
index cfc419033..69ad11360 100644
--- a/package/multimedia/Config.in
+++ b/package/multimedia/Config.in
@@ -8,6 +8,7 @@ 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-omapfb/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-omapfb/Config.in b/package/multimedia/gst-omapfb/Config.in
new file mode 100644
index 000000000..e603cb197
--- /dev/null
+++ b/package/multimedia/gst-omapfb/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_GST_OMAPFB
+ bool "gst-omapfb"
+ depends on BR2_PACKAGE_GSTREAMER && BR2_cortex_a8
+ help
+ GStreamer plug-in to use OMAP framebuffer.
+
+ http://github.com/felipec/gst-omapfb
diff --git a/package/multimedia/gst-omapfb/gst-omapfb.mk b/package/multimedia/gst-omapfb/gst-omapfb.mk
new file mode 100644
index 000000000..726ef83fe
--- /dev/null
+++ b/package/multimedia/gst-omapfb/gst-omapfb.mk
@@ -0,0 +1,19 @@
+GST_OMAPFB_VERSION=1.0
+GST_OMAPFB_SOURCE=gst-omapfb-$(GST_OMAPFB_VERSION).tar.gz
+GST_OMAPFB_SITE=http://gst-dsp.googlecode.com/files/
+
+define GST_OMAPFB_BUILD_CMDS
+ $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e
+endef
+
+define GST_OMAPFB_INSTALL_TARGET_CMDS
+ $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e DESTDIR=$(TARGET_DIR) install
+endef
+
+define GST_OMAPFB_UNINSTALL_TARGET_CMDS
+ $(RM) $(TARGET_DIR)/usr/lib/gstreamer-0.10/libgstomapfb.so
+endef
+
+GST_OMAPFB_DEPENDENCIES = gstreamer
+
+$(eval $(call GENTARGETS,package/multimedia,gst-omapfb))