summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
diff options
context:
space:
mode:
authorTanu Kaskinen <tanuk@iki.fi>2019-11-21 16:06:24 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-11-27 13:25:18 +0000
commit9f88035bb861d977aff136eeaec0a2ff7892331f (patch)
tree241a0393f9199b225c7eaf334240c158ebf8b29a /meta/recipes-multimedia/pulseaudio/pulseaudio.inc
parent9582fec24abac64ce691ee482de6a4816fff6dc0 (diff)
downloadpoky-9f88035bb861d977aff136eeaec0a2ff7892331f.tar.gz
pulseaudio: 12.2 -> 13.0
Release notes: https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/13.0/ Dropped intltool-native from DEPENDS. The .desktop file translations don't need intltool any more, gettext is enough. Dropped upstreamed patches: 0001-alsa-Fix-inclusion-of-use-case.h.patch 0001-introduce-a-special-build-flag-to-explicitly-disable.patch Added a new package: pulseaudio-pa-info. It contains the new pa-info script. BlueZ 4 support was removed in this version. That's not visible in the recipe, but I noticed that the BlueZ 4 modules were still being built in 12.2, since they hadn't been explicitly disabled in the recipe. (From OE-Core rev: e4b9e98100cdeb74d4898afcab2d76f2e0855960) Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/pulseaudio/pulseaudio.inc')
-rw-r--r--meta/recipes-multimedia/pulseaudio/pulseaudio.inc27
1 files changed, 24 insertions, 3 deletions
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
index ec51d8b279..4e32b27087 100644
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
@@ -56,7 +56,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0e5cd938de1a7a53ea5adac38cc10c39 \
56 file://src/pulsecore/filter/biquad.h;beginline=1;endline=4;md5=6d46d1365206528a20137355924233c1 \ 56 file://src/pulsecore/filter/biquad.h;beginline=1;endline=4;md5=6d46d1365206528a20137355924233c1 \
57" 57"
58 58
59DEPENDS = "libatomic-ops libsndfile1 libtool intltool-native" 59DEPENDS = "libatomic-ops libsndfile1 libtool"
60# optional 60# optional
61DEPENDS += "udev alsa-lib glib-2.0" 61DEPENDS += "udev alsa-lib glib-2.0"
62DEPENDS += "speexdsp libxml-parser-perl-native libcap" 62DEPENDS += "speexdsp libxml-parser-perl-native libcap"
@@ -158,12 +158,22 @@ USERADD_PARAM_pulseaudio-server = "--system --home /var/run/pulse \
158 --no-create-home --shell /bin/false \ 158 --no-create-home --shell /bin/false \
159 --groups audio,pulse --gid pulse pulse" 159 --groups audio,pulse --gid pulse pulse"
160 160
161PACKAGES =+ "\
162 libpulse \
163 libpulse-mainloop-glib \
164 libpulse-simple \
165 libpulsecommon \
166 libpulsecore \
167 ${PN}-pa-info \
168 ${PN}-server \
169 ${PN}-misc \
170 "
171
161# The console-kit module is included here explicitly so bitbake can map to the 172# The console-kit module is included here explicitly so bitbake can map to the
162# RDEPENDS we define for it in this recipe, and thereby ensure that when 173# RDEPENDS we define for it in this recipe, and thereby ensure that when
163# adding the console-kit module to an image, we also get the necessary 174# adding the console-kit module to an image, we also get the necessary
164# consolekit package produced. 175# consolekit package produced.
165PACKAGES =+ "libpulsecore libpulsecommon libpulse libpulse-simple libpulse-mainloop-glib \ 176PACKAGES =+ "${@bb.utils.contains('PACKAGECONFIG', 'dbus', 'pulseaudio-module-console-kit', '', d)}"
166 pulseaudio-server pulseaudio-misc ${@bb.utils.contains('PACKAGECONFIG', 'dbus', 'pulseaudio-module-console-kit', '', d)}"
167 177
168#upgrade path: 178#upgrade path:
169RREPLACES_pulseaudio-server = "libpulse-bin libpulse-conf" 179RREPLACES_pulseaudio-server = "libpulse-bin libpulse-conf"
@@ -183,6 +193,7 @@ FILES_libpulse-mainloop-glib = "${libdir}/libpulse-mainloop-glib.so.*"
183FILES_${PN}-dev += "${libdir}/pulse-${PV}/modules/*.la ${datadir}/vala ${libdir}/cmake" 193FILES_${PN}-dev += "${libdir}/pulse-${PV}/modules/*.la ${datadir}/vala ${libdir}/cmake"
184FILES_${PN}-conf = "${sysconfdir}" 194FILES_${PN}-conf = "${sysconfdir}"
185FILES_${PN}-bin += "${sysconfdir}/default/volatiles/volatiles.04_pulse" 195FILES_${PN}-bin += "${sysconfdir}/default/volatiles/volatiles.04_pulse"
196FILES_${PN}-pa-info = "${bindir}/pa-info"
186FILES_${PN}-server = "${bindir}/pulseaudio ${bindir}/start-* ${sysconfdir} ${bindir}/pactl */udev/rules.d/*.rules */*/udev/rules.d/*.rules ${systemd_user_unitdir}/*" 197FILES_${PN}-server = "${bindir}/pulseaudio ${bindir}/start-* ${sysconfdir} ${bindir}/pactl */udev/rules.d/*.rules */*/udev/rules.d/*.rules ${systemd_user_unitdir}/*"
187 198
188#SYSTEMD_PACKAGES = "${PN}-server" 199#SYSTEMD_PACKAGES = "${PN}-server"
@@ -214,6 +225,16 @@ python populate_packages_prepend() {
214 do_split_packages(d, plugindir, r'^lib(.*)\.so$', '${PN}-lib-%s', 'PulseAudio library for %s', extra_depends='', prepend=True) 225 do_split_packages(d, plugindir, r'^lib(.*)\.so$', '${PN}-lib-%s', 'PulseAudio library for %s', extra_depends='', prepend=True)
215} 226}
216 227
228# pa-info is a bash script that collects information about the audio setup.
229# It's primarily useful for attaching an information dump when reporting bugs.
230RDEPENDS_${PN}-pa-info = "\
231 alsa-utils-amixer \
232 alsa-utils-aplay \
233 alsa-utils-scripts \
234 bash \
235 ${PN}-server \
236 "
237
217RDEPENDS_pulseaudio-server = " \ 238RDEPENDS_pulseaudio-server = " \
218 pulseaudio-module-filter-apply \ 239 pulseaudio-module-filter-apply \
219 pulseaudio-module-filter-heuristics \ 240 pulseaudio-module-filter-heuristics \