diff options
author | Gregoire Gentil <gregoire@gentil.com> | 2009-04-28 15:26:03 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-04-28 15:26:03 +0200 |
commit | 015cd5d4278dc85881615495140b042e5d165fed (patch) | |
tree | 4922d77b896b24a08ca446cbc27765dd7d159986 /recipes/gstreamer/gst-omapfb_1.0.bb | |
parent | f37fe230b730c3ce9b1ad91dabf91882b0784010 (diff) |
gst-omapfb: add recipe to build gst sink for the omapfb overlay
Diffstat (limited to 'recipes/gstreamer/gst-omapfb_1.0.bb')
-rw-r--r-- | recipes/gstreamer/gst-omapfb_1.0.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/recipes/gstreamer/gst-omapfb_1.0.bb b/recipes/gstreamer/gst-omapfb_1.0.bb new file mode 100644 index 0000000000..f00ac7f523 --- /dev/null +++ b/recipes/gstreamer/gst-omapfb_1.0.bb @@ -0,0 +1,38 @@ +DESCRIPTION = "GST output sink for Omapfb" +LICENSE = "GPL" + +inherit autotools + +DEPENDS = "gstreamer virtual/libx11 virtual/kernel" + +SRCREV = "6f0b1cb50d1c67c3a3db2f11246256060ac871de" +PV = "0.0+${PR}+gitr${SRCREV}" + +SRC_URI = "git://github.com/felipec/${PN}.git;protocol=git \ + file://0001-Implement-XOverlay-and-I420-to-422-colorspace-conver.patch;patch=1" + +S ="${WORKDIR}/git" + +# We want a kernel header for armv7a, but we don't want to make gst-omapfb machine specific for that +STAGING_KERNEL_DIR = "${STAGING_DIR}/${MACHINE_ARCH}${TARGET_VENDOR}-${TARGET_OS}/kernel" + +EXTRA_OEMAKE = " KERNEL=${STAGING_KERNEL_DIR}" +CFLAGS += "-I${S}" + +TARGET_CC_ARCH += "${CFLAGS} ${LDFLAGS}" + +do_configure_prepend() { + install -d ${S}/linux + cp ${STAGING_KERNEL_DIR}/arch/arm/plat-omap/include/mach/omapfb.h ${S}/linux || true + cp ${STAGING_KERNEL_DIR}/include/asm-arm/arch-omap/omapfb.h ${S}/linux || true + cp ${STAGING_KERNEL_DIR}/include/linux/omapfb.h ${S}/linux || true + sed -e 's/__user//g' -i ${S}/linux/omapfb.h +} + +do_install() { + install -d ${D}${libdir}/gstreamer-0.10 + install -m 0755 libgstomapfb.so ${D}${libdir}/gstreamer-0.10 +} + +FILES_${PN} += "${libdir}/gstreamer-0.10/libgstomapfb.so" +FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug" |