summaryrefslogtreecommitdiff
path: root/packages/openmoko2/openmoko-sound-theme-standard2_svn.bb
diff options
context:
space:
mode:
authorDaniel Willmann <daniel@totalueberwachung.de>2007-09-15 21:58:46 +0000
committerDaniel Willmann <daniel@totalueberwachung.de>2007-09-15 21:58:46 +0000
commit76cba2b1b9c4917b25f9c34b5d8c42c9ffd00e01 (patch)
treec300744f4dcc8a04362280cd523d60bc4a71c804 /packages/openmoko2/openmoko-sound-theme-standard2_svn.bb
parent0ad258907ddc1def5140b60751c6ef7749bb269d (diff)
openmoko-sound-theme-standard2: inherit openmoko2 so sources get fetched from the correct location
Diffstat (limited to 'packages/openmoko2/openmoko-sound-theme-standard2_svn.bb')
-rw-r--r--packages/openmoko2/openmoko-sound-theme-standard2_svn.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/openmoko2/openmoko-sound-theme-standard2_svn.bb b/packages/openmoko2/openmoko-sound-theme-standard2_svn.bb
new file mode 100644
index 0000000000..a8b41ed318
--- /dev/null
+++ b/packages/openmoko2/openmoko-sound-theme-standard2_svn.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "Standard sound theme for the OpenMoko distribution"
+SECTION = "openmoko/base"
+PV = "0.1+svnr${SRCREV}"
+PR = "r0"
+
+inherit openmoko2 autotools
+
+SRC_URI = "${OPENMOKO_MIRROR}/src/target/${OPENMOKO_RELEASE}/artwork;module=sounds;proto=http"
+S = "${WORKDIR}/sounds"
+
+do_install() {
+ find ${WORKDIR} -name ".svn" | xargs rm -rf
+ install -d ${D}${datadir}/openmoko/sounds
+ for i in *.mp3; do
+ cp -fpPR ${S}/$i ${D}${datadir}/openmoko/sounds/
+ done
+ for i in touchscreen_click.wav ringtone_classy.wav notify_doorbell.wav startup_openmoko.wav; do
+ cp -f ${S}/$i ${D}${datadir}/openmoko/sounds/
+ done
+}
+
+FILES_${PN} = "${datadir}"
+