From a6d0aa94fea8128af6b1c2853bb1a2b1d6bfb6f4 Mon Sep 17 00:00:00 2001 From: Chase Maupin Date: Thu, 30 Sep 2010 08:12:03 +0000 Subject: matrix-gui-common: make versioned recipes * Abstracted common code to .inc file * Made versioned recipe for version 1.1 and 1.2 * Removed the _svn version of the recipe. Signed-off-by: Chase Maupin Signed-off-by: Denys Dmytriyenko --- recipes/ti/matrix-gui-common.inc | 35 +++++++++++++++++++++++++++++++++++ recipes/ti/matrix-gui-common_1.1.bb | 7 +++++++ recipes/ti/matrix-gui-common_1.2.bb | 5 +++++ recipes/ti/matrix-gui-common_svn.bb | 37 ------------------------------------- 4 files changed, 47 insertions(+), 37 deletions(-) create mode 100644 recipes/ti/matrix-gui-common.inc create mode 100644 recipes/ti/matrix-gui-common_1.1.bb create mode 100644 recipes/ti/matrix-gui-common_1.2.bb delete mode 100644 recipes/ti/matrix-gui-common_svn.bb (limited to 'recipes/ti') diff --git a/recipes/ti/matrix-gui-common.inc b/recipes/ti/matrix-gui-common.inc new file mode 100644 index 0000000000..096c321642 --- /dev/null +++ b/recipes/ti/matrix-gui-common.inc @@ -0,0 +1,35 @@ +DESCRIPTION = "Common files for all versions of Matrix GUI" +HOMEPAGE = "https://gforge.ti.com/gf/project/matrix_gui/" +LICENSE = "BSD" +SECTION = "multimedia" +PRIORITY = "optional" + +COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x)" + +PLATFORM_dm365 = "dm365" +PLATFORM_omapl138 = "omapl138" +PLATFORM_omap3evm = "omap3530" +PLATFORM_dm37x-evm = "dm3730" +PLATFORM_am37x-evm = "am3715" +PLATFORM_beagleboard = "am3715" +PLATFORM_ti816x = "ti816x" + +#Checkout the project repository to get access to the scripts and data +#files. +SRC_URI = "svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd='' " + +S = "${WORKDIR}/trunk" + +PACKAGE_ARCH = ${MACHINE_ARCH} + +do_install() { + install -d ${D}/${bindir} + install -m 0755 ${S}/${PLATFORM}/bin/* ${D}/${bindir}/ + install -d ${D}/${datadir}/matrix/html + install -m 0644 ${S}/${PLATFORM}/html/* ${D}/${datadir}/matrix/html + install -d ${D}/${datadir}/matrix/images + install -m 0644 ${S}/images/*.png ${D}/${datadir}/matrix/images/ + +} + +FILES_${PN} += "${datadir}/matrix/*" diff --git a/recipes/ti/matrix-gui-common_1.1.bb b/recipes/ti/matrix-gui-common_1.1.bb new file mode 100644 index 0000000000..2b921af435 --- /dev/null +++ b/recipes/ti/matrix-gui-common_1.1.bb @@ -0,0 +1,7 @@ +require matrix-gui-common.inc + +COMPATIBLE_MACHINE = "(dm365|omapl138|omap3)" + +SRCREV = "136" +PV = "1.1" +PR = "r4" diff --git a/recipes/ti/matrix-gui-common_1.2.bb b/recipes/ti/matrix-gui-common_1.2.bb new file mode 100644 index 0000000000..a3da400975 --- /dev/null +++ b/recipes/ti/matrix-gui-common_1.2.bb @@ -0,0 +1,5 @@ +require matrix-gui-common.inc + +SRCREV = "146" +PV = "1.2" +PR = "r0" diff --git a/recipes/ti/matrix-gui-common_svn.bb b/recipes/ti/matrix-gui-common_svn.bb deleted file mode 100644 index 89126a2e29..0000000000 --- a/recipes/ti/matrix-gui-common_svn.bb +++ /dev/null @@ -1,37 +0,0 @@ -DESCRIPTION = "Common files for all versions of Matrix GUI" -HOMEPAGE = "https://gforge.ti.com/gf/project/matrix_gui/" -LICENSE = "BSD" -SECTION = "multimedia" -PRIORITY = "optional" - -SRCREV = "136" -PV = "1.1" -PR = "r3+svnr${SRCPV}" - -PLATFORM_dm365 = "dm365" -PLATFORM_da850-omapl138-evm = "omapl138" -PLATFORM_omap3evm = "omap3530" -PLATFORM_dm37x-evm = "dm3730" -PLATFORM_am37x-evm = "am3715" -PLATFORM_beagleboard = "am3715" -PLATFORM ?= "" - -#Checkout the project repository to get access to the scripts and data -#files. -SRC_URI = "svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd='' " - -S = "${WORKDIR}/trunk" - -PACKAGE_ARCH = ${MACHINE_ARCH} - -do_install() { - install -d ${D}/${bindir} - install -m 0755 ${S}/${PLATFORM}/bin/* ${D}/${bindir}/ - install -d ${D}/${datadir}/matrix/html - install -m 0644 ${S}/${PLATFORM}/html/* ${D}/${datadir}/matrix/html - install -d ${D}/${datadir}/matrix/images - install -m 0644 ${S}/images/*.png ${D}/${datadir}/matrix/images/ - -} - -FILES_${PN} += "${datadir}/matrix/*" -- cgit 1.2.3-korg