package/dvb-apps: rely on dtv-scan-tables to provide transponder data
This is a transitioning solution before switching packages that need the transponders data, to use dtv-scan-tables instead of dvb-apps. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
e18242fd81
commit
c110099191
|
@ -1,7 +1,5 @@
|
||||||
config BR2_PACKAGE_DTV_SCAN_TABLES
|
config BR2_PACKAGE_DTV_SCAN_TABLES
|
||||||
bool "dtv-scan-tables"
|
bool "dtv-scan-tables"
|
||||||
# dvb-apps installs its own set of transponder data
|
|
||||||
depends on !BR2_PACKAGE_DVB_APPS
|
|
||||||
help
|
help
|
||||||
The Digital TV scan tables.
|
The Digital TV scan tables.
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
config BR2_PACKAGE_DVB_APPS
|
config BR2_PACKAGE_DVB_APPS
|
||||||
bool "dvb-apps (transponders data)"
|
bool "dvb-apps (transponders data)"
|
||||||
|
select BR2_PACKAGE_DTV_SCAN_TABLES
|
||||||
help
|
help
|
||||||
Install the DVB-C, DVB-S, DVB-T and ATSC transponders data.
|
Install the DVB-C, DVB-S, DVB-T and ATSC transponders data.
|
||||||
|
|
||||||
|
|
|
@ -8,21 +8,13 @@ DVB_APPS_VERSION = be76da69f250
|
||||||
DVB_APPS_SITE = http://linuxtv.org/hg/dvb-apps
|
DVB_APPS_SITE = http://linuxtv.org/hg/dvb-apps
|
||||||
DVB_APPS_SITE_METHOD = hg
|
DVB_APPS_SITE_METHOD = hg
|
||||||
|
|
||||||
# We just install the transponders data. As this is not a 'work' as per
|
DVB_APPS_DEPENDENCIES = dtv-scan-tables
|
||||||
# traditional copyright, but just a collection of 'facts', there's probably
|
|
||||||
# no license to apply to these data files.
|
|
||||||
# To be noted however, is that the dvb-apps package bundles a copy of the
|
|
||||||
# GPLv2 and a copy of the LGPLv2.1, and that some of the source files refer
|
|
||||||
# to either the GPLv2+ or the LGPLv2.1+.
|
|
||||||
# But since we do not use any of those source files, their license do not
|
|
||||||
# apply to us.
|
|
||||||
DVB_APPS_LICENSE = unknown (probably public domain)
|
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_DVB_APPS_UTILS),y)
|
ifeq ($(BR2_PACKAGE_DVB_APPS_UTILS),y)
|
||||||
# Utilitiess are selected, build and install everything
|
# Utilitiess are selected, build and install everything
|
||||||
|
|
||||||
DVB_APPS_LICENSE += GPLv2 GPLv2+ LGPLv2.1+
|
DVB_APPS_LICENSE = GPLv2 GPLv2+ LGPLv2.1+
|
||||||
DVB_APPS_LICENSE_FILES += COPYING COPYING.LGPL
|
DVB_APPS_LICENSE_FILES = COPYING COPYING.LGPL
|
||||||
|
|
||||||
DVB_APPS_LDFLAGS = $(TARGET_LDFLAGS)
|
DVB_APPS_LDFLAGS = $(TARGET_LDFLAGS)
|
||||||
|
|
||||||
|
@ -47,13 +39,8 @@ define DVB_APPS_INSTALL_TARGET_CMDS
|
||||||
endef
|
endef
|
||||||
|
|
||||||
else
|
else
|
||||||
# Utilities are not selected, just install the scan files
|
# We do not really install anything, so there's no license
|
||||||
define DVB_APPS_INSTALL_TARGET_CMDS
|
DVB_APPS_LICENSE = none
|
||||||
for i in atsc dvb-c dvb-s dvb-t; do \
|
|
||||||
mkdir -p $(TARGET_DIR)/usr/share/dvb/$$i; \
|
|
||||||
$(INSTALL) $(@D)/util/scan/$$i/* $(TARGET_DIR)/usr/share/dvb/$$i; \
|
|
||||||
done
|
|
||||||
endef
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user