Skip to contentSkip to conversation

Add support for at91sam9m10 H/W video decoder

PATCH In review Ulf Samuelsson 2 participants 2 messages Jan 31, 2011 – Feb 18, 2011 Arm/Microchip (AT91) SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add support for at91sam9m10 H/W video decoder

---
 .../at91sam9m10-vdec/gst-plugin-on2-8170_1.0.bb    |   41 ++++++++
 recipes/at91sam9m10-vdec/on2-8170-libs_1.0.bb      |   49 ++++++++++
 recipes/images/x11-at91sam9m10-image.bb            |  102 ++++++++++++++++++++
 3 files changed, 192 insertions(+), 0 deletions(-)
 create mode 100644 recipes/at91sam9m10-vdec/gst-plugin-on2-8170_1.0.bb
 create mode 100644 recipes/at91sam9m10-vdec/on2-8170-libs_1.0.bb
 create mode 100644 recipes/images/x11-at91sam9m10-image.bb
recipes/at91sam9m10-vdec/gst-plugin-on2-8170_1.0.bb new file +41 -0
new file mode 100644
index 0000000..8010bd4
@@ -0,0 +1,41 @@
+# This is the support library for AT91SAM9M10 On2 8170 video decoder.
+DESCRIPTION = "Library for AT91SAM9M10 On2 8170 video decoder"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = ""
+
+COMPATIBLE_MACHINE = (at91sam9m10ekes|at91sam9m10g45ek)
+
+PR = "r1"
+
+DEPENDS = "glib-2.0 gstreamer on2-8170-libs"
+CFLAGS += "-I${STAGING_INCDIR}/glib-2.0 -I${STAGING_INCDIR}/gstreamer-0.10 -I${STAGING_INCDIR}/libxml2/"
+GST_MAJORMINOR=0.10
+PROVIDES += "gstx170"
+
+SRC_URI = "ftp://ftp.linux4sam.org/pub/demo/linux4sam_1.9/codec/gst-plugin-x170-${PV}.tar.gz"
+S = ${WORKDIR}/gst-plugin-x170-${PV}
+
+inherit autotools
+
+FILES_${PN} = " \
+	${libdir}/gstreamer-${GST_MAJORMINOR}/*.so \
+	"
+
+FILES_${PN}-dev = " \
+	${libdir}/gstreamer-${GST_MAJORMINOR}/*.so \
+	${libdir}/gstreamer-${GST_MAJORMINOR}/*.a \
+	${libdir}/gstreamer-${GST_MAJORMINOR}/*.la \
+	"
+
+do_stage() {
+	echo staging ...
+	oe_libinstall -s -a -C ${S}/src/.libs libgstx170   ${STAGING_LIBDIR}
+	install -m 0644  ${S}/src/gstx170.h  ${STAGING_INCDIR}/
+}
+
+do_install() {
+	echo install ...
+	install -d ${D}/${libdir}/gstreamer-${GST_MAJORMINOR}
+	oe_libinstall -s -C ${S}/src/.libs/ libgstx170   ${D}/${libdir}/gstreamer-${GST_MAJORMINOR}
+}
recipes/at91sam9m10-vdec/on2-8170-libs_1.0.bb new file +49 -0

49 lines not on this page · raw message

recipes/images/x11-at91sam9m10-image.bb new file +102 -0

102 lines not on this page · raw message

Signature · 1 line
1.6.3.3
#1 lore raw
Quoted 1 line · Ulf Samuelsson

+LICENSE = ""

I'm not sure that's valid.
Not having a license means you can't even redistribute the package. Is it the case?

Denis.