summaryrefslogtreecommitdiff
path: root/meson.build
AgeCommit message (Collapse)AuthorFilesLines
2024-05-01build-sys: Fix running on macOSHEADmasterMohamed Akram1-2/+1
Ensure modules are built as .so files so that they are found by ltdl at runtime. Fix HAVE_COREAUDIO not being set on macOS leading to sound not working in the default configuration. Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/3808 Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/817>
2023-09-01build-sys: Bump cpp_std to c++17Arun Raghavan1-1/+1
Match it with webrtc-audio-processing, which is what we care about. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/795>
2023-08-12build-sys: Bump .so version 16.99.1Arun Raghavan1-1/+1
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/793>
2023-08-12alsa-mixer: Respect XDG base directory spec when loading profile setsSimonP1-2/+1
Try $XDG_DATA_HOME, then $XDG_DATA_DIRS, and finally fall back to old behaviour. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/311>
2023-05-25build-sys: Bump webrtc-audio-processing dependencyArun Raghavan1-1/+1
The package name and versioning are changing upstream, so prepare for that. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/395>
2022-12-07build-sys: Fix macOS buildShunsuke Shimizu1-2/+8
* Enable macOS specific modules (module-bonjour-publish, module-coreaudio-detect and module-coreaudio-device) * Correctly set `PA_SOEXT` (.so, .dylib and .dll) * Build `poll-posix.c` and `semaphore-osx.c` * Drop linker flag `-Wl,-z,nodelete` on Darwin * Drop linker flag `-Wl,--no-undefined` on Darwin * Prefer to `clock_gettime` over compat impl for old Darwin * Disable SCM credential on Darwin Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/746>
2022-08-15Make gio-2.0 optional when gsettings is disabledYureka1-1/+1
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/654>
2022-08-15meson.build: fix build without C++Fabrice Fontaine1-1/+2
Fix the following build failure without C++: ../output-1/build/pulseaudio-16.1/meson.build:1:0: ERROR: Unknown compiler(s): [['/home/autobuild/autobuild/instance-1/output-1/per-package/pulseaudio/host/bin/powerpc64-buildroot-linux-gnu-g++']] The following exception(s) were encountered: Running "/home/autobuild/autobuild/instance-1/output-1/per-package/pulseaudio/host/bin/powerpc64-buildroot-linux-gnu-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-1/output-1/per-package/pulseaudio/host/bin/powerpc64-buildroot-linux-gnu-g++'" Fixes: - http://autobuild.buildroot.org/results/6526a21bd4da3b8458188f27c1ec04c381e4b673 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/737>
2022-08-01meson: fix meson warningsRosen Penev1-2/+4
Signed-off-by: Rosen Penev <rosenp@gmail.com> Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/739>
2022-07-18build-sys: Fix atomic support detectionNicolas Cavallari1-4/+6
Attempting to use atomics operations on an architecture that does not support them generally results in a link error: ld: /tmp/ccjYcMPP.o: in function `func': testfile.c:(.text+0x1c): undefined reference to `__sync_bool_compare_and_swap_4' The current build system uses cc.compiles() to check if atomic ops are supported, but cc.compiles() does not attempt to link, so the test fails to enable libatomics_opts. Fix this by using cc.links() instead of cc.compiles(). Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr> Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/732>
2022-06-13build-sys: meson: Make module-console-kit optionalIgor V. Kovalenko1-0/+5
Default build configuration would fail to run on a system without systemd-logind (or elogind) and without ConsoleKit daemon responding on dbus interface. Here, module-console-kit would fail to initialize, preventing daemon from starting. Make module-console-kit an optional build feature to allow opt-out. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/719>
2022-05-28build-sys: Bump soversion for 16.0 releasev16.0Arun Raghavan1-1/+1
Just a minor time smoother 2 related change in libpulse implementation. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/714>
2022-02-21build-sys: Bump libpulse soversion for 16.0Arun Raghavan1-1/+1
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/690>
2021-11-17build-sys: meson: Make glib and fftw common dependenciesIgor V. Kovalenko1-13/+13
GSettings module (daemon) requires both gio and glib, move glib to common block. qpaeq requires fftw, move fftw to common block. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/659>
2021-11-17build-sys: meson: Fix indentation in daemon/client blocksIgor V. Kovalenko1-55/+55
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/659>
2021-11-17build-sys: meson: Rearrange shell completion between daemon and clientIgor V. Kovalenko1-3/+1
Rename bash completion file to pactl and install it with client build. Completions specific to daemon are now just symlinks, create target directory first to install them. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/659>
2021-11-17build-sys: meson: Rearrange dependencies under client and daemon optionsIgor V. Kovalenko1-237/+261
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/659>
2021-11-17build-sys: meson: change daemon-only to clientIgor V. Kovalenko1-7/+7
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/659>
2021-11-17build-sys: meson: Allow building the daemon onlyMart Raudsepp1-3/+20
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/659>
2021-11-17build-sys: meson: Relax sanity checks for daemonless buildsMart Raudsepp1-3/+3
Echo canceller, udev and speex resampling is only used by the daemon, so don't error or warn about those in -Ddaemon=false builds. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/659>
2021-11-03Add configuration option enable-smoother-2 to enable alternative smoother codeGeorg Chini1-0/+4
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/55>
2021-09-22Install modules in bindir for WindowsBiswapriyo Nath1-0/+5
Windows only loads DLLs from the same directory as the executable. This fixes module loading failure by putting it in same directory. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/633>
2021-08-25build-sys: Remove version number from the module pathTanu Kaskinen1-1/+1
When packaging a new version for OpenEmbedded, I use the buildhistory-diff tool to check what changed between the versions. The version number in the module directory means that I get tons of diff output due to changes in file paths. There are many removed and added files and it's hard to see if something else than just the version number changed. That motivated me to write this patch. Removing the version number has the downside that it makes it easier to have version mismatches between the daemon and the modules, but https://gitlab.freedesktop.org/pulseaudio/pulseaudio/merge_requests/249 will make the handling of such situations better. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/230>
2021-08-11build-sys: meson: Check if cpuid.h header is usableIgor V. Kovalenko1-1/+13
With clang compiler including cpuid.h will produce error if architecture is not x86-based, and cheching if cpuid.h exists via Meson has_header() is not enough. Fix this by creating a list of headers checked to be usable via Meson check_header() function, and move cpuid.h to that list. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/614>
2021-08-11build-sys: meson: Require xice, xsm and xtst for daemon onlyIgor V. Kovalenko1-3/+3
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/613>
2021-07-27build-sys: Fix a warning related to avahi and config datav15.0Arun Raghavan1-0/+2
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/608>
2021-07-27build-sys: Fix a warning related to gsettings and config dataArun Raghavan1-0/+2
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/607>
2021-06-21build-sys: meson: Require bluez dependency if bluez5 feature is enabledIgor V. Kovalenko1-4/+6
Build breaks if bluez5 and bluez5-native-headset are both enabled but bluez headers are not available. Fix this by changing `bluez5` to Meson feature requiring `bluez` dependency. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/583>
2021-06-21build-sys: meson: require GIO dependency for RTP-GStreamerIgor V. Kovalenko1-2/+4
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/584>
2021-06-03build-sys: meson: restore big endian detectionIgor V. Kovalenko1-0/+4
Autotools used AC_C_BIGENDIAN to set WORDS_BIGENDIAN, add Meson implementation. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/572>
2021-05-19build-sys: meson: make doxygen optionalIgor V. Kovalenko1-1/+3
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/558>
2021-05-18build-sys: meson: only require libltdl if daemon is builtIgor V. Kovalenko1-2/+5
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/557>
2021-05-17build-sys: Fix a couple of meson warningsv14.99.1Arun Raghavan1-0/+1
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/556>
2021-05-17build-sys: Bump libpulse soversionArun Raghavan1-1/+1
Lots of changes, particularly related to the messaging API. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/555>
2021-04-19build-sys: meson: allow building client libraries onlyIgor V. Kovalenko1-0/+2
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/540>
2021-04-05bluetooth: add support for mSBC codecJames Bottomley1-0/+1
Adding processing support for the mSBC codec is somewhat problematic, because, although it is a SBC codec, the a2dp handling can't simply be reused because the codec is used on an eSCO link with transparent data, meaning the transmission unit has to be 48 bytes (fragmenting the codec packets) and reassembly and boundary detection is required to be done by the implementation. Therefore we have to implement separate render and push routines for msbc that do this fragmentation. Fragmentation is done by emulating circular buffers. The receive (push) buffer is easy, since the mSBC packet size is 60, simply have a buffer of this size in the sbc_info area where the fragments are reassembled. Once we have a full 60 bytes, decode and restart from zero. The send (render) buffer is more problematic, since the transmit must be done from contiguous memory. This means that the buffer must be the lowest common multiple of the transmission unit and the packet size. This value is 240 since 240/48 == 5 and 240/60 == 4. So the buffer pointers are reset at 240 which is a whole number of both rendered packets and eSCO transmission units. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/507>
2021-03-15build-sys: meson: fix meson dist versionIgor V. Kovalenko1-0/+2
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/516>
2021-02-12build-sys: meson: support elogind alternative for module-systemd-loginIgor V. Kovalenko1-0/+6
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/502>
2021-02-12build-sys: meson: add tcp-wrappersIgor V. Kovalenko1-1/+6
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/498>
2021-02-12build-sys: drop gconf supportIgor V. Kovalenko1-1/+0
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/499>
2021-01-19bluetooth: Add aptX support via GStreamerSanchayan Maity1-0/+1
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/440>
2021-01-19bluetooth: Add LDAC support via GStreamerSanchayan Maity1-0/+1
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/440>
2021-01-19bluetooth: Add a generic GStreamer codec moduleSanchayan Maity1-0/+8
This adds a generic gstreamer codec module based on which other bluetooth codecs viz. aptX, aptX-HD, LDAC and AAC can be supported. The GStreamer codec plugins used here themselves depend on the native codec implementation. aptX/aptX-HD -> libopenaptx LDAC -> libldac AAC -> Fraunhofer FDK AAC Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/440>
2021-01-18build-sys: meson: only warn about lack of udev on LinuxGreg V1-1/+1
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277>
2021-01-18module-devd-detect: new module for soundcard hotplug on FreeBSDGreg V1-0/+2
Used in addition to module-detect, since devd only provides hotplug events. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277>
2021-01-18build-sys: meson: support memfd without SYS_memfd_create (FreeBSD 13)Greg V1-1/+2
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277>
2021-01-18build-sys: meson: add execinfo dependency for FreeBSDGreg V1-0/+3
For 'backtrace' and related symbols Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277>
2021-01-18build-sys: meson: check for shm_open even if it's in libc (FreeBSD), not librtGreg V1-1/+1
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277>
2021-01-18build-sys: meson: when libc iconv is used, tell libiconv header to pretend ↵Greg V1-0/+2
to be libc's iconv The libiconv header on FreeBSD would be preferred by include path, but we don't want to link to libiconv, so tell its header to act like the system header. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277>
2021-01-18build-sys: meson: set HAVE_DLADDR even if it's in libc (FreeBSD), not libdlGreg V1-1/+1
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277>