xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Yet Another V4L2 Test Application"
2*4882a593SmuzhiyunLICENSE = "GPL-2.0-only"
3*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunSRC_URI = "git://git.ideasonboard.org/yavta.git;branch=master \
6*4882a593Smuzhiyun          "
7*4882a593SmuzhiyunSRCREV = "65f740aa1758531fd810339bc1b7d1d33666e28a"
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunPV = "0.0"
10*4882a593SmuzhiyunPR = "r2"
11*4882a593SmuzhiyunS = "${WORKDIR}/git"
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunEXTRA_OEMAKE = "-e MAKEFLAGS="
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun# The yavta sources include copies of the headers required to build in the
16*4882a593Smuzhiyun# include directory.  The Makefile uses CFLAGS to include these, but since
17*4882a593Smuzhiyun# we override the CFLAGS then we need to add this include path back in.
18*4882a593SmuzhiyunCFLAGS += "-I${S}/include"
19*4882a593Smuzhiyun
20*4882a593Smuzhiyundo_install() {
21*4882a593Smuzhiyun    install -d ${D}${bindir}
22*4882a593Smuzhiyun    install -m 0755 yavta ${D}${bindir}
23*4882a593Smuzhiyun}
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun
26