diff mbox

[v2,1/3] package/tvheadend: Fix inclusion of DVB frequency tables in bundled build

Message ID 1418550811-15547-1-git-send-email-bernd.kuhls@t-online.de
State Accepted
Commit b7a7b4cb06478a56542bb36c06bd183360009a32
Headers show

Commit Message

Bernd Kuhls Dec. 14, 2014, 9:53 a.m. UTC
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v2: add comment (Thomas)
    change to --enable-dvbscan, otherwise data files are not included

 package/tvheadend/tvheadend.mk |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Comments

Peter Korsgaard Dec. 14, 2014, 8:54 p.m. UTC | #1
>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls@t-online.de> writes:

 > Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
 > v2: add comment (Thomas)
 >     change to --enable-dvbscan, otherwise data files are not included

Committed all 3, thanks.
diff mbox

Patch

diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk
index e0ce160..9c93807 100644
--- a/package/tvheadend/tvheadend.mk
+++ b/package/tvheadend/tvheadend.mk
@@ -50,14 +50,20 @@  define TVHEADEND_CONFIGURE_CMDS
 			--arch="$(ARCH)"			\
 			--cpu="$(BR2_GCC_TARGET_CPU)"		\
 			--python="$(HOST_DIR)/usr/bin/python"	\
-			--disable-dvbscan			\
+			--enable-dvbscan			\
 			--enable-bundle				\
 			--disable-libffmpeg_static		\
 			$(TVHEADEND_CONF_OPTS)			\
 	)
 endef
 
+# The tvheadend build system expects the transponder data to be present inside
+# its source tree. To prevent a downloaded initiated by the build system just
+# copy the data files in the right place and add the corresponding stamp file.
 define TVHEADEND_BUILD_CMDS
+	$(INSTALL) -d $(@D)/data/dvb-scan
+	cp -r $(TARGET_DIR)/usr/share/dvb/* $(@D)/data/dvb-scan/
+	touch $(@D)/data/dvb-scan/.stamp
 	$(MAKE) -C $(@D)
 endef