]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/meta-ti-glsdk.git/blob - recipes-graphics/omapfbplay/omapfbplay.inc
linux-ti33x-psp 3.2: switch ADC to 16x averaging, disable 275MHz, add 4.3" LCD support
[glsdk/meta-ti-glsdk.git] / recipes-graphics / omapfbplay / omapfbplay.inc
1 DESCRIPTION = "Simple libav-based player that uses the omapfb overlays"
2 DEPENDS = "bzip2 lame libav virtual/kernel"
3 LICENSE = "MIT"
4 LIC_FILES_CHKSUM = "file://omapfbplay.c;beginline=2;endline=22;md5=05d3789ab362e6f4a9682e98100ea0fa"
6 PV = "0.0+${PR}+gitr${SRCREV}"
8 SRCREV = "34293052c5a2ae328eac6903512e6b4ce19b5639"
9 SRC_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           "
14 S = "${WORKDIR}/git"
16 # We want a kernel header for armv7a, but we don't want to make mplayer machine specific for that
17 STAGING_KERNEL_DIR = "${STAGING_DIR}/${MACHINE_ARCH}${TARGET_VENDOR}-${TARGET_OS}/kernel"
18 CFLAGS += " -I. -I${STAGING_KERNEL_DIR}/include "
20 OMAPFBPLAYVARIANT ?= "${PN}"
21 OMAPFBPLAYOPTS ?= "V4L2=y NETSYNC=y"
23 do_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 }
30 do_install() {
31         install -d ${D}/${bindir}
32         install -m 0755 ${S}/omapfbplay ${D}/${bindir}/${OMAPFBPLAYVARIANT}
33 }