Skip to contentSkip to conversation

matrix-gui-clocks: Remove ${PN} package and fix RDEPENDS

PATCH New Franklin S. Cooper Jr 1 participant 1 message Nov 1, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 matrix-gui-clocks: Remove ${PN} package and fix RDEPENDS

* Nothing should actually go inside the matrix-gui-clocks package. So remove it from the list of packages.
* This also fixed an issue where script files were being pulled into the ${PN} package instead of being packaged with the appropriate clock frequency package.
* Each provided package should use the same RDEPENDS. Update the recipe so each package has the correct RDEPENDS.

---
 .../recipes-core/matrix/matrix-gui-clocks_2.0.bb   |   18 +++++++++++++-----
 1 files changed, 13 insertions(+), 5 deletions(-)
meta-arago-extras/recipes-core/matrix/matrix-gui-clocks_2.0.bb +13 -5
index b8d4e50..62028ec 100644
@@ -4,19 +4,27 @@ LICENSE = "CC-BY-SA"
 
 require matrix-gui-apps-git.inc
 
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.3"
 
 inherit allarch
 
 S = "${WORKDIR}/git/clocks_apps"
 
-# Make sure power submenu and app images has been installed
-RDEPENDS_${PN} += "matrix-gui-apps-images matrix-gui-submenus-power matrix-gui-generic-pm"
-
 # Break out the individual files into separate packages.  That way only the
 # clocks supported for each device can be installed.  Prepend the list so
 # that we can get the files in ${bindir} first
-PACKAGES =+ "${PN}-275mhz ${PN}-300mhz ${PN}-500mhz ${PN}-600mhz ${PN}-720mhz ${PN}-800mhz ${PN}-1ghz"
+PACKAGES = "${PN}-275mhz ${PN}-300mhz ${PN}-500mhz ${PN}-600mhz ${PN}-720mhz ${PN}-800mhz ${PN}-1ghz"
+
+# Make sure power submenu and app images has been installed
+CLOCK_RDEPENDS = "matrix-gui-apps-images matrix-gui-submenus-power matrix-gui-generic-pm"
+
+RDEPENDS_${PN}-275mhz += "${CLOCK_RDEPENDS}"
+RDEPENDS_${PN}-300mhz += "${CLOCK_RDEPENDS}"
+RDEPENDS_${PN}-500mhz += "${CLOCK_RDEPENDS}"
+RDEPENDS_${PN}-600mhz += "${CLOCK_RDEPENDS}"
+RDEPENDS_${PN}-720mhz += "${CLOCK_RDEPENDS}"
+RDEPENDS_${PN}-800mhz += "${CLOCK_RDEPENDS}"
+RDEPENDS_${PN}-1ghz += "${CLOCK_RDEPENDS}"
 
 # Split the matrix files by clock
 FILES_${PN}-275mhz += "${MATRIX_APP_DIR}/power_set_275mhz/*"
Signature · 1 line
1.7.0.4