PKG_NAME:=pulseaudio
PKG_VERSION:=13.0
-PKG_RELEASE:=4
+PKG_RELEASE:=5
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://freedesktop.org/software/pulseaudio/releases
-Ddbus=disabled
endif
-TARGET_LDFLAGS += -Wl,--gc-sections -liconv
+TARGET_LDFLAGS += -Wl,--gc-sections $(if $(INTL_FULL),-lintl)
define Build/Prepare
$(call Build/Prepare/Default)
--- /dev/null
+--- a/meson.build
++++ b/meson.build
+@@ -380,12 +380,11 @@ if dl_dep.found()
+ endif
+
+ have_iconv = false
+-if cc.has_function('iconv_open')
++iconv_dep = cc.find_library('iconv', required : false)
++have_iconv = iconv_dep.found()
++if not have_iconv and cc.has_function('iconv_open')
+ iconv_dep = dependency('', required : false)
+ have_iconv = true
+-else
+- iconv_dep = cc.find_library('iconv', required : false)
+- have_iconv = iconv_dep.found()
+ endif
+ if have_iconv
+ cdata.set('HAVE_ICONV', 1)