summaryrefslogtreecommitdiffstats
path: root/package/tvheadend
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2014-11-23 20:56:52 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-11-26 22:49:23 +0100
commitc9e2be0cd80e4318db60312bdf6abab472219048 (patch)
tree26a50645e660217f12d3d6a219f4e845a25c7951 /package/tvheadend
parentb2d327d0dd3dcc661318790c1e8269c050c4ff54 (diff)
package/tvheadend: Add support for liburiparser
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/tvheadend')
-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 10c9201d5..f593b3f00 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)" \