pulseaudio: fix libsamplerate dependency
The (deprecated) libsamplerate support is not enabled unless --enable-samplerate is passed to configure. Fix this. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
8a560563f9
commit
5b85c6a038
@ -17,7 +17,6 @@ PULSEAUDIO_CONF_OPTS = \
|
|||||||
|
|
||||||
PULSEAUDIO_DEPENDENCIES = \
|
PULSEAUDIO_DEPENDENCIES = \
|
||||||
host-pkgconf libtool libsndfile speex host-intltool \
|
host-pkgconf libtool libsndfile speex host-intltool \
|
||||||
$(if $(BR2_PACKAGE_LIBSAMPLERATE),libsamplerate) \
|
|
||||||
$(if $(BR2_PACKAGE_LIBGLIB2),libglib2) \
|
$(if $(BR2_PACKAGE_LIBGLIB2),libglib2) \
|
||||||
$(if $(BR2_PACKAGE_AVAHI_DAEMON),avahi) \
|
$(if $(BR2_PACKAGE_AVAHI_DAEMON),avahi) \
|
||||||
$(if $(BR2_PACKAGE_DBUS),dbus) \
|
$(if $(BR2_PACKAGE_DBUS),dbus) \
|
||||||
@ -25,6 +24,13 @@ PULSEAUDIO_DEPENDENCIES = \
|
|||||||
$(if $(BR2_PACKAGE_FFTW),fftw) \
|
$(if $(BR2_PACKAGE_FFTW),fftw) \
|
||||||
$(if $(BR2_PACKAGE_SYSTEMD),systemd)
|
$(if $(BR2_PACKAGE_SYSTEMD),systemd)
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBSAMPLERATE),y)
|
||||||
|
PULSEAUDIO_CONF_OPTS += --enable-samplerate
|
||||||
|
PULSEAUDIO_DEPENDENCIES += libsamplerate
|
||||||
|
else
|
||||||
|
PULSEAUDIO_CONF_OPTS += --disable-samplerate
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_GDBM),y)
|
ifeq ($(BR2_PACKAGE_GDBM),y)
|
||||||
PULSEAUDIO_CONF_OPTS += --with-database=gdbm
|
PULSEAUDIO_CONF_OPTS += --with-database=gdbm
|
||||||
PULSEAUDIO_DEPENDENCIES += gdbm
|
PULSEAUDIO_DEPENDENCIES += gdbm
|
||||||
|
Loading…
Reference in New Issue
Block a user