[oe-commits] Martin Jansa : fso-sounds: add fso-sounds-extras package with all remaining sounds and RSUGGEST it

git version control git at git.openembedded.org
Tue Jan 18 10:51:55 UTC 2011


Module: openembedded.git
Branch: master
Commit: 62eebc44737ee8a253770503d038be730ce9a3dd
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=62eebc44737ee8a253770503d038be730ce9a3dd

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Tue Jan 18 11:17:01 2011 +0100

fso-sounds: add fso-sounds-extras package with all remaining sounds and RSUGGEST it

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 recipes/freesmartphone/fso-sounds.bb |   15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/recipes/freesmartphone/fso-sounds.bb b/recipes/freesmartphone/fso-sounds.bb
index 1349e3e..643c6d0 100644
--- a/recipes/freesmartphone/fso-sounds.bb
+++ b/recipes/freesmartphone/fso-sounds.bb
@@ -4,17 +4,24 @@ SECTION = "multimedia"
 SRCREV = "3a4767ec01988bd0fd8f72f0c35d6d36e5fbc815"
 PV = "0.0.1+gitr${SRCPV}"
 PE = "1"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "\
   ${FREESMARTPHONE_GIT}/artwork.git;protocol=git;branch=master \
 "
+S = "${WORKDIR}/git/sounds"
 
 do_install() {
 	install -d ${D}${datadir}/sounds/
-	install ${WORKDIR}/git/sounds/female_message.wav ${D}${datadir}/sounds/
-	install ${WORKDIR}/git/sounds/female_ringtone.wav ${D}${datadir}/sounds/
+	cp ${S}/*.wav ${D}${datadir}/sounds/
 }
 
-FILES_${PN} = "${datadir}"
+PACKAGES += "${PN}-extras"
+
+RSUGGESTS_${PN} = "${PN}-extras"
+FILES_${PN} = "${datadir}/sounds/female_message.wav \
+               ${datadir}/sounds/female_ringtone.wav \
+"
+FILES_${PN}-extras = "${datadir}/sounds"
+
 PACKAGE_ARCH = "all"





More information about the Openembedded-commits mailing list