[Bug 259255] audio/portaudio: support ALSA by option

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 06 Apr 2024 09:31:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259255

Tatsuki Makino <tatsuki_makino@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #228816|maintainer-approval?        |
              Flags|                            |
 Attachment #228816|0                           |1
        is obsolete|                            |
 Attachment #228818|0                           |1
        is obsolete|                            |

--- Comment #5 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
Created attachment 249753
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=249753&action=edit
experimental patch for audio/portaudio

If ALSA is to be used, at least the latest stable version must be used.
There is a bug that prevents it from getting all devices if combined with the
current version of alsa-lib.
So I have re-created the patch including the update.

Below is a memorandum of understanding for not only enabling ALSA support, but
also assuming this is an update as is.

Changed to USE_GITHUB because releases are too infrequent.
PORTVERSION is 19.7.0 because it uses the value defined in
${WRKSRC}/src/common/pa_front.c.
Since sndio is now supported by stock, the patch that was included from
fed5cabe2d35c87d5914e8e5336829addc2e83fd has been removed.
Functions that had been added in the patch for OSS API (from   
1f33b362e2d9956918259d4929975868f7d467ee) have been removed. This was because
it was no longer considered to be in use.
Since it has PulseAudio support, it no longer makes sense to make ALSA
available :)
Switched to cmake.
This led to the creation of the example binary.
Therefore, it is necessary to reconsider whether to install the source code.
C++ binding may need to split the port.
And so on...

-- 
You are receiving this mail because:
You are the assignee for the bug.