[oe-commits] Koen Kooi : omapfbplay: add xv version with netsync option

git version control git at git.openembedded.org
Wed Jul 8 07:27:58 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: c01dca885928662046bd1eb67831452c786bbf11
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=c01dca885928662046bd1eb67831452c786bbf11

Author: Koen Kooi <koen at openembedded.org>
Date:   Wed Jul  8 09:25:51 2009 +0200

omapfbplay: add xv version with netsync option

---

 recipes/ffmpeg/omapfbplay-xv_git.bb |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/recipes/ffmpeg/omapfbplay-xv_git.bb b/recipes/ffmpeg/omapfbplay-xv_git.bb
new file mode 100644
index 0000000..81501bb
--- /dev/null
+++ b/recipes/ffmpeg/omapfbplay-xv_git.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = "Simple ffmpeg-based player that uses the omapfb overlays"
+DEPENDS = libxv "bzip2 lame ffmpeg virtual/kernel"
+LICENSE = "MIT"
+
+PV = "0.0+${PR}+gitr${SRCREV}"
+
+SRCREV = "e66bf25df1f1ff085e6db102b282d90e7ceff4bf"
+SRC_URI = "git://git.mansr.com/omapfbplay;protocol=git \
+"
+
+S = "${WORKDIR}/git"
+
+# We want a kernel header for armv7a, but we don't want to make mplayer machine specific for that
+STAGING_KERNEL_DIR = "${STAGING_DIR}/${MACHINE_ARCH}${TARGET_VENDOR}-${TARGET_OS}/kernel"
+
+CFLAGS += " -I. -I${STAGING_KERNEL_DIR}/include "
+
+do_compile() {
+	cp ${STAGING_KERNEL_DIR}/arch/arm/plat-omap/include/mach/omapfb.h ${S} || true
+	cp ${STAGING_KERNEL_DIR}/include/asm-arm/arch-omap/omapfb.h ${S} || true
+	cp ${STAGING_KERNEL_DIR}/include/linux/omapfb.h ${S} || true
+	oe_runmake XV=y NETSYNC=y -e
+}
+
+do_install() {
+	install -d ${D}/${bindir}
+	install -m 0755 ${S}/omapfbplay ${D}/${bindir}/omapfbplay-xv
+}





More information about the Openembedded-commits mailing list