diff options
author | Henning Heinold <heinold@inf.fu-berlin.de> | 2007-11-22 21:02:37 +0000 |
---|---|---|
committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2007-11-22 21:02:37 +0000 |
commit | 4c0d2d3099ec35f4a76f3c4cfe9b603b5b702906 (patch) | |
tree | d34590e4b891e51974309fd0dc8048fecf76fdbe | |
parent | 7d0c29858626d825d90a3e97ab97d1d89ce8695b (diff) |
midpath-pulseaudio: new sound backend for midpath
-rw-r--r-- | packages/midpath/midpath-pulseaudio_0.1.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/packages/midpath/midpath-pulseaudio_0.1.bb b/packages/midpath/midpath-pulseaudio_0.1.bb new file mode 100644 index 0000000000..6344e018a0 --- /dev/null +++ b/packages/midpath/midpath-pulseaudio_0.1.bb @@ -0,0 +1,39 @@ + +require midpath_${PV}.bb + +DEPENDS = "pulseaudio" +RDEPENDS = "pulseaudio" + +do_configure() { + cd ${S}/native/pulseaudio + sed -i -e "s|\-I/usr/include/classpath|\-I${STAGING_INCDIR}/classpath-minimal|" Makefile + cd ${S}/resources-embedded/com/sun/midp/configuration + sed -i -e "s|sound.backend:NULL|sound.backend:PulseAudio|" configuration.cfg +} + +do_compile() { + +# Build the PulseAudio native part +cd ${S}/native/pulseaudio +make || exit 1 + +} + +do_install() { + install -d ${D}${libdir} + install -m 0644 ${S}/native/pulseaudio/libmidpathpulse.so ${D}${libdir} + install -d ${D}${datadir}/java/resources-embedded/com/sun/midp/configuration + install -m 0644 resources-embedded/com/sun/midp/configuration/configuration.cfg ${D}${datadir}/java/resources-embedded/com/sun/midp/configuration/ +} + +do_stage() { + : +} + +PACKAGES = "${PN}" + +FILES_${PN} = "${libdir}/libmidpathpulse.so \ + ${datadir}/java/resources-embedded/com/sun/midp/configuration/configuration.cfg \ + " + +CONFFILES_${PN} = "${datadir}/java/resources-embedded/com/sun/midp/configuration/configuration.cfg" |