package/kodi-pvr-stalker: needs libxml2
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 3 Dec 2017 18:23:10 +0000 (19:23 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 3 Dec 2017 22:07:37 +0000 (23:07 +0100)
Since
https://git.buildroot.net/buildroot/commit/package/kodi?id=bf9bfd065ba3fab328fd041ca040f2bf134fecf2
kodi itself does not depend on libxml2 anymore which previously
provided libxml2 still needed by kodi-pvr-stalker:
https://github.com/kodi-pvr/pvr.stalker/blob/Krypton/CMakeLists.txt#L12

Fixes a build error not caught by autobuilders because they do not have
host jdk installed:
CMake Error at /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/kodi-pvr-stalker/Config.in
package/kodi-pvr-stalker/kodi-pvr-stalker.mk

index 3ec530cd3959c239c0333be706041df3fb6fc305..d334d0c2cbafa0fd7e3645d1c312fc3e60f4b989 100644 (file)
@@ -2,6 +2,7 @@ config BR2_PACKAGE_KODI_PVR_STALKER
        bool "kodi-pvr-stalker"
        select BR2_PACKAGE_JSONCPP
        select BR2_PACKAGE_KODI_PLATFORM
+       select BR2_PACKAGE_LIBXML2
        help
          A PVR Client that connects Kodi to Stalker Middleware
 
index ee61171d78006095de9ab28c9403fca4a17805ac..32ac2cad0e6e766f1b8a03ab795de15c310ae47d 100644 (file)
@@ -10,6 +10,6 @@ KODI_PVR_STALKER_VERSION = 2.8.6-Krypton
 KODI_PVR_STALKER_SITE = $(call github,kodi-pvr,pvr.stalker,$(KODI_PVR_STALKER_VERSION))
 KODI_PVR_STALKER_LICENSE = GPL-2.0+
 KODI_PVR_STALKER_LICENSE_FILES = src/client.h
-KODI_PVR_STALKER_DEPENDENCIES = jsoncpp kodi-platform
+KODI_PVR_STALKER_DEPENDENCIES = jsoncpp kodi-platform libxml2
 
 $(eval $(cmake-package))