blob: 7205f796373b8637aa26471eff04f402884f1866 (
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
27
28
29
30
31
32
|
require cornucopia.inc
inherit fso-plugin
DEPENDS += "alsa-lib"
# We need to uncomment the line below after the migration of all scenario files from
# fsodeviced to fsoaudiod is done. Otherwise we will get build errors as both fsodeviced
# and fsoaudiod are dependencies of the FSO framework.
# PROVIDES_${PN} = "openmoko-alsa-scenarios virtual/alsa-scenarios"
SRCREV = "${FSO_CORNUCOPIA_SRCREV}"
PV = "0.1.0+gitr${SRCPV}"
PE = "2"
PR = "${INC_PR}.2"
inherit update-rc.d
INITSCRIPT_NAME = "fsoaudiod"
INITSCRIPT_PARAMS = "defaults 30"
SRC_URI += "file://fsoaudiod"
CONFFILES_${PN} = " \
${sysconfdir}/freesmartphone/conf/palm_pre/fsoaudiod.conf \
${sysconfdir}/asound.conf \
"
RCONFLICTS_${PN} = "alsa-state"
do_install_append() {
install -d ${D}${sysconfdir}/init.d/
install -m 0755 ${WORKDIR}/fsoaudiod ${D}${sysconfdir}/init.d/
}
|