summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2014-11-23 19:56:52 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-11-26 21:49:23 (GMT)
commitc9e2be0cd80e4318db60312bdf6abab472219048 (patch)
tree26a50645e660217f12d3d6a219f4e845a25c7951
parentb2d327d0dd3dcc661318790c1e8269c050c4ff54 (diff)
downloadbuildroot-refs/heads/next.tar.gz
buildroot-refs/heads/next.tar.bz2
package/tvheadend: Add support for liburiparsernext
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/tvheadend/tvheadend.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk
index 10c9201..f593b3f 100644
--- a/package/tvheadend/tvheadend.mk
+++ b/package/tvheadend/tvheadend.mk
@@ -32,12 +32,18 @@ ifeq ($(BR2_PACKAGE_LIBICONV),y)
TVHEADEND_DEPENDENCIES += libiconv
endif
+ifeq ($(BR2_PACKAGE_LIBURIPARSER),y)
+TVHEADEND_DEPENDENCIES += liburiparser
+TVHEADEND_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) $(if $(BR2_USE_WCHAR),,-DURI_NO_UNICODE)"
+endif
+
TVHEADEND_DEPENDENCIES += dtv-scan-tables
define TVHEADEND_CONFIGURE_CMDS
(cd $(@D); \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
+ $(TVHEADEND_CONF_ENV) \
./configure \
--prefix=/usr \
--arch="$(ARCH)" \