aboutsummaryrefslogtreecommitdiff
path: root/package/dtv-scan-tables
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2014-03-28 01:00:20 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-03-29 18:28:40 +0100
commite18242fd814b5e0ce5a43a7f465fed6d0634a504 (patch)
tree78eeccc54c6389415a2cf4cf6be6395c98f22b5d /package/dtv-scan-tables
parent8382272de67b548df88177ba88fd568dc7055efd (diff)
downloadbuildroot-e18242fd814b5e0ce5a43a7f465fed6d0634a504.tar.gz
buildroot-e18242fd814b5e0ce5a43a7f465fed6d0634a504.tar.bz2
package/dtv-scan-tables: new package
The dvb-apps package used to carry pre-scanned transponders data. These transponders data have now been moved out of dvb-apps, and into their own repository. So, until we bump the dvb-apps package (to come in a follow-up patch), dtv-scan-tables is exclusive to dvb-apps. To be noted: the licensing information for those data is dubious. The package carries the COPYING and COPYING.LIB files, hinting that the data is covered by the GPLv2 *and* the LGPLv2.1. This is incoherent, and dubious: - since GPLv2 is a superset of LGPLv2.1, the actual license would be just plan GPLv2; - the transponders data is just a collection of 'facts': the frequencies of each transponder; as such, it is usally not considered to be a 'work' as per traditional copyright, and thus should be in the public domain [cue the zoneinfo DB not so long ago]. But since this is a difficult question, we'll leave to the user to sort these things out. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/dtv-scan-tables')
-rw-r--r--package/dtv-scan-tables/Config.in8
-rw-r--r--package/dtv-scan-tables/dtv-scan-tables.mk27
2 files changed, 35 insertions, 0 deletions
diff --git a/package/dtv-scan-tables/Config.in b/package/dtv-scan-tables/Config.in
new file mode 100644
index 0000000000..05a3b1c187
--- /dev/null
+++ b/package/dtv-scan-tables/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_DTV_SCAN_TABLES
+ bool "dtv-scan-tables"
+ # dvb-apps installs its own set of transponder data
+ depends on !BR2_PACKAGE_DVB_APPS
+ help
+ The Digital TV scan tables.
+
+ http://git.linuxtv.org/dtv-scan-tables.git
diff --git a/package/dtv-scan-tables/dtv-scan-tables.mk b/package/dtv-scan-tables/dtv-scan-tables.mk
new file mode 100644
index 0000000000..27973217ca
--- /dev/null
+++ b/package/dtv-scan-tables/dtv-scan-tables.mk
@@ -0,0 +1,27 @@
+################################################################################
+#
+# dtv-scan-tables
+#
+################################################################################
+
+DTV_SCAN_TABLES_VERSION = cfc29758d1357b724f3bf27c3b1b277e242841fa
+DTV_SCAN_TABLES_SITE = http://linuxtv.org/git/dtv-scan-tables.git
+DTV_SCAN_TABLES_SITE_METHOD = git
+
+# This package only contains the transponders data. This is not a 'work'
+# as per traditional copyright, but just a collection of 'facts', so there's
+# probably no license to apply to these data files.
+# However, the package prominently contains the COPYING and COPYING.LIB
+# license files (respectively for the GPLv2 and the LGPLv2.1), so we use
+# that as the licensing information.
+DTV_SCAN_TABLES_LICENSE = GPLv2 LGPLv2.1
+DTV_SCAN_TABLES_LICENSE_FILES = COPYING COPYING.LIB
+
+define DTV_SCAN_TABLES_INSTALL_TARGET_CMDS
+ for f in atsc dvb-c dvb-s dvb-t; do \
+ $(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/share/dvb/$$f; \
+ $(INSTALL) $(@D)/$$f/* $(TARGET_DIR)/usr/share/dvb/$$f; \
+ done
+endef
+
+$(eval $(generic-package))