package/jack1: libsndfile is optional, not mandatory

libsndfile is only needed to build jackrec example client

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Fabrice Fontaine 2022-03-20 22:18:15 +01:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 05bbdfa382
commit 9a78a75613
2 changed files with 5 additions and 2 deletions

View File

@ -10,7 +10,6 @@ config BR2_PACKAGE_JACK1
select BR2_PACKAGE_ALSA_LIB_RAWMIDI
select BR2_PACKAGE_ALSA_LIB_SEQ
select BR2_PACKAGE_BERKELEYDB
select BR2_PACKAGE_LIBSNDFILE
help
JACK Audio Connection Kit (JACK 1 implementation).

View File

@ -11,12 +11,16 @@ JACK1_LICENSE = GPL-2.0+ (jack server), LGPL-2.1+ (jack library)
JACK1_LICENSE_FILES = COPYING COPYING.GPL COPYING.LGPL
JACK1_INSTALL_STAGING = YES
JACK1_DEPENDENCIES = host-pkgconf alsa-lib berkeleydb libsndfile
JACK1_DEPENDENCIES = host-pkgconf alsa-lib berkeleydb
ifeq ($(BR2_PACKAGE_LIBSAMPLERATE),y)
JACK1_DEPENDENCIES += libsamplerate
endif
ifeq ($(BR2_PACKAGE_LIBSNDFILE),y)
JACK1_DEPENDENCIES += libsndfile
endif
ifeq ($(BR2_PACKAGE_READLINE),y)
JACK1_DEPENDENCIES += readline
endif