DESCRIPTION = "Test applications for video and graphics interface"
HOMEPAGE = "https://git.ti.com/sitara-linux/video-graphics-test"
SECTION = "multimedia"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c7ca707704d3354a64feeb4f19f52eb5"

DEPENDS += "libdrm ti-gc320-libs cmem qtdeclarative"

PR = "r2"

BRANCH = "master"
SRCREV = "54ec5ff165413d41d32bb2672e127487ee37a82b"

SRC_URI = "git://git.ti.com/sitara-linux/video-graphics-test.git;protocol=git;branch=${BRANCH} \
"

S = "${WORKDIR}/git"

inherit qt-provider

export SDK_PATH_TARGET='${STAGING_DIR_HOST}'

# use the make targets already created in the Makefile.build files
do_install() {
    install -d ${D}/usr/bin
    install video_graphics_test ${D}/usr/bin/video-graphics-test
}

CREATE_SRCIPK = "1"
SRCIPK_INSTALL_DIR = "example-applications/${PN}-${PV}"

DESCRIPTION = "Test applications for video and graphics interface"
HOMEPAGE = "https://git.ti.com/sitara-linux/video-graphics-test"
SECTION = "multimedia"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c7ca707704d3354a64feeb4f19f52eb5"

DEPENDS += "libdrm ti-gc320-libs cmem qtdeclarative"

PR = "r2"

BRANCH = "master"
SRCREV = "2db3848cd1047e688ea0a94a987e35a292bcbda9"

SRC_URI = "git://git.ti.com/sitara-linux/video-graphics-test.git;protocol=git;branch=${BRANCH} \
"

S = "${WORKDIR}/git"

inherit qt-provider

export SDK_PATH_TARGET='${STAGING_DIR_HOST}'

# use the make targets already created in the Makefile.build files
do_install() {
    install -d ${D}/usr/bin
    install video_graphics_test ${D}/usr/bin/video-graphics-test
}

CREATE_SRCIPK = "1"
SRCIPK_INSTALL_DIR = "example-applications/${PN}-${PV}"

Bump SRCREV to latest commit
video-graphics-test: Bump SRCREV to latest commit

Updated the recipe to use the latest git commit. The video-graphics-test
application is enhanced to demonstrate GC320 usage for scaling, rotation
and composition/overlaying features. Previously, the application only
demonstrated the rotation feature.

Signed-off-by: Krunal Bhargav <d1d0775ffa2918360892cc31f7143c97c9c3a9b8@ti.com>
Signed-off-by: Jacob Stiffler <0ec61db87821c27ca8ee6f3e24c6f93fdbb785d4@ti.com>
