From 6f684acef60142cec794de7083f1f1c58d6f32c8 Mon Sep 17 00:00:00 2001 From: Chase Maupin Date: Thu, 30 Sep 2010 08:12:04 +0000 Subject: matrix-gui-e: make versioned recipes * Abstracted common code to .inc file * Made versioned recipe for version 1.1 and 1.2 * Removed _svn version of the recipe Signed-off-by: Chase Maupin Signed-off-by: Denys Dmytriyenko --- recipes/ti/matrix-gui-e.inc | 40 ++++++++++++++++++++++++++++++++++++++++ recipes/ti/matrix-gui-e_1.1.bb | 8 ++++++++ recipes/ti/matrix-gui-e_1.2.bb | 6 ++++++ recipes/ti/matrix-gui-e_svn.bb | 42 ------------------------------------------ 4 files changed, 54 insertions(+), 42 deletions(-) create mode 100644 recipes/ti/matrix-gui-e.inc create mode 100644 recipes/ti/matrix-gui-e_1.1.bb create mode 100644 recipes/ti/matrix-gui-e_1.2.bb delete mode 100644 recipes/ti/matrix-gui-e_svn.bb (limited to 'recipes/ti') diff --git a/recipes/ti/matrix-gui-e.inc b/recipes/ti/matrix-gui-e.inc new file mode 100644 index 0000000000..3004a657a6 --- /dev/null +++ b/recipes/ti/matrix-gui-e.inc @@ -0,0 +1,40 @@ +DESCRIPTION = "Matrix GUI for Qt Embedded" +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" + +SRC_URI = "svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd='' " + +S = "${WORKDIR}/trunk" + +INITSCRIPT_NAME = "matrix-gui-e" +INITSCRIPT_PARAMS = "defaults 99" +#INITSCRIPT_PARAMS = "start 99 3 . stop 99 3 ." + +CXXFLAGS_da850-omapl138-evm_append = " -DPlatform_omapl138 " +CXXFLAGS_dm365_append = " -DPlatform_dm365 " +PACKAGE_ARCH = ${MACHINE_ARCH} + +inherit qt4e update-rc.d + +do_install() { + install -d ${D}/${bindir} + install -m 0755 ${S}/matrix_gui ${D}/${bindir}/matrix_guiE + install -d ${D}${sysconfdir}/init.d/ + install -c -m 0755 ${S}/${PLATFORM}/etc/init ${D}${sysconfdir}/init.d/matrix-gui-e + +} + +RRECOMMENDS_${PN} = "qt4-embedded-plugin-mousedriver-tslib qt4-embedded-fonts" +RDEPENDS_${PN} += "matrix-gui-common" diff --git a/recipes/ti/matrix-gui-e_1.1.bb b/recipes/ti/matrix-gui-e_1.1.bb new file mode 100644 index 0000000000..d6a674fcd9 --- /dev/null +++ b/recipes/ti/matrix-gui-e_1.1.bb @@ -0,0 +1,8 @@ +require matrix-gui-e.inc + +COMPATIBLE_MACHINE = "(dm365|omapl138|omap3)" + +SRCREV = "136" +PV = "1.1" +PR = "r19" + diff --git a/recipes/ti/matrix-gui-e_1.2.bb b/recipes/ti/matrix-gui-e_1.2.bb new file mode 100644 index 0000000000..461fc7e9cb --- /dev/null +++ b/recipes/ti/matrix-gui-e_1.2.bb @@ -0,0 +1,6 @@ +require matrix-gui-e.inc + +SRCREV = "146" +PV = "1.2" +PR = "r0" + diff --git a/recipes/ti/matrix-gui-e_svn.bb b/recipes/ti/matrix-gui-e_svn.bb deleted file mode 100644 index 5570d9258f..0000000000 --- a/recipes/ti/matrix-gui-e_svn.bb +++ /dev/null @@ -1,42 +0,0 @@ -DESCRIPTION = "Matrix GUI for Qt Embedded" -HOMEPAGE = "https://gforge.ti.com/gf/project/matrix_gui/" -LICENSE = "BSD" -SECTION = "multimedia" -PRIORITY = "optional" - -SRCREV = "136" -PV = "1.1" -PR = "r18+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 ?= "" - -SRC_URI = "svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd='' " - -S = "${WORKDIR}/trunk" - -INITSCRIPT_NAME = "matrix-gui-e" -INITSCRIPT_PARAMS = "defaults 99" -#INITSCRIPT_PARAMS = "start 99 3 . stop 99 3 ." - -CXXFLAGS_da850-omapl138-evm_append = " -DPlatform_omapl138 " -CXXFLAGS_dm365_append = " -DPlatform_dm365 " -PACKAGE_ARCH = ${MACHINE_ARCH} - -inherit qt4e update-rc.d - -do_install() { - install -d ${D}/${bindir} - install -m 0755 ${S}/matrix_gui ${D}/${bindir}/matrix_guiE - install -d ${D}${sysconfdir}/init.d/ - install -c -m 0755 ${S}/${PLATFORM}/etc/init ${D}${sysconfdir}/init.d/matrix-gui-e - -} - -RRECOMMENDS_${PN} = "qt4-embedded-plugin-mousedriver-tslib qt4-embedded-fonts" -RDEPENDS_${PN} += "matrix-gui-common" -- cgit 1.2.3-korg