[Bug 276728] multimedia/obs-studio: Fix BROKEN state when OPTIONS_UNSET+=PULSEAUDIO

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 30 Jan 2024 09:45:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276728

            Bug ID: 276728
           Summary: multimedia/obs-studio: Fix BROKEN state when
                    OPTIONS_UNSET+=PULSEAUDIO
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: syobon@syobon.net
          Assignee: yuri@freebsd.org
             Flags: maintainer-feedback?(yuri@freebsd.org)

Created attachment 248078
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=248078&action=edit
patch

It seems -DDISABLE_JACK, -DDISABLE_PULSEAUDIO and -DDISABLE_SNDIO is obsolete,
and should be migrated to -DENABLE_JACK=FALSE, -DENABLE_PULSEAUDIO=FALSE and
-DENABLE_SNDIO=FALSE.

With this change, obs-studio no longer depends on PulseAudio when
OPTIONS_UNSET+=PULSEAUDIO, and PULSEAUDIO_BROKEN_OFF can now be removed.

Also, as I could build and run obs-studio without any audio backends, it does
not seem necessary to set "Audio backends" section as OPTIONS_MULTI.

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