summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@smile.fr>2017-07-05 13:22:04 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 13:24:42 +0200
commit632b6f14775436ba785a1890b43bbfdf3aea9b07 (patch)
tree23fc90d3efce023cdd1b5b55b19daa581e4c15f4
parent90536c3dfc8e375ebac2042ae9741e98b4ebc8f5 (diff)
downloadbuildroot-632b6f14775436ba785a1890b43bbfdf3aea9b07.tar.gz
buildroot-632b6f14775436ba785a1890b43bbfdf3aea9b07.zip
package/pulseaudio: update the condition on NLS
Since the BR2_SYSTEM_ENABLE_NLS has been introduced [1], the NLS support can be disabled when BR2_ENABLE_LOCALE is enabled. So change BR2_ENABLE_LOCALE by BR2_SYSTEM_ENABLE_NLS and while at it use a positive logic. Fixes: [nios2] http://autobuild.buildroot.net/results/b69/b69c347e2866a97cc2c5d4844d567c4448592d72 [xtensa] http://autobuild.buildroot.net/results/b63/b63fd204fe36200ed5de70fff23cb59cf2bc778c [1] dc057d2865afafbf76c2bc2685d2dfe852ba7c54 Signed-off-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/pulseaudio/pulseaudio.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/pulseaudio/pulseaudio.mk b/package/pulseaudio/pulseaudio.mk
index 54a9a61e79..d6088b23a0 100644
--- a/package/pulseaudio/pulseaudio.mk
+++ b/package/pulseaudio/pulseaudio.mk
@@ -117,7 +117,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
OpenPOWER on IntegriCloud