Skip to contentSkip to conversation

gstreamer1.0-plugins-dsp66: add gst plugin to dispatch tasks to C66x DSP

PATCH New Hongmei Gou 1 participant 1 message Aug 5, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gstreamer1.0-plugins-dsp66: add gst plugin to dispatch tasks to C66x DSP

---
 .../gstreamer1.0-plugins-dsp66_git.bb              | 43 ++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-dsp66_git.bb
meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-dsp66_git.bb new file +43 -0
new file mode 100644
index 0000000..6977a47
@@ -0,0 +1,43 @@
+DESCRIPTION = "GStreamer elements to use the TI DSP C66 in multimedia applications"
+HOMEPAGE = "https://git.ti.com/processor-sdk/gst-plugin-dsp66"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://COPYING;md5=2827f94fc0a1adeff4d9702e97ce2979"
+
+SRC_URI = "git://git.ti.com/processor-sdk/gst-plugin-dsp66.git;protocol=git;branch=master"
+SRCREV = "0db24f44b49ad673bcebce5d25a63ea41551ebec"
+
+S = "${WORKDIR}/git"
+
+COMPATIBLE_MACHINE = "dra7xx|keystone"
+
+DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base opencl ti-cgt6x-native clocl-native imglib-c66x vlib-c66x"
+
+inherit autotools-brokensep pkgconfig gettext
+
+PR = "r0"
+
+RDEPENDS_${PN} += " opencl-runtime"
+
+EXTRA_OEMAKE = " TARGET_ROOTDIR=${STAGING_DIR_HOST} \
+                 TI_OCL_CGT_INSTALL=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x \
+"
+
+do_configure() {
+	cd ${S}
+	chmod +x autogen.sh
+	./autogen.sh --host=arm-linux --with-libtool-sysroot=${STAGING_DIR_TARGET} --prefix=/usr
+}
+
+EXTRA_OECONF += "--enable-maintainer-mode"
+EXTRA_OEMAKE += "'ERROR_CFLAGS=-Wno-deprecated-declarations'"
+
+FILES_${PN} += "${libdir}/gstreamer-1.0/*.so"
+FILES_${PN}-dbg += "${libdir}/gstreamer-1.0/.debug"
+FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la"
+
+FILES_${PN} += "${libdir}/*.so"
+FILES_${PN}-dbg += "${libdir}/.debug"
+FILES_${PN}-dev += "${libdir}/*.la"
+FILES_SOLIBSDEV = ""
+
+INSANE_SKIP_${PN} = "ldflags"
Signature · 1 line
1.9.1