pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/pulseaudio pulseaudio: Update to 15.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/dca108c10723
branches: trunk
changeset: 456471:dca108c10723
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Fri Jul 30 12:21:06 2021 +0000
description:
pulseaudio: Update to 15.0
* Convert to use meson to build.
Changelog:
1. Notes for end users
1. Support for LDAC and AptX bluetooth codecs, plus "SBC XQ" (SBC with
higher-quality parameters)
2. Support for HFP bluetooth profiles
3. Support for Bluetooth A2DP AVRCP Absolute Volume
4. ALSA path configuration files can now be placed in user home directory
5. module-virtual-surround-sink rewritten
6. More options for module-jackdbus-detect
7. Improved hardware support
1. SteelSeries Arctis 9
2. HP Thunderbolt Dock 120W G2
3. Behringer U-Phoria UMC22
4. OnePlus Type-C Bullets
5. Sennheiser GSX 1000/1200 PRO
8. New udev variable: PULSE_MODARGS
9. max_latency_msec argument added to module-null-source
10. module-filter-apply can take filter parameters from device properties
11. module-match can now be loaded multiple times
12. Improvements to FreeBSD support
13. Windows support added to Meson
14. Additional commands for pactl
15. Card profiles can be set to sticky
2. Notes for application developers
1. New API for sending messages from clients to PulseAudio objects
2. New mechanism for applications to disable shared memory on their
connection to PulseAudio
3. Notes for packagers
1. Autotools build system have been dropped
2. The startup script can now read additional configuration from the /etc/
pulse/default.pa.d/ directory
3. Option to build client library and utilities only
4. Avoid loading X11 modules on Wayland (GNOME-only for now)
5. OSS support is now configurable in Meson
6. Valgrind support is now configurable in Meson
diffstat:
audio/pulseaudio/Makefile | 55 +-
audio/pulseaudio/PLIST | 269 +++--------
audio/pulseaudio/distinfo | 22 +-
audio/pulseaudio/options.mk | 4 +-
audio/pulseaudio/patches/patch-configure.ac | 104 ----
audio/pulseaudio/patches/patch-meson.build | 16 +
audio/pulseaudio/patches/patch-src_Makefile.am | 24 -
audio/pulseaudio/patches/patch-src_daemon_meson.build | 55 ++
audio/pulseaudio/patches/patch-src_modules_module-detect.c | 15 +-
audio/pulseaudio/patches/patch-src_modules_oss_module-oss.c | 4 +-
audio/pulseaudio/patches/patch-src_pulse_meson.build | 11 +
audio/pulseaudio/patches/patch-src_pulsecore_creds.h | 15 +
audio/pulseaudio/patches/patch-src_utils_padsp.c | 38 +-
13 files changed, 245 insertions(+), 387 deletions(-)
diffs (truncated from 885 to 300 lines):
diff -r 8987de43a77d -r dca108c10723 audio/pulseaudio/Makefile
--- a/audio/pulseaudio/Makefile Fri Jul 30 05:46:51 2021 +0000
+++ b/audio/pulseaudio/Makefile Fri Jul 30 12:21:06 2021 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.160 2021/07/13 16:18:10 schmonz Exp $
+# $NetBSD: Makefile,v 1.161 2021/07/30 12:21:06 ryoon Exp $
-DISTNAME= pulseaudio-14.2
-PKGREVISION= 3
+DISTNAME= pulseaudio-15.0
CATEGORIES= audio
MASTER_SITES= https://freedesktop.org/software/pulseaudio/releases/
EXTRACT_SUFX= .tar.xz
@@ -20,6 +19,13 @@
SUBST_FILES.oss+= src/modules/module-detect.c
SUBST_VARS.oss+= DEVOSSAUDIO
+SUBST_CLASSES+= egdir
+SUBST_STAGE.egdir= pre-configure
+SUBST_MESSAGE.egdir= Set EGDIR for config file installation for pkgsrc
+SUBST_FILES.egdir+= src/pulse/meson.build
+SUBST_FILES.egdir+= src/daemon/meson.build
+SUBST_VARS.egdir+= EGDIR
+
# Requires --desktop in msgfmt.
_TOOLS_USE_PKGSRC.msgfmt= yes
@@ -29,13 +35,13 @@
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
-USE_TOOLS+= aclocal autoheader autoconf automake bash:run gmake gm4
+USE_TOOLS+= bash:run gmake gm4
USE_TOOLS+= msgfmt perl:build pkg-config
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --disable-tcpwrap
-CONFIGURE_ARGS+= --localstatedir=${VARBASE}
-CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR}
-CONFIGURE_ARGS+= --without-fftw
+MESON_ARGS+= -Dtcpwrap=disabled
+MESON_ARGS+= --localstatedir=${VARBASE}
+MESON_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR}
+MESON_ARGS+= -Dfftw=disabled
+MESON_ARGS+= -Ddoxygen=false
CONFIGURE_ENV+= DATADIRNAME=${PKGLOCALEDIR}
PKGCONFIG_OVERRIDE+= libpulse-mainloop-glib.pc.in
PKGCONFIG_OVERRIDE+= libpulse-simple.pc.in
@@ -49,7 +55,9 @@
.include "../../mk/bsd.prefs.mk"
# Some tests are incompatible for NetBSD at least
-CONFIGURE_ARGS.NetBSD+= --disable-default-build-tests
+.if ${OPSYS} == "NetBSD"
+MESON_ARGS+= -Dtests=false
+.endif
# broken test for TLS
.if ((${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[45].*)) || \
@@ -58,19 +66,11 @@
.endif
# Wrong sys/capability.h assumptions, incompatible implementation:
-CONFIGURE_ARGS.FreeBSD+= --without-caps
CONFIGURE_ENV+= EGDIR=${EGDIR}
-MAKE_ENV+= EGDIR=${EGDIR}
MAKE_FLAGS+= bashcompletiondir=${PREFIX}/share/bash-completion/completions
-# Disable NEON on NetBSD/aarch64 (does not build with pulseaudio 11.1)
-# use of q0 register in aarch64 is considered not valid
-.if !empty(PKGSRC_COMPILER:Mclang) && (${OPSYS} == "NetBSD" || ${OPSYS} == "Darwin") && ${MACHINE_CPU} == "aarch64"
-CONFIGURE_ARGS+= --disable-neon-opt
-.endif
-
# Use native atomic ops on NetBSD >= 5.0, otherwise
# fallback to libatomic_ops
.if !(${OPSYS} == "NetBSD" && exists(/usr/include/sys/atomic.h))
@@ -78,7 +78,7 @@
.endif
# Version number in patch-configure.ac.must be changed too.
-PLIST_SUBST+= PULSELIBVER=14.2
+PLIST_SUBST+= PULSELIBVER=15.0
PLIST_VARS+= alsa bonjour coreaudio evdev oss sun
# Build module-mmkbd-evdev.so under Linux
@@ -106,7 +106,12 @@
.include "options.mk"
-LIBS.NetBSD+= ${LIBOSSAUDIO}
+# LIBS is not passed to meson build system. Use LDFLAGS instead.
+LDFLAGS.NetBSD+= ${LIBOSSAUDIO}
+
+# Do not depend on RPATH $ORIGIN.
+LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/pulseaudio
+LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/pulse-${PKGVERSION_NOREV}/modules
INSTALLATION_DIRS= share/examples/pulse
@@ -123,7 +128,7 @@
CONF_FILES+= ${EGDIR}/daemon.conf ${PKG_SYSCONFDIR}/daemon.conf
CONF_FILES+= ${EGDIR}/default.pa ${PKG_SYSCONFDIR}/default.pa
CONF_FILES+= ${EGDIR}/system.pa ${PKG_SYSCONFDIR}/system.pa
-CONF_FILES+= ${EGDIR}/pulseaudio-system.conf \
+CONF_FILES+= ${EGDIR}/dbus-1/system.d/pulseaudio-system.conf \
${PKG_SYSCONFBASE}/dbus-1/system.d/pulseaudio-system.conf
PKG_GROUPS= ${PULSE_GROUP}
@@ -131,16 +136,14 @@
PKG_GROUPS+= ${PULSE_GROUP_ACCESS}
PKG_USERS= ${PULSE_USER}:${PULSE_GROUP}
-pre-configure:
- set -e; cd ${WRKSRC}; \
- aclocal; autoheader; automake -a --foreign -i; autoconf
-
+.include "../../devel/meson/build.mk"
.if ${OPSYS} != Linux && ${OPSYS} != "Darwin"
.include "../../sysutils/consolekit/buildlink3.mk"
.endif
.include "../../audio/libsndfile/buildlink3.mk"
.include "../../audio/speexdsp/buildlink3.mk"
-.include "../../databases/gdbm/buildlink3.mk"
+.include "../../databases/tdb/buildlink3.mk"
+.include "../../devel/check/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
diff -r 8987de43a77d -r dca108c10723 audio/pulseaudio/PLIST
--- a/audio/pulseaudio/PLIST Fri Jul 30 05:46:51 2021 +0000
+++ b/audio/pulseaudio/PLIST Fri Jul 30 12:21:06 2021 +0000
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.35 2021/02/02 10:31:31 markd Exp $
-bin/esdcompat
+@comment $NetBSD: PLIST,v 1.36 2021/07/30 12:21:06 ryoon Exp $
bin/pa-info
bin/pacat
bin/pacmd
@@ -47,201 +46,108 @@
include/pulse/xmalloc.h
lib/cmake/PulseAudio/PulseAudioConfig.cmake
lib/cmake/PulseAudio/PulseAudioConfigVersion.cmake
-lib/libpulse-mainloop-glib.la
-lib/libpulse-simple.la
-lib/libpulse.la
+lib/libpulse-mainloop-glib.so
+lib/libpulse-mainloop-glib.so.0
+lib/libpulse-mainloop-glib.so.0.0.6
+lib/libpulse-simple.so
+lib/libpulse-simple.so.0
+lib/libpulse-simple.so.0.1.1
+lib/libpulse.so
+lib/libpulse.so.0
+lib/libpulse.so.0.24.0
lib/pkgconfig/libpulse-mainloop-glib.pc
lib/pkgconfig/libpulse-simple.pc
lib/pkgconfig/libpulse.pc
-${PLIST.alsa}lib/pulse-${PULSELIBVER}/modules/libalsa-util.a
${PLIST.alsa}lib/pulse-${PULSELIBVER}/modules/libalsa-util.so
-${PLIST.avahi}lib/pulse-${PULSELIBVER}/modules/libavahi-wrap.a
${PLIST.avahi}lib/pulse-${PULSELIBVER}/modules/libavahi-wrap.so
-lib/pulse-${PULSELIBVER}/modules/libcli.a
-lib/pulse-${PULSELIBVER}/modules/libcli.so
-${PLIST.oss}lib/pulse-${PULSELIBVER}/modules/liboss-util.a
+lib/pulse-${PKGVERSION}/modules/libavahi-wrap.so
+lib/pulse-${PKGVERSION}/modules/libcli.so
${PLIST.oss}lib/pulse-${PULSELIBVER}/modules/liboss-util.so
-lib/pulse-${PULSELIBVER}/modules/libprotocol-cli.a
-lib/pulse-${PULSELIBVER}/modules/libprotocol-cli.so
-lib/pulse-${PULSELIBVER}/modules/libprotocol-esound.a
-lib/pulse-${PULSELIBVER}/modules/libprotocol-esound.so
-lib/pulse-${PULSELIBVER}/modules/libprotocol-http.a
-lib/pulse-${PULSELIBVER}/modules/libprotocol-http.so
-lib/pulse-${PULSELIBVER}/modules/libprotocol-native.a
-lib/pulse-${PULSELIBVER}/modules/libprotocol-native.so
-lib/pulse-${PULSELIBVER}/modules/libprotocol-simple.a
-lib/pulse-${PULSELIBVER}/modules/libprotocol-simple.so
-lib/pulse-${PULSELIBVER}/modules/libraop.a
-lib/pulse-${PULSELIBVER}/modules/libraop.so
-lib/pulse-${PULSELIBVER}/modules/librtp.a
-lib/pulse-${PULSELIBVER}/modules/librtp.so
-lib/pulse-${PULSELIBVER}/modules/module-allow-passthrough.a
-lib/pulse-${PULSELIBVER}/modules/module-allow-passthrough.so
-${PLIST.alsa}lib/pulse-${PULSELIBVER}/modules/module-alsa-card.a
+lib/pulse-${PKGVERSION}/modules/libprotocol-cli.so
+lib/pulse-${PKGVERSION}/modules/libprotocol-http.so
+lib/pulse-${PKGVERSION}/modules/libprotocol-native.so
+lib/pulse-${PKGVERSION}/modules/libprotocol-simple.so
+lib/pulse-${PKGVERSION}/modules/libraop.so
+lib/pulse-${PKGVERSION}/modules/librtp.so
+lib/pulse-${PKGVERSION}/modules/module-allow-passthrough.so
${PLIST.alsa}lib/pulse-${PULSELIBVER}/modules/module-alsa-card.so
-${PLIST.alsa}lib/pulse-${PULSELIBVER}/modules/module-alsa-sink.a
${PLIST.alsa}lib/pulse-${PULSELIBVER}/modules/module-alsa-sink.so
-${PLIST.alsa}lib/pulse-${PULSELIBVER}/modules/module-alsa-source.a
${PLIST.alsa}lib/pulse-${PULSELIBVER}/modules/module-alsa-source.so
-lib/pulse-${PULSELIBVER}/modules/module-always-sink.a
-lib/pulse-${PULSELIBVER}/modules/module-always-sink.so
-lib/pulse-${PULSELIBVER}/modules/module-always-source.a
-lib/pulse-${PULSELIBVER}/modules/module-always-source.so
-lib/pulse-${PULSELIBVER}/modules/module-augment-properties.a
-lib/pulse-${PULSELIBVER}/modules/module-augment-properties.so
-${PLIST.bonjour}lib/pulse-${PULSELIBVER}/modules/module-bonjour-publish.a
+lib/pulse-${PKGVERSION}/modules/module-always-sink.so
+lib/pulse-${PKGVERSION}/modules/module-always-source.so
+lib/pulse-${PKGVERSION}/modules/module-augment-properties.so
${PLIST.bonjour}lib/pulse-${PULSELIBVER}/modules/module-bonjour-publish.so
-lib/pulse-${PULSELIBVER}/modules/module-card-restore.a
-lib/pulse-${PULSELIBVER}/modules/module-card-restore.so
-lib/pulse-${PULSELIBVER}/modules/module-cli-protocol-tcp.a
-lib/pulse-${PULSELIBVER}/modules/module-cli-protocol-tcp.so
-lib/pulse-${PULSELIBVER}/modules/module-cli-protocol-unix.a
-lib/pulse-${PULSELIBVER}/modules/module-cli-protocol-unix.so
-lib/pulse-${PULSELIBVER}/modules/module-cli.a
-lib/pulse-${PULSELIBVER}/modules/module-cli.so
-lib/pulse-${PULSELIBVER}/modules/module-combine-sink.a
-lib/pulse-${PULSELIBVER}/modules/module-combine-sink.so
-lib/pulse-${PULSELIBVER}/modules/module-combine.a
-lib/pulse-${PULSELIBVER}/modules/module-combine.so
-lib/pulse-${PULSELIBVER}/modules/module-console-kit.a
-lib/pulse-${PULSELIBVER}/modules/module-console-kit.so
-${PLIST.coreaudio}lib/pulse-${PULSELIBVER}/modules/module-coreaudio-detect.a
+lib/pulse-${PKGVERSION}/modules/module-card-restore.so
+lib/pulse-${PKGVERSION}/modules/module-cli-protocol-tcp.so
+lib/pulse-${PKGVERSION}/modules/module-cli-protocol-unix.so
+lib/pulse-${PKGVERSION}/modules/module-cli.so
+lib/pulse-${PKGVERSION}/modules/module-combine-sink.so
+lib/pulse-${PKGVERSION}/modules/module-combine.so
+lib/pulse-${PKGVERSION}/modules/module-console-kit.so
${PLIST.coreaudio}lib/pulse-${PULSELIBVER}/modules/module-coreaudio-detect.so
-${PLIST.coreaudio}lib/pulse-${PULSELIBVER}/modules/module-coreaudio-device.a
${PLIST.coreaudio}lib/pulse-${PULSELIBVER}/modules/module-coreaudio-device.so
-lib/pulse-${PULSELIBVER}/modules/module-dbus-protocol.a
-lib/pulse-${PULSELIBVER}/modules/module-dbus-protocol.so
-lib/pulse-${PULSELIBVER}/modules/module-default-device-restore.a
-lib/pulse-${PULSELIBVER}/modules/module-default-device-restore.so
-lib/pulse-${PULSELIBVER}/modules/module-detect.a
-lib/pulse-${PULSELIBVER}/modules/module-detect.so
-lib/pulse-${PULSELIBVER}/modules/module-device-manager.a
-lib/pulse-${PULSELIBVER}/modules/module-device-manager.so
-lib/pulse-${PULSELIBVER}/modules/module-device-restore.a
-lib/pulse-${PULSELIBVER}/modules/module-device-restore.so
-lib/pulse-${PULSELIBVER}/modules/module-echo-cancel.a
-lib/pulse-${PULSELIBVER}/modules/module-echo-cancel.so
-lib/pulse-${PULSELIBVER}/modules/module-esound-compat-spawnfd.a
-lib/pulse-${PULSELIBVER}/modules/module-esound-compat-spawnfd.so
-lib/pulse-${PULSELIBVER}/modules/module-esound-compat-spawnpid.a
-lib/pulse-${PULSELIBVER}/modules/module-esound-compat-spawnpid.so
-lib/pulse-${PULSELIBVER}/modules/module-esound-protocol-tcp.a
-lib/pulse-${PULSELIBVER}/modules/module-esound-protocol-tcp.so
-lib/pulse-${PULSELIBVER}/modules/module-esound-protocol-unix.a
-lib/pulse-${PULSELIBVER}/modules/module-esound-protocol-unix.so
-lib/pulse-${PULSELIBVER}/modules/module-esound-sink.a
-lib/pulse-${PULSELIBVER}/modules/module-esound-sink.so
-lib/pulse-${PULSELIBVER}/modules/module-filter-apply.a
-lib/pulse-${PULSELIBVER}/modules/module-filter-apply.so
-lib/pulse-${PULSELIBVER}/modules/module-filter-heuristics.a
-lib/pulse-${PULSELIBVER}/modules/module-filter-heuristics.so
-${PLIST.gsettings}lib/pulse-${PULSELIBVER}/modules/module-gsettings.a
+lib/pulse-${PKGVERSION}/modules/module-dbus-protocol.so
+lib/pulse-${PKGVERSION}/modules/module-default-device-restore.so
+lib/pulse-${PKGVERSION}/modules/module-detect.so
+lib/pulse-${PKGVERSION}/modules/module-device-manager.so
+lib/pulse-${PKGVERSION}/modules/module-device-restore.so
+lib/pulse-${PKGVERSION}/modules/module-echo-cancel.so
+lib/pulse-${PKGVERSION}/modules/module-filter-apply.so
+lib/pulse-${PKGVERSION}/modules/module-filter-heuristics.so
${PLIST.gsettings}lib/pulse-${PULSELIBVER}/modules/module-gsettings.so
-lib/pulse-${PULSELIBVER}/modules/module-http-protocol-tcp.a
-lib/pulse-${PULSELIBVER}/modules/module-http-protocol-tcp.so
-lib/pulse-${PULSELIBVER}/modules/module-http-protocol-unix.a
-lib/pulse-${PULSELIBVER}/modules/module-http-protocol-unix.so
-lib/pulse-${PULSELIBVER}/modules/module-intended-roles.a
-lib/pulse-${PULSELIBVER}/modules/module-intended-roles.so
-lib/pulse-${PULSELIBVER}/modules/module-ladspa-sink.a
-lib/pulse-${PULSELIBVER}/modules/module-ladspa-sink.so
-${PLIST.lirc}lib/pulse-${PULSELIBVER}/modules/module-lirc.a
+lib/pulse-${PKGVERSION}/modules/module-http-protocol-tcp.so
+lib/pulse-${PKGVERSION}/modules/module-http-protocol-unix.so
+lib/pulse-${PKGVERSION}/modules/module-intended-roles.so
+lib/pulse-${PKGVERSION}/modules/module-ladspa-sink.so
${PLIST.lirc}lib/pulse-${PULSELIBVER}/modules/module-lirc.so
-lib/pulse-${PULSELIBVER}/modules/module-loopback.a
-lib/pulse-${PULSELIBVER}/modules/module-loopback.so
-lib/pulse-${PULSELIBVER}/modules/module-match.a
-lib/pulse-${PULSELIBVER}/modules/module-match.so
-${PLIST.evdev}lib/pulse-${PULSELIBVER}/modules/module-mmkbd-evdev.a
+lib/pulse-${PKGVERSION}/modules/module-loopback.so
+lib/pulse-${PKGVERSION}/modules/module-match.so
${PLIST.evdev}lib/pulse-${PULSELIBVER}/modules/module-mmkbd-evdev.so
-lib/pulse-${PULSELIBVER}/modules/module-native-protocol-fd.a
-lib/pulse-${PULSELIBVER}/modules/module-native-protocol-fd.so
-lib/pulse-${PULSELIBVER}/modules/module-native-protocol-tcp.a
-lib/pulse-${PULSELIBVER}/modules/module-native-protocol-tcp.so
-lib/pulse-${PULSELIBVER}/modules/module-native-protocol-unix.a
-lib/pulse-${PULSELIBVER}/modules/module-native-protocol-unix.so
-lib/pulse-${PULSELIBVER}/modules/module-null-sink.a
-lib/pulse-${PULSELIBVER}/modules/module-null-sink.so
Home |
Main Index |
Thread Index |
Old Index