Patchwork [v5,11/11] gst-omx: add gst-omx package

login
register
mail settings
Submitter Spenser Gilliland
Date May 15, 2013, 7:52 p.m.
Message ID <1368647575-14377-12-git-send-email-spenser@gillilanding.com>
Download mbox | patch
Permalink /patch/244162/
State Superseded
Headers show

Comments

Spenser Gilliland - May 15, 2013, 7:52 p.m.
gst-omx enables OpenMAX based accelerated video decode.

Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
---
 package/multimedia/Config.in          |    1 +
 package/multimedia/gst-omx/Config.in  |   11 +++++++++++
 package/multimedia/gst-omx/gst-omx.mk |    9 +++++++++
 3 files changed, 21 insertions(+)
 create mode 100644 package/multimedia/gst-omx/Config.in
 create mode 100644 package/multimedia/gst-omx/gst-omx.mk

Patch

diff --git a/package/multimedia/Config.in b/package/multimedia/Config.in
index a0927e9..68dfa13 100644
--- a/package/multimedia/Config.in
+++ b/package/multimedia/Config.in
@@ -11,6 +11,7 @@  source "package/multimedia/gst-ffmpeg/Config.in"
 source "package/multimedia/gst-dsp/Config.in"
 source "package/multimedia/gst-fsl-plugins/Config.in"
 source "package/multimedia/gst-omapfb/Config.in"
+source "package/multimedia/gst-omx/Config.in"
 source "package/multimedia/gst-plugins-base/Config.in"
 source "package/multimedia/gst1-plugins-base/Config.in"
 source "package/multimedia/gst-plugins-good/Config.in"
diff --git a/package/multimedia/gst-omx/Config.in b/package/multimedia/gst-omx/Config.in
new file mode 100644
index 0000000..822ebe0
--- /dev/null
+++ b/package/multimedia/gst-omx/Config.in
@@ -0,0 +1,11 @@ 
+config BR2_PACKAGE_GST_OMX
+	bool "gst-omx"
+	depends on BR2_PACKAGE_GSTREAMER1 && (BR2_PACKAGE_BELLAGIO || BR2_PACKAGE_RPI_USERLAND)
+	select BR2_PACKAGE_GST1_PLUGINS_BASE
+	help
+	  GStreamer plug-in to use OpenMAX API.
+
+	  http://cgit.freedesktop.org/gstreamer/gst-omx
+
+comment "gst-omx requires a OpenMAX implementation please select rpi-userland or bellagio"
+	depends on BR2_PACKAGE_GSTREAMER1 && !(BR2_PACKAGE_BELLAGIO || BR2_PACKAGE_RPI_USERLAND)
diff --git a/package/multimedia/gst-omx/gst-omx.mk b/package/multimedia/gst-omx/gst-omx.mk
new file mode 100644
index 0000000..29d1c55
--- /dev/null
+++ b/package/multimedia/gst-omx/gst-omx.mk
@@ -0,0 +1,9 @@ 
+GST_OMX_VERSION=1.0.0
+GST_OMX_SOURCE=gst-omx-$(GST_OMX_VERSION).tar.xz
+GST_OMX_SITE=http://gstreamer.freedesktop.org/src/gst-omx/
+GST_OMX_DEPENDENCIES = gstreamer1 gst1-plugins-base
+GST_OMX_LICENSE = LGPLv2.1
+GST_OMX_LICENSE_FILE = COPYING
+GST_OMX_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))