[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-ports
Subject:    Re: UPDATE: OpenAL
From:       Brad Smith <brad () comstyle ! com>
Date:       2022-10-30 0:58:20
Message-ID: 52fcf445-de0c-3b26-d61f-48891adaa9df () comstyle ! com
[Download RAW message or body]

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
>   
>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic