Skip to contentSkip to conversation

matrix-gui-mc-demos: split each demo into individual packages

PATCH New Jacob Stiffler 1 participant 2 messages Jan 29, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 matrix-gui-mc-demos: split each demo into individual packages

---
 .../recipes-core/matrix/matrix-gui-mc-demos_2.0.bb  | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)
meta-arago-extras/recipes-core/matrix/matrix-gui-mc-demos_2.0.bb +15 -6
index 79c7202..8a74335 100644
@@ -3,17 +3,26 @@ HOMEPAGE = "http://git.ti.com/matrix-gui-v2/matrix-gui-v2-apps"
 
 require matrix-gui-apps-git.inc
 
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 inherit allarch
 
 S = "${WORKDIR}/git/mc_demo_apps"
 
 # Make sure demo submenu and app images has been installed.
-RDEPENDS_${PN} += "matrix-gui-apps-images matrix-gui-submenus-mc-demo"
+MC_DEMOS_RDEPENDS = "matrix-gui-apps-images matrix-gui-submenus-mc-demo"
 
-FILES_${PN} += "${MATRIX_BASE_DIR}/apps/ \
-		${bindir}/mc_demo_imageproc.sh \
-		${bindir}/mc_run_dsp.sh \
-		${bindir}/mc_demo_ipc.sh \
+PACKAGES = "matrix-mc-demo-ipc \
+            matrix-mc-demo-imageproc \
+"
+
+RDEPENDS_matrix-mc-demo-ipc        = "${MC_DEMOS_RDEPENDS}"
+RDEPENDS_matrix-mc-demo-imageproc  = "${MC_DEMOS_RDEPENDS}"
+
+FILES_matrix-mc-demo-ipc        = "${MATRIX_APP_DIR}/mc_demo_ipc/*"
+FILES_matrix-mc-demo-imageproc  = "${MATRIX_APP_DIR}/mc_demo_imageproc/*"
+
+FILES_matrix-mc-demo-ipc       += "${bindir}/mc_demo_ipc.sh"
+FILES_matrix-mc-demo-imageproc += "${bindir}/mc_demo_imageproc.sh \
+                                   ${bindir}/mc_run_dsp.sh \
 "
Signature · 1 line
1.9.1
#1 lore raw

PATCH 2/2 packagegroup-arago-tisdk-matrix: Fix for matrix-gui-mc-demos split

* The package "matrix-gui-mc-demos" was split into one package for each demo: "matrix-mc-demo-ipc" and "matrix-mc-demo-imageproc"
* Remove "matrix-gui-mc-demos" and add "matrix-mc-demo-ipc"
* Leave out "matrix-mc-demo-imageproc" as it requires updates

---
 .../recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb +3 -3
index 52e006b..a007f6d 100644
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to include Matrix v2"
 LICENSE = "MIT"
-PR = "r48"
+PR = "r49"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
@@ -158,8 +158,8 @@ MATRIX_APPS_append_am180x-evm = "   \
 "
 
 MATRIX_APPS_append_keystone = " \
-    matrix-gui-utility-demos	\
-    matrix-gui-mc-demos	\
+    matrix-gui-utility-demos    \
+    matrix-mc-demo-ipc          \
 "
 
 MATRIX_APPS_append_k2hk-evm = "      \
Signature · 1 line
1.9.1