|
@@ -20,16 +20,32 @@ PULSEAUDIO_CONF_OPTS = \
|
|
|
-Dtests=false
|
|
|
|
|
|
PULSEAUDIO_DEPENDENCIES = \
|
|
|
- host-pkgconf libtool libsndfile speex libglib2 \
|
|
|
- $(TARGET_NLS_DEPENDENCIES) \
|
|
|
- $(if $(BR2_PACKAGE_AVAHI_DAEMON),avahi) \
|
|
|
- $(if $(BR2_PACKAGE_DBUS),dbus) \
|
|
|
- $(if $(BR2_PACKAGE_OPENSSL),openssl) \
|
|
|
- $(if $(BR2_PACKAGE_FFTW_SINGLE),fftw-single) \
|
|
|
- $(if $(BR2_PACKAGE_SYSTEMD),systemd)
|
|
|
+ host-pkgconf libtool libsndfile libglib2 \
|
|
|
+ $(TARGET_NLS_DEPENDENCIES)
|
|
|
|
|
|
PULSEAUDIO_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_AVAHI_DAEMON),y)
|
|
|
+PULSEAUDIO_CONF_OPTS += -Davahi=enabled
|
|
|
+PULSEAUDIO_DEPENDENCIES += avahi
|
|
|
+else
|
|
|
+PULSEAUDIO_CONF_OPTS += -Davahi=disabled
|
|
|
+endif
|
|
|
+
|
|
|
+ifeq ($(BR2_PACKAGE_DBUS),y)
|
|
|
+PULSEAUDIO_CONF_OPTS += -Ddbus=enabled
|
|
|
+PULSEAUDIO_DEPENDENCIES += dbus
|
|
|
+else
|
|
|
+PULSEAUDIO_CONF_OPTS += -Ddbus=disabled
|
|
|
+endif
|
|
|
+
|
|
|
+ifeq ($(BR2_PACKAGE_FFTW_SINGLE),y)
|
|
|
+PULSEAUDIO_CONF_OPTS += -Dfftw=enabled
|
|
|
+PULSEAUDIO_DEPENDENCIES += fftw-single
|
|
|
+else
|
|
|
+PULSEAUDIO_CONF_OPTS += -Dfftw=disabled
|
|
|
+endif
|
|
|
+
|
|
|
ifeq ($(BR2_PACKAGE_LIBSAMPLERATE),y)
|
|
|
PULSEAUDIO_CONF_OPTS += -Dsamplerate=enabled
|
|
|
PULSEAUDIO_DEPENDENCIES += libsamplerate
|
|
@@ -58,6 +74,20 @@ PULSEAUDIO_CFLAGS = $(TARGET_CFLAGS) -DAO_NO_SPARC_V9
|
|
|
endif
|
|
|
endif
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_LIRC_TOOLS),y)
|
|
|
+PULSEAUDIO_DEPENDENCIES += lirc-tools
|
|
|
+PULSEAUDIO_CONF_OPTS += -Dlirc=enabled
|
|
|
+else
|
|
|
+PULSEAUDIO_CONF_OPTS += -Dlirc=disabled
|
|
|
+endif
|
|
|
+
|
|
|
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
|
+PULSEAUDIO_CONF_OPTS += -Dopenssl=enabled
|
|
|
+PULSEAUDIO_DEPENDENCIES += openssl
|
|
|
+else
|
|
|
+PULSEAUDIO_CONF_OPTS += -Dopenssl=disabled
|
|
|
+endif
|
|
|
+
|
|
|
ifeq ($(BR2_PACKAGE_ORC),y)
|
|
|
PULSEAUDIO_DEPENDENCIES += orc
|
|
|
PULSEAUDIO_CONF_ENV += ORCC=$(HOST_DIR)/bin/orcc
|
|
@@ -132,6 +162,27 @@ else
|
|
|
PULSEAUDIO_CONF_OPTS += -Dx11=disabled
|
|
|
endif
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_SPEEX),y)
|
|
|
+PULSEAUDIO_CONF_OPTS += -Dspeex=enabled
|
|
|
+PULSEAUDIO_DEPENDENCIES += speex
|
|
|
+else
|
|
|
+PULSEAUDIO_CONF_OPTS += -Dspeex=disabled
|
|
|
+endif
|
|
|
+
|
|
|
+ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
|
|
+PULSEAUDIO_CONF_OPTS += -Dsystemd=enabled
|
|
|
+PULSEAUDIO_DEPENDENCIES += systemd
|
|
|
+else
|
|
|
+PULSEAUDIO_CONF_OPTS += -Dsystemd=disabled
|
|
|
+endif
|
|
|
+
|
|
|
+ifeq ($(BR2_PACKAGE_VALGRIND),y)
|
|
|
+PULSEAUDIO_CONF_OPTS += -Dvalgrind=enabled
|
|
|
+PULSEAUDIO_DEPENDENCIES += valgrind
|
|
|
+else
|
|
|
+PULSEAUDIO_CONF_OPTS += -Dvalgrind=disabled
|
|
|
+endif
|
|
|
+
|
|
|
# ConsoleKit module init failure breaks user daemon startup
|
|
|
define PULSEAUDIO_REMOVE_CONSOLE_KIT
|
|
|
rm -f $(TARGET_DIR)/usr/lib/pulse-$(PULSEAUDIO_VERSION)/modules/module-console-kit.so
|