Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -4,39 +4,33 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PULSEAUDIO_VERSION = 9.0
|
||||
PULSEAUDIO_VERSION = 11.1
|
||||
PULSEAUDIO_SOURCE = pulseaudio-$(PULSEAUDIO_VERSION).tar.xz
|
||||
PULSEAUDIO_SITE = http://freedesktop.org/software/pulseaudio/releases
|
||||
PULSEAUDIO_INSTALL_STAGING = YES
|
||||
PULSEAUDIO_LICENSE = LGPLv2.1+ (specific license for modules, see LICENSE file)
|
||||
PULSEAUDIO_LICENSE = LGPL-2.1+ (specific license for modules, see LICENSE file)
|
||||
PULSEAUDIO_LICENSE_FILES = LICENSE GPL LGPL
|
||||
PULSEAUDIO_CONF_OPTS = \
|
||||
--disable-default-build-tests \
|
||||
--disable-legacy-database-entry-format \
|
||||
--disable-manpages
|
||||
|
||||
# Make sure we don't detect libatomic_ops. Indeed, since pulseaudio
|
||||
# requires json-c, which needs 4 bytes __sync builtins, there should
|
||||
# be no need for pulseaudio to rely on libatomic_ops.
|
||||
PULSEAUDIO_CONF_ENV += \
|
||||
ac_cv_header_atomic_ops_h=no
|
||||
|
||||
# 0002-webrtc-C-11-is-only-required-for-WebRTC-support.patch
|
||||
PULSEAUDIO_AUTORECONF = YES
|
||||
|
||||
PULSEAUDIO_DEPENDENCIES = \
|
||||
host-pkgconf libtool json-c libsndfile speex host-intltool \
|
||||
$(if $(BR2_PACKAGE_LIBSAMPLERATE),libsamplerate) \
|
||||
$(if $(BR2_PACKAGE_ALSA_LIB),alsa-lib) \
|
||||
host-pkgconf libtool libsndfile speex host-intltool \
|
||||
$(if $(BR2_PACKAGE_LIBGLIB2),libglib2) \
|
||||
$(if $(BR2_PACKAGE_AVAHI_DAEMON),avahi) \
|
||||
$(if $(BR2_PACKAGE_DBUS),dbus) \
|
||||
$(if $(BR2_PACKAGE_BLUEZ_UTILS),bluez_utils) \
|
||||
$(if $(BR2_PACKAGE_BLUEZ5_UTILS),bluez5_utils) \
|
||||
$(if $(BR2_PACKAGE_OPENSSL),openssl) \
|
||||
$(if $(BR2_PACKAGE_FFTW),fftw) \
|
||||
$(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)
|
||||
PULSEAUDIO_CONF_OPTS += --with-database=gdbm
|
||||
PULSEAUDIO_DEPENDENCIES += gdbm
|
||||
@@ -51,9 +45,16 @@ else
|
||||
PULSEAUDIO_CONF_OPTS += --disable-jack
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBATOMIC_OPS),y)
|
||||
PULSEAUDIO_DEPENDENCIES += libatomic_ops
|
||||
ifeq ($(BR2_sparc_v8)$(BR2_sparc_leon3),y)
|
||||
PULSEAUDIO_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -DAO_NO_SPARC_V9"
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ORC),y)
|
||||
PULSEAUDIO_DEPENDENCIES += orc
|
||||
PULSEAUDIO_CONF_ENV += ORCC=$(HOST_DIR)/usr/bin/orcc
|
||||
PULSEAUDIO_CONF_ENV += ORCC=$(HOST_DIR)/bin/orcc
|
||||
PULSEAUDIO_CONF_OPTS += --enable-orc
|
||||
else
|
||||
PULSEAUDIO_CONF_OPTS += --disable-orc
|
||||
@@ -81,6 +82,20 @@ else
|
||||
PULSEAUDIO_CONF_OPTS += --without-soxr
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BLUEZ_UTILS)$(BR2_PACKAGE_SBC),yy)
|
||||
PULSEAUDIO_CONF_OPTS += --enable-bluez4
|
||||
PULSEAUDIO_DEPENDENCIES += bluez_utils sbc
|
||||
else
|
||||
PULSEAUDIO_CONF_OPTS += --disable-bluez4
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS)$(BR2_PACKAGE_SBC),yy)
|
||||
PULSEAUDIO_CONF_OPTS += --enable-bluez5
|
||||
PULSEAUDIO_DEPENDENCIES += bluez5_utils sbc
|
||||
else
|
||||
PULSEAUDIO_CONF_OPTS += --disable-bluez5
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||
PULSEAUDIO_CONF_OPTS += --enable-udev
|
||||
PULSEAUDIO_DEPENDENCIES += udev
|
||||
@@ -109,7 +124,10 @@ PULSEAUDIO_CONF_OPTS += --enable-neon-opt=no
|
||||
endif
|
||||
|
||||
# pulseaudio alsa backend needs pcm/mixer apis
|
||||
ifneq ($(BR2_PACKAGE_ALSA_LIB_PCM)$(BR2_PACKAGE_ALSA_LIB_MIXER),yy)
|
||||
ifeq ($(BR2_PACKAGE_ALSA_LIB_PCM)$(BR2_PACKAGE_ALSA_LIB_MIXER),yy)
|
||||
PULSEAUDIO_DEPENDENCIES += alsa-lib
|
||||
PULSEAUDIO_CONF_OPTS += --enable-alsa
|
||||
else
|
||||
PULSEAUDIO_CONF_OPTS += --disable-alsa
|
||||
endif
|
||||
|
||||
@@ -118,7 +136,7 @@ PULSEAUDIO_DEPENDENCIES += libxcb xlib_libSM xlib_libXtst
|
||||
|
||||
# .desktop file generation needs nls support, so fake it for !locale builds
|
||||
# https://bugs.freedesktop.org/show_bug.cgi?id=54658
|
||||
ifneq ($(BR2_ENABLE_LOCALE),y)
|
||||
ifeq ($(BR2_SYSTEM_ENABLE_NLS),)
|
||||
define PULSEAUDIO_FIXUP_DESKTOP_FILES
|
||||
cp $(@D)/src/daemon/pulseaudio.desktop.in \
|
||||
$(@D)/src/daemon/pulseaudio.desktop
|
||||
@@ -130,11 +148,17 @@ else
|
||||
PULSEAUDIO_CONF_OPTS += --disable-x11
|
||||
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
|
||||
endef
|
||||
|
||||
define PULSEAUDIO_REMOVE_VALA
|
||||
rm -rf $(TARGET_DIR)/usr/share/vala
|
||||
endef
|
||||
|
||||
PULSEAUDIO_POST_INSTALL_TARGET_HOOKS += PULSEAUDIO_REMOVE_VALA
|
||||
PULSEAUDIO_POST_INSTALL_TARGET_HOOKS += PULSEAUDIO_REMOVE_VALA \
|
||||
PULSEAUDIO_REMOVE_CONSOLE_KIT
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PULSEAUDIO_DAEMON),y)
|
||||
define PULSEAUDIO_USERS
|
||||
|
||||
Reference in New Issue
Block a user