add plugin(streamtvplayer)
[vuplus_openembedded] / recipes / ti / ti-dvsdk-demos.inc
1 DESCRIPTION = "DVSDK Demo applications for TI ARM/DSP processors"
2
3 DEPENDS += "ti-dmai"
4 DEPENDS += "alsa-lib libpng freetype jpeg"
5
6 SRC_URI = "${BASE_SRC_URI}/dvsdk_demos_${PV}.tar.gz "
7
8 S = "${WORKDIR}/dvsdk_demos_${PV}"
9
10 inherit module-base
11 require ti-multimedia-common.inc
12
13 # Should go into machine config
14 TARGET           ?= "all"
15 TARGET_dm355 ?= "dm355"
16 TARGET_dm365-evm ?= "dm365"
17
18 VERBOSE = "true"
19
20 do_compile () {
21         cd ${S}
22         make -e clean
23         make -e ${PLATFORM}
24 }
25 do_install () {
26         cd ${S}
27         make -e ${TARGET} EXEC_DIR=${D}/${installdir}/dvsdk-demos install
28 }
29
30 PACKAGE_ARCH = "${MACHINE_ARCH}"
31
32 RDEPENDS_ti-dvsdk-demos_dm355 += "ti-dm355mm-module ti-linuxutils alsa-lib libpng freetype jpeg"
33 RDEPENDS_ti-dvsdk-demos_dm365-evm += "ti-dm365mm-module ti-linuxutils alsa-lib libpng freetype jpeg"
34
35 FILES_${PN} = "${installdir}/dvsdk-demos/*"
36
37
38 BASE_SRC_URI ?= "http://install.source.dir.local"
39
40 INHIBIT_PACKAGE_STRIP = "1"
41 INSANE_SKIP_${PN} = "True"