6917b86946
Also fixes: http://autobuild.buildroot.net/results/be8df2bcb1af6dc553b5d4e31a926baf9f942249/ http://autobuild.buildroot.net/results/a1fd410ef06441e69e508ec42fad35bde1513582/ http://autobuild.buildroot.net/results/1f1306b2139efc940a0b0e4829ab6b5aaafc8823/ Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
################################################################################
|
|
#
|
|
# openal
|
|
#
|
|
################################################################################
|
|
|
|
OPENAL_VERSION = 1.17.1
|
|
OPENAL_SOURCE = openal-soft-$(OPENAL_VERSION).tar.bz2
|
|
OPENAL_SITE = http://kcat.strangesoft.net/openal-releases
|
|
OPENAL_LICENSE = LGPLv2+
|
|
OPENAL_LICENSE_FILES = COPYING
|
|
OPENAL_INSTALL_STAGING = YES
|
|
|
|
# We don't need the utilities, Distros don't ship them either
|
|
OPENAL_CONF_OPTS += -DALSOFT_UTILS=OFF
|
|
|
|
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
|
|
OPENAL_DEPENDENCIES += alsa-lib
|
|
OPENAL_CONF_OPTS += -DALSOFT_REQUIRE_ALSA=ON
|
|
else
|
|
OPENAL_CONF_OPTS += -DALSOFT_REQUIRE_ALSA=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_JACK2),y)
|
|
OPENAL_DEPENDENCIES += jack2
|
|
OPENAL_CONF_OPTS += -DALSOFT_REQUIRE_JACK=ON
|
|
else
|
|
OPENAL_CONF_OPTS += -DALSOFT_REQUIRE_JACK=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_PORTAUDIO),y)
|
|
OPENAL_DEPENDENCIES += portaudio
|
|
OPENAL_CONF_OPTS += -DALSOFT_REQUIRE_PORTAUDIO=ON
|
|
else
|
|
OPENAL_CONF_OPTS += -DALSOFT_REQUIRE_PORTAUDIO=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_PULSEAUDIO),y)
|
|
OPENAL_DEPENDENCIES += pulseaudio
|
|
OPENAL_CONF_OPTS += -DALSOFT_REQUIRE_PULSEAUDIO=ON
|
|
else
|
|
OPENAL_CONF_OPTS += -DALSOFT_REQUIRE_PULSEAUDIO=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
OPENAL_CONF_OPTS += -DLIBTYPE=STATIC
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|