Add gst-omapfb package
authorFelipe Contreras <felipe.contreras@gmail.com>
Sun, 6 Feb 2011 23:45:05 +0000 (01:45 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 7 Feb 2011 16:24:47 +0000 (17:24 +0100)
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>
package/multimedia/Config.in
package/multimedia/gst-omapfb/Config.in [new file with mode: 0644]
package/multimedia/gst-omapfb/gst-omapfb.mk [new file with mode: 0644]

index cfc419033b72434bd4aa3a4fa897520cd981834c..69ad11360762d114f64eb8ec827f3aa344ccd7f1 100644 (file)
@@ -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 (file)
index 0000000..e603cb1
--- /dev/null
@@ -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 (file)
index 0000000..726ef83
--- /dev/null
@@ -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))