summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/omapfbplay/omapfbplay.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/omapfbplay/omapfbplay.inc')
-rw-r--r--recipes-graphics/omapfbplay/omapfbplay.inc37
1 files changed, 0 insertions, 37 deletions
diff --git a/recipes-graphics/omapfbplay/omapfbplay.inc b/recipes-graphics/omapfbplay/omapfbplay.inc
deleted file mode 100644
index 744eb8f7..00000000
--- a/recipes-graphics/omapfbplay/omapfbplay.inc
+++ /dev/null
@@ -1,37 +0,0 @@
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
16PACKAGE_ARCH = "${MACHINE_ARCH}"
17COMPATIBLE_HOST ?= "null"
18COMPATIBLE_HOST_ti-soc = "(.*)"
19
20# We want a kernel header for armv7a, but we don't want to make mplayer machine specific for that
21STAGING_KERNEL_DIR = "${STAGING_DIR}/${MACHINE_ARCH}${TARGET_VENDOR}-${TARGET_OS}/kernel"
22CFLAGS += " -I. -I${STAGING_KERNEL_DIR}/include "
23
24OMAPFBPLAYVARIANT ?= "${PN}"
25OMAPFBPLAYOPTS ?= "V4L2=y NETSYNC=y"
26
27do_compile() {
28 cp ${STAGING_KERNEL_DIR}/arch/arm/plat-omap/include/mach/omapfb.h ${S} || true
29 cp ${STAGING_KERNEL_DIR}/include/asm-arm/arch-omap/omapfb.h ${S} || true
30 cp ${STAGING_KERNEL_DIR}/include/linux/omapfb.h ${S} || true
31 oe_runmake ${TARGET_ARCH}=y ${OMAPFBPLAYOPTS} -e
32}
33
34do_install() {
35 install -d ${D}/${bindir}
36 install -m 0755 ${S}/omapfbplay ${D}/${bindir}/${OMAPFBPLAYVARIANT}
37}