[Buildroot] [PATCH 14/23] package/kodi-pvr-nextpvr: add explicit dependencies to libplatform, kodi and tinyxml

Bernd Kuhls bernd.kuhls at t-online.de
Sun Jun 21 10:37:57 UTC 2020


Libplatform and kodi are built as hard-dependencies of kodi-platform
already, tinyxml is a hard-dependency of kodi. For the case that kodi or
kodi-platform drop one of these dependencies we need to make sure that
this package still finds its dependencies:
https://github.com/kodi-pvr/pvr.nextpvr/blob/Leia/CMakeLists.txt#L6

Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
---
 package/kodi-pvr-nextpvr/Config.in           | 2 ++
 package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.mk | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/kodi-pvr-nextpvr/Config.in b/package/kodi-pvr-nextpvr/Config.in
index e520426796..e1567c7c98 100644
--- a/package/kodi-pvr-nextpvr/Config.in
+++ b/package/kodi-pvr-nextpvr/Config.in
@@ -1,6 +1,8 @@
 config BR2_PACKAGE_KODI_PVR_NEXTPVR
 	bool "kodi-pvr-nextpvr"
 	select BR2_PACKAGE_KODI_PLATFORM
+	select BR2_PACKAGE_LIBPLATFORM
+	select BR2_PACKAGE_TINYXML
 	help
 	  Kodi's NextPVR client addon
 
diff --git a/package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.mk b/package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.mk
index 59fc274583..cbcef90114 100644
--- a/package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.mk
+++ b/package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.mk
@@ -8,6 +8,6 @@ KODI_PVR_NEXTPVR_VERSION = 3.3.20-Leia
 KODI_PVR_NEXTPVR_SITE = $(call github,kodi-pvr,pvr.nextpvr,$(KODI_PVR_NEXTPVR_VERSION))
 KODI_PVR_NEXTPVR_LICENSE = GPL-2.0+
 KODI_PVR_NEXTPVR_LICENSE_FILES = debian/copyright
-KODI_PVR_NEXTPVR_DEPENDENCIES = kodi-platform
+KODI_PVR_NEXTPVR_DEPENDENCIES = kodi kodi-platform libplatform tinyxml
 
 $(eval $(cmake-package))
-- 
2.26.2



More information about the buildroot mailing list