summaryrefslogtreecommitdiff
path: root/recipes/obsolete/shr/alsa-scenarii-shr_git.bb
blob: 35bf569112cfd341f931ffa87cb7b72310e68681 (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 = "Package for the different scenarios used by Openmoko"
SECTION = "openmoko/base"
SRCREV = "8e89c8dbae569a08cac246a3805fca20988c0ad1"
PV = "1.0+gitr${SRCPV}"
PR = "r4"

COMPATIBLE_MACHINE = "(om-gta01|om-gta02|htcdream)"

SRC_URI = "git://git.shr-project.org/repo/shr-themes.git;protocol=http;branch=master"

S = "${WORKDIR}/git/${PN}/${MACHINE_ARCH}"

do_install() {
    install -d ${D}${datadir}/shr/scenarii/
    install -m 644 ${S}/*.state ${D}${datadir}/shr/scenarii/
    install -d ${D}${sysconfdir}/
    install -m 644 ${S}/stereoout.state ${D}${sysconfdir}/asound.state
}

PACKAGE_ARCH_${PN} = "${MACHINE_ARCH}"

FILES_${PN} += "${datadir}/shr"

CONFFILES_${PN} += "${datadir}/shr/scenarii/*"
RPROVIDES_${PN} = "openmoko-alsa-scenarios virtual/alsa-scenarios"