diff options
author | Koen Kooi <koen@openembedded.org> | 2009-06-02 19:57:52 +0200 |
---|---|---|
committer | Koen Kooi <koen@Powerbook-3.local> | 2009-06-05 17:48:05 +0200 |
commit | 021a71d29aa31b4e8fc912d085f41a34faa427b2 (patch) | |
tree | b1f84f38ae93b448c053305797f0aa339e611fb8 /recipes/pulseaudio/pulseaudio.inc | |
parent | 1d4eba778c2ac6f04043321c866b332eff6101fe (diff) |
pulseaudio: add 0.9.15, sync with poky
Diffstat (limited to 'recipes/pulseaudio/pulseaudio.inc')
-rw-r--r-- | recipes/pulseaudio/pulseaudio.inc | 50 |
1 files changed, 39 insertions, 11 deletions
diff --git a/recipes/pulseaudio/pulseaudio.inc b/recipes/pulseaudio/pulseaudio.inc index d625f872f9..f2f54dd3dc 100644 --- a/recipes/pulseaudio/pulseaudio.inc +++ b/recipes/pulseaudio/pulseaudio.inc @@ -3,9 +3,9 @@ HOMEPAGE = "http://www.pulseaudio.org" AUTHOR = "Lennart Poettering" SECTION = "libs/multimedia" LICENSE = "LGPL" -DEPENDS = "libatomics-ops liboil avahi libsamplerate0 libsndfile1 libtool hal" +DEPENDS = "bluez4 libatomics-ops liboil avahi libsamplerate0 libsndfile1 libtool hal virtual/libx11" # optional -DEPENDS += "alsa-lib glib-2.0" +DEPENDS += "alsa-lib glib-2.0 dbus consolekit hal" SRC_URI = "http://0pointer.de/lennart/projects/pulseaudio/pulseaudio-${PV}.tar.gz \ file://gcc4-compile-fix.patch;patch=1 \ @@ -15,7 +15,9 @@ inherit autotools pkgconfig EXTRA_OECONF = "\ --disable-lynx \ - --without-x \ + --enable-bluez \ + --disable-polkit \ + --with-x \ --without-jack \ --with-glib \ --with-alsa \ @@ -45,7 +47,7 @@ do_install_append() { fi } -PACKAGES =+ "libpulsecore libpulse libpulse-simple libpulse-browse libpulse-mainloop-glib \ +PACKAGES =+ "libpulsecore libpulsecommon libpulsedsp libpulse libpulse-simple libpulse-browse libpulse-mainloop-glib \ pulseaudio-server pulseaudio-misc pulseaudio-gconf-helper" #upgrade path: @@ -53,23 +55,27 @@ RREPLACES_pulseaudio-server = "libpulse-bin libpulse-conf" PACKAGES_DYNAMIC = "pulseaudio-lib* pulseaudio-module* libpulse-lib* libpulse-module* " -FILES_libpulsecore = "${libdir}/libpulsecore.so.*" +FILES_libpulsecore = "${libdir}/libpulsecore*.so" +FILES_libpulsecommon = "${libdir}/libpulsecommon*.so" +FILES_libpulsedsp = "${libdir}/libpulsedsp*.so" FILES_libpulse = "${libdir}/libpulse.so.*" FILES_libpulse-simple = "${libdir}/libpulse-simple.so.*" FILES_libpulse-browse = "${libdir}/libpulse-browse.so.*" FILES_libpulse-mainloop-glib = "${libdir}/libpulse-mainloop-glib.so.*" FILES_${PN}-dbg += "${libexecdir}/pulse/.debug \ - ${libdir}/pulse-0.9/modules/.debug" -FILES_${PN}-dev += "${libdir}/pulse-0.9/modules/*.la" + ${libdir}/pulse-${PV}/modules/.debug" +FILES_${PN}-dev += "${libdir}/pulse-${PV}/modules/*.la" FILES_${PN}-conf = "${sysconfdir}" FILES_${PN}-bin = "${bindir}/* \ - ${sysconfdir}/default/volatiles/ \ - ${datadir}/PolicyKit" -FILES_${PN}-server = "${bindir}/pulseaudio ${sysconfdir}" + ${sysconfdir}/default/volatiles/volatiles.04_pulse" +FILES_${PN}-server = "${bindir}/pulseaudio ${bindir}/start-* ${sysconfdir} ${bindir}/pactl" FILES_${PN}-gconf-helper = "${libexecdir}/pulse/gconf-helper" FILES_${PN}-misc = "${bindir}/*" +# Allow the pulseaudio package to be created empty as a placeholder (-dbg and -dev depend on it) +ALLOW_EMPTY_${PN} = "1" + CONFFILES_pulseaudio-server = "\ ${sysconfdir}/pulse/default.pa \ ${sysconfdir}/pulse/daemon.conf \ @@ -96,7 +102,29 @@ pkg_postrm_${PN}-server() { python populate_packages_prepend() { #bb.data.setVar('PKG_pulseaudio', 'pulseaudio', d) - plugindir = bb.data.expand('${libdir}/pulse-0.9/modules/', d) + plugindir = bb.data.expand('${libdir}/pulse-${PV}/modules/', d) do_split_packages(d, plugindir, '^module-(.*)\.so$', 'pulseaudio-module-%s', 'PulseAudio module for %s', extra_depends='' ) do_split_packages(d, plugindir, '^lib(.*)\.so$', 'pulseaudio-lib-%s', 'PulseAudio library for %s', extra_depends='' ) } + +RDEPENDS_pulseaudio-module-console-kit =+ "consolekit" +RDEPENDS_pulseaudio-module-hal_detect =+ "hal" +RDEPENDS_pulseaudio-server = " \ + pulseaudio-module-device-restore \ + pulseaudio-module-stream-restore \ + pulseaudio-module-card-restore \ + pulseaudio-module-augment-properties \ + pulseaudio-module-detect \ + pulseaudio-module-alsa-sink \ + pulseaudio-module-alsa-source \ + pulseaudio-module-alsa-card \ + pulseaudio-module-native-protocol-unix \ + pulseaudio-module-hal-detect \ + pulseaudio-module-default-device-restore \ + pulseaudio-module-rescue-streams \ + pulseaudio-module-always-sink \ + pulseaudio-module-suspend-on-idle \ + pulseaudio-module-console-kit \ + pulseaudio-module-position-event-sounds \ + pulseaudio-module-cork-music-on-phone " + |