summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/omapfbplay/omapfbplay.inc
diff options
context:
space:
mode:
authorRoger Monk <r-monk@ti.com>2012-05-10 15:18:27 +0100
committerDenys Dmytriyenko <denys@ti.com>2012-05-21 16:16:22 -0400
commita9eca3f6f9258cba5f30b9e9bbb0e31bc5da0d77 (patch)
tree70a885264218fe4c69bc291c38439b6761f2dc4f /recipes-graphics/omapfbplay/omapfbplay.inc
parentbe837d63a43e61b9a1d183daee0cbd4ffe8a4130 (diff)
downloadmeta-ti-a9eca3f6f9258cba5f30b9e9bbb0e31bc5da0d77.tar.gz
omapfbplay: import from OE classic + api tweak
Signed-off-by: Roger Monk <r-monk@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-graphics/omapfbplay/omapfbplay.inc')
-rw-r--r--recipes-graphics/omapfbplay/omapfbplay.inc33
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes-graphics/omapfbplay/omapfbplay.inc b/recipes-graphics/omapfbplay/omapfbplay.inc
new file mode 100644
index 00000000..77e23806
--- /dev/null
+++ b/recipes-graphics/omapfbplay/omapfbplay.inc
@@ -0,0 +1,33 @@
1DESCRIPTION = "Simple libav-based player that uses the omapfb overlays"
2DEPENDS = "bzip2 lame libav virtual/kernel"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://omapfbplay.c;beginline=2;endline=22;md5=05d3789ab362e6f4a9682e98100ea0fa"
5
6PV = "0.0+${PR}+gitr${SRCREV}"
7
8SRCREV = "34293052c5a2ae328eac6903512e6b4ce19b5639"
9SRC_URI = "git://git.mansr.com/omapfbplay;protocol=git \
10 file://omapfbplay-errorhandling.patch \
11 file://0001-omapfbplay-switch-CODEC_TYPE_VIDEO-to-AVMEDIA_TYPE_V.patch \
12 "
13
14S = "${WORKDIR}/git"
15
16# We want a kernel header for armv7a, but we don't want to make mplayer machine specific for that
17STAGING_KERNEL_DIR = "${STAGING_DIR}/${MACHINE_ARCH}${TARGET_VENDOR}-${TARGET_OS}/kernel"
18CFLAGS += " -I. -I${STAGING_KERNEL_DIR}/include "
19
20OMAPFBPLAYVARIANT ?= "${PN}"
21OMAPFBPLAYOPTS ?= "V4L2=y NETSYNC=y"
22
23do_compile() {
24 cp ${STAGING_KERNEL_DIR}/arch/arm/plat-omap/include/mach/omapfb.h ${S} || true
25 cp ${STAGING_KERNEL_DIR}/include/asm-arm/arch-omap/omapfb.h ${S} || true
26 cp ${STAGING_KERNEL_DIR}/include/linux/omapfb.h ${S} || true
27 oe_runmake ${TARGET_ARCH}=y ${OMAPFBPLAYOPTS} -e
28}
29
30do_install() {
31 install -d ${D}/${bindir}
32 install -m 0755 ${S}/omapfbplay ${D}/${bindir}/${OMAPFBPLAYVARIANT}
33}