summaryrefslogtreecommitdiff
path: root/recipes/openmoko2/openmoko-sound-theme-standard2_svn.bb
blob: a7687d84861ea9f03e0d4d9690117e1142c0a7e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
DESCRIPTION = "Standard sound theme for the Openmoko framework"
SECTION = "openmoko/base"
RREPLACES_${PN} = "openmoko-sound-theme-standard"
RPROVIDES_${PN} = "openmoko-sound-theme-standard"
SRCREV = "4271"
PV = "0.1+svnr${SRCPV}"
PR = "r4"

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_unintrusive.wav; do
                cp -f ${S}/$i ${D}${datadir}/openmoko/sounds/
        done
}

FILES_${PN} = "${datadir}"