summaryrefslogtreecommitdiff
path: root/package/openal
diff options
context:
space:
mode:
authorAndré Hentschel <nerv@dawncrow.de>2015-12-13 23:23:15 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-12-13 23:30:17 +0100
commit6a69e28d15253fe75a8a1051e60750842e126196 (patch)
tree53564de82e9cc2c09c68f8d3b56d515275e6abaf /package/openal
parent90e5cea9cf44dde7eb8131de37273a4111e6d279 (diff)
openal: Add jack2 dependency
Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/openal')
-rw-r--r--package/openal/openal.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/openal/openal.mk b/package/openal/openal.mk
index 058052648..b2e02c895 100644
--- a/package/openal/openal.mk
+++ b/package/openal/openal.mk
@@ -18,6 +18,13 @@ 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