Skip to contentSkip to conversation

matrix-gui-clocks: Add support for 275MHz, 500MHz and 720 MHz

PATCH New Franklin S Cooper Jr 1 participant 1 message Aug 16, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 matrix-gui-clocks: Add support for 275MHz, 500MHz and 720 MHz

* Latest version of the Matrix v2 clock application includes additional clock speeds. Update matrix-gui-clocks to properly package these additional speeds.
* Change the name of the script to package to match the name of the script included in the clocks_apps directory within the latest version of the matrix-gui-apps repository.

---
 .../recipes-core/matrix/matrix-gui-clocks_2.0.bb   |   20 +++++++++++++-------
 1 files changed, 13 insertions(+), 7 deletions(-)
meta-arago-extras/recipes-core/matrix/matrix-gui-clocks_2.0.bb +13 -7
index bb29f8d..bcb58ac 100644
@@ -4,28 +4,34 @@ LICENSE = "CC-BY-SA"
 
 require matrix-gui-apps-git.inc
 
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 inherit allarch
 
 S = "${WORKDIR}/git/clocks_apps"
 
 # Make sure power submenu and app images has been installed
-RDEPENDS += "matrix-gui-apps-images matrix-gui-submenus-power"
+RDEPENDS += "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}-300mhz ${PN}-600mhz ${PN}-800mhz ${PN}-1ghz"
+PACKAGES =+ "${PN}-275mhz ${PN}-300mhz ${PN}-500mhz ${PN}-600mhz ${PN}-720mhz ${PN}-800mhz ${PN}-1ghz"
 
 # Split the matrix files by clock
+FILES_${PN}-275mhz += "${MATRIX_APP_DIR}/power_set_275mhz/*"
 FILES_${PN}-300mhz += "${MATRIX_APP_DIR}/power_set_300mhz/*"
+FILES_${PN}-500mhz += "${MATRIX_APP_DIR}/power_set_500mhz/*"
 FILES_${PN}-600mhz += "${MATRIX_APP_DIR}/power_set_600mhz/*"
+FILES_${PN}-720mhz += "${MATRIX_APP_DIR}/power_set_720mhz/*"
 FILES_${PN}-800mhz += "${MATRIX_APP_DIR}/power_set_800mhz/*"
 FILES_${PN}-1ghz += "${MATRIX_APP_DIR}/power_set_1ghz/*"
 
 # Split the ${bindir} files by clock
-FILES_${PN}-300mhz += "${bindir}/setopp2.sh"
-FILES_${PN}-600mhz += "${bindir}/setopp3.sh"
-FILES_${PN}-800mhz += "${bindir}/setopp4.sh"
-FILES_${PN}-1ghz += "${bindir}/setopp1.sh"
+FILES_${PN}-275mhz += "${bindir}/setclock275MHz.sh"
+FILES_${PN}-300mhz += "${bindir}/setclock300MHz.sh"
+FILES_${PN}-500mhz += "${bindir}/setclock500MHz.sh"
+FILES_${PN}-600mhz += "${bindir}/setclock600MHz.sh"
+FILES_${PN}-720mhz += "${bindir}/setclock720MHz.sh"
+FILES_${PN}-800mhz += "${bindir}/setclock800MHz.sh"
+FILES_${PN}-1ghz += "${bindir}/setclock1GHz.sh"
Signature · 1 line
1.7.0.4