[Buildroot] [PATCH] openal: New package

André Hentschel nerv at dawncrow.de
Sun Oct 4 17:04:43 UTC 2015


Am 04.10.2015 um 10:12 schrieb Bernd Kuhls:
> Hi André,
> 
> several months ago I started hacking an openal package myself but
> never finished it. Here I will compare my package to your version.
> 
> Am Sat, 03 Oct 2015 19:21:53 +0200 schrieb André Hentschel:
> 
>> diff --git a/package/openal/Config.in b/package/openal/Config.in
>> new file mode 100644
>> index 0000000..8eb177b
>> --- /dev/null
>> +++ b/package/openal/Config.in
>> @@ -0,0 +1,16 @@
>> +config BR2_PACKAGE_OPENAL
>> +	bool "openal"
>> +	# OpenAL needs a backend
>> +	depends on BR2_PACKAGE_ALSA_LIB || \
>> +	           BR2_PACKAGE_PORTAUDIO || \
>> +	           BR2_PACKAGE_PULSEAUDIO
>> +	help
>> +	  OpenAL provides capabilities for playing audio in a virtual
>> +	  3D environment. Distance attenuation, doppler shift, and
>> +	  directional sound emitters are among the features handled by
>> +	  the API.
>> +
>> +comment "openal needs a backend"
>> +	depends on !BR2_PACKAGE_ALSA_LIB && \
>> +	           !BR2_PACKAGE_PORTAUDIO && \
>> +	           !BR2_PACKAGE_PULSEAUDIO
> 
> What about having a choice option defaulting to, for example, alsa?

I'll think about it

> Please add
> 
> 	http://kcat.strangesoft.net/openal.html

Done locally

> to Config.in. Openal also needs this
> 
> 	depends on BR2_TOOLCHAIN_HAS_THREADS
> 
> 	comment "openal needs a toolchain w/ threads"
> 		depends on !BR2_TOOLCHAIN_HAS_THREADS
> 
> Did you test a static build? I have this in openal.mk:
> 
> ifeq ($(BR2_STATIC_LIBS),y)
> OPENAL_CONF_OPTS += -DLIBTYPE=STATIC
> endif

Done that locally, thanks.
I'll reiterate in a week hopefully.
Thank you very much for the comments!



More information about the buildroot mailing list