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

Bernd Kuhls bernd.kuhls at t-online.de
Sun Jun 21 10:37:58 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.njoy/blob/Leia/CMakeLists.txt#L6

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

diff --git a/package/kodi-pvr-njoy/Config.in b/package/kodi-pvr-njoy/Config.in
index 33c493cb8b..85256fab2f 100644
--- a/package/kodi-pvr-njoy/Config.in
+++ b/package/kodi-pvr-njoy/Config.in
@@ -1,6 +1,8 @@
 config BR2_PACKAGE_KODI_PVR_NJOY
 	bool "kodi-pvr-njoy"
 	select BR2_PACKAGE_KODI_PLATFORM
+	select BR2_PACKAGE_LIBPLATFORM
+	select BR2_PACKAGE_TINYXML
 	help
 	  Kodi's Njoy N7 client addon
 
diff --git a/package/kodi-pvr-njoy/kodi-pvr-njoy.mk b/package/kodi-pvr-njoy/kodi-pvr-njoy.mk
index ca86d46d85..1c31376ba7 100644
--- a/package/kodi-pvr-njoy/kodi-pvr-njoy.mk
+++ b/package/kodi-pvr-njoy/kodi-pvr-njoy.mk
@@ -8,6 +8,6 @@ KODI_PVR_NJOY_VERSION = 3.4.2-Leia
 KODI_PVR_NJOY_SITE = $(call github,kodi-pvr,pvr.njoy,$(KODI_PVR_NJOY_VERSION))
 KODI_PVR_NJOY_LICENSE = GPL-2.0+
 KODI_PVR_NJOY_LICENSE_FILES = debian/copyright
-KODI_PVR_NJOY_DEPENDENCIES = kodi-platform
+KODI_PVR_NJOY_DEPENDENCIES = kodi kodi-platform libplatform tinyxml
 
 $(eval $(cmake-package))
-- 
2.26.2



More information about the buildroot mailing list