On 10/29/2022 6:02 PM, Brad Smith wrote:
> - Enable the SSE support on X86; there is run-time detection
> - Disable NEON on arm
> - The ALSOFT_CONFIG option has been deprecated
> - The QSA backend was removed with the 1.21.0 release
> - Sort the list of options
To add to this there is arm64 NEON support. Which is already enabled as
it was not
explicitly disabled.
>
> Index: Makefile
> ===================================================================
> RCS file: /home/cvs/ports/audio/openal/Makefile,v
> retrieving revision 1.62
> diff -u -p -u -p -r1.62 Makefile
> --- Makefile 29 Oct 2022 19:07:11 -0000 1.62
> +++ Makefile 29 Oct 2022 20:59:51 -0000
> @@ -3,7 +3,7 @@ COMMENT = cross-platform 3D audio API
> V = 1.22.2
> DISTNAME = openal-soft-$V
> PKGNAME = openal-$V
> -REVISION = 0
> +REVISION = 1
> EPOCH = 0
> CATEGORIES = audio
>
> @@ -23,29 +23,26 @@ EXTRACT_SUFX = .tar.bz2
>
> LIB_DEPENDS += audio/libmysofa
>
> -CONFIGURE_ARGS =-DCMAKE_BUILD_TYPE=OpenBSD \
> - -DALSOFT_CONFIG=share/examples/openal \
> +CONFIGURE_ARGS =-DALSOFT_BACKEND_PIPEWIRE=Off \
> + -DALSOFT_BACKEND_WAVE=Off \
> -DALSOFT_DLOPEN=Off \
> - -DALSOFT_UTILS=On \
> -DALSOFT_EXAMPLES=Off \
> - -DALSOFT_REQUIRE_SNDIO=On \
> + -DALSOFT_NO_CONFIG_UTIL=On \
> -DALSOFT_RTKIT=Off \
> - -DALSOFT_BACKEND_PIPEWIRE=Off \
> - -DALSOFT_BACKEND_WAVE=Off \
> - -DALSOFT_CPUEXT_SSE=Off \
> - -DALSOFT_CPUEXT_SSE2=Off \
> - -DALSOFT_CPUEXT_SSE3=Off \
> - -DALSOFT_CPUEXT_SSE4_1=Off \
> + -DCMAKE_BUILD_TYPE=OpenBSD \
> -DCMAKE_DISABLE_FIND_PACKAGE_ALSA:Bool=Yes \
> -DCMAKE_DISABLE_FIND_PACKAGE_AudioIO:Bool=Yes \
> -DCMAKE_DISABLE_FIND_PACKAGE_JACK:Bool=Yes \
> + -DCMAKE_DISABLE_FIND_PACKAGE_OpenSL:Bool=Yes \
> -DCMAKE_DISABLE_FIND_PACKAGE_OSS:Bool=Yes \
> -DCMAKE_DISABLE_FIND_PACKAGE_PortAudio:Bool=Yes \
> -DCMAKE_DISABLE_FIND_PACKAGE_PulseAudio:Bool=Yes \
> - -DCMAKE_DISABLE_FIND_PACKAGE_QSA:Bool=Yes \
> -DCMAKE_DISABLE_FIND_PACKAGE_SDL2:Bool=Yes \
> - -DCMAKE_DISABLE_FIND_PACKAGE_SndFile:Bool=Yes \
> - -DALSOFT_NO_CONFIG_UTIL=On
> + -DCMAKE_DISABLE_FIND_PACKAGE_SndFile:Bool=Yes
> +
> +.if ${MACHINE_ARCH} == "arm"
> +CONFIGURE_ARGS +=-DALSOFT_CPUEXT_NEON=Off
> +.endif
>
> MODULES = devel/cmake
>
>
No comments:
Post a Comment