summaryrefslogtreecommitdiff
path: root/package/kodi/patches/patch-cmake_KodiConfig_cmake_in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2018-05-25 22:00:44 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2018-05-27 08:26:55 +0200
commita81f0bbe58cb2e70ee666456e3084b1f41c647f4 (patch)
tree04b923c34543b75a8439e8c265f90db54492b449 /package/kodi/patches/patch-cmake_KodiConfig_cmake_in
parent07bac1dc01a3e6216fe653acd33311febc84108a (diff)
kodi: update to leia 18 alpha, add all required packages
Diffstat (limited to 'package/kodi/patches/patch-cmake_KodiConfig_cmake_in')
-rw-r--r--package/kodi/patches/patch-cmake_KodiConfig_cmake_in20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/kodi/patches/patch-cmake_KodiConfig_cmake_in b/package/kodi/patches/patch-cmake_KodiConfig_cmake_in
new file mode 100644
index 000000000..3ebae759b
--- /dev/null
+++ b/package/kodi/patches/patch-cmake_KodiConfig_cmake_in
@@ -0,0 +1,20 @@
+--- xbmc-18.0a1-Leia.orig/cmake/KodiConfig.cmake.in 2018-03-04 10:21:28.000000000 +0100
++++ xbmc-18.0a1-Leia/cmake/KodiConfig.cmake.in 2018-05-23 08:10:01.842094111 +0200
+@@ -8,7 +8,7 @@ if(NOT @APP_NAME_UC@_PREFIX)
+ set(@APP_NAME_UC@_PREFIX @APP_PREFIX@)
+ endif()
+ if(NOT @APP_NAME_UC@_INCLUDE_DIR)
+- set(@APP_NAME_UC@_INCLUDE_DIR @APP_INCLUDE_DIR@)
++ set(@APP_NAME_UC@_INCLUDE_DIR ${CMAKE_FIND_ROOT_PATH}/@APP_INCLUDE_DIR@)
+ endif()
+ if(NOT @APP_NAME_UC@_LIB_DIR)
+ set(@APP_NAME_UC@_LIB_DIR @APP_LIB_DIR@)
+@@ -20,7 +20,7 @@ set(APP_RENDER_SYSTEM @APP_RENDER_SYSTEM
+ if(NOT WIN32)
+ set(CMAKE_CXX_FLAGS "$ENV{CXXFLAGS} @CXX11_SWITCH@")
+ endif()
+-list(APPEND CMAKE_MODULE_PATH @APP_LIB_DIR@ @APP_DATA_DIR@/cmake)
++list(APPEND CMAKE_MODULE_PATH ${CMAKE_FIND_ROOT_PATH}/@APP_LIB_DIR@ ${CMAKE_FIND_ROOT_PATH}/@APP_DATA_DIR@/cmake)
+
+ string(REPLACE ";" " " ARCH_DEFINES "@ARCH_DEFINES@")
+ add_definitions(${ARCH_DEFINES} -DBUILD_KODI_ADDON)