[oe-commits] Ulf Samuelsson : Add support for AT91SAM9M10 VIdeo Decoder

git version control git at git.openembedded.org
Thu Jan 27 22:52:44 UTC 2011


Module: openembedded.git
Branch: ulf/linux-2.6.30-2011-01-16
Commit: 5d30a549b6b5520597b05e762ff34a8f06adcb25
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=5d30a549b6b5520597b05e762ff34a8f06adcb25

Author: Ulf Samuelsson <ulf.samuelsson at atmel.com>
Date:   Thu Jan 27 23:48:33 2011 +0100

Add support for AT91SAM9M10 VIdeo Decoder

---

 .../at91sam9m10-vdec/gst-plugin-on2-8170_1.0.bb    |   41 ++++++++++++++++
 recipes/at91sam9m10-vdec/on2-8170-libs_1.0.bb      |   49 ++++++++++++++++++++
 2 files changed, 90 insertions(+), 0 deletions(-)

diff --git a/recipes/at91sam9m10-vdec/gst-plugin-on2-8170_1.0.bb b/recipes/at91sam9m10-vdec/gst-plugin-on2-8170_1.0.bb
new file mode 100644
index 0000000..8010bd4
--- /dev/null
+++ b/recipes/at91sam9m10-vdec/gst-plugin-on2-8170_1.0.bb
@@ -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}
+}
diff --git a/recipes/at91sam9m10-vdec/on2-8170-libs_1.0.bb b/recipes/at91sam9m10-vdec/on2-8170-libs_1.0.bb
new file mode 100644
index 0000000..7fa95aa
--- /dev/null
+++ b/recipes/at91sam9m10-vdec/on2-8170-libs_1.0.bb
@@ -0,0 +1,49 @@
+# This is the support library for Hantro X170 video decoder.
+DESCRIPTION = "Library for Hantro X170 video decoder"
+SECTION = "libs"
+PRIORITY = "optional"
+
+COMPATIBLE_MACHINE = (at91sam9m10ekes|at91sam9m10g45ek)
+
+PR = "r1"
+PROVIDES += "hantro-libs"
+SRC_URI ="ftp://ftp.linux4sam.org/pub/demo/linux4sam_1.9/codec/on2-8170-libs-1.0.tar.gz"
+
+inherit autotools
+S = ${WORKDIR}/on2-8170-libs-${PV}
+
+FILES_${PN} = " \
+	${libdir}/*.so \
+	"
+
+FILES_${PN}-dev = " \
+	${libdir}/*.so \
+	${libdir}/*.a  \
+	${libdir}/*.la \
+	${includedir}/*.h  \
+	"
+
+
+SRC_URI_append = ""
+
+do_stage() {
+	oe_libinstall -s -a -C ${S}   libdwlx170   ${STAGING_LIBDIR}
+	oe_libinstall -s -a -C ${S}   libdecx170h  ${STAGING_LIBDIR}
+	oe_libinstall -s -a -C ${S}   libx170j     ${STAGING_LIBDIR}
+	oe_libinstall -s -a -C ${S}   libdecx170m2 ${STAGING_LIBDIR}
+	oe_libinstall -s -a -C ${S}   libdecx170m  ${STAGING_LIBDIR}
+	oe_libinstall -s -a -C ${S}   libdecx170p  ${STAGING_LIBDIR}
+	oe_libinstall -s -a -C ${S}   libdecx170v  ${STAGING_LIBDIR}
+	
+	install -m 0644 ${S}/*.h ${STAGING_INCDIR}/
+}
+
+do_install() {
+	oe_libinstall -s  -C ${S}  libdwlx170   ${D}/${libdir}/
+	oe_libinstall -s  -C ${S}  libdecx170h  ${D}/${libdir}/
+	oe_libinstall -s  -C ${S}  libx170j     ${D}/${libdir}/
+	oe_libinstall -s  -C ${S}  libdecx170m2 ${D}/${libdir}/
+	oe_libinstall -s  -C ${S}  libdecx170m  ${D}/${libdir}/
+	oe_libinstall -s  -C ${S}  libdecx170p  ${D}/${libdir}/
+	oe_libinstall -s  -C ${S}  libdecx170v  ${D}/${libdir}/
+}





More information about the Openembedded-commits mailing list