diff options
| author | manuel <manuel@mausz.at> | 2018-08-30 00:42:04 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2018-08-30 00:42:04 +0200 |
| commit | 2577b55681a97f3eec3fb0e3b5a4fb7f2cb18b8a (patch) | |
| tree | cc9e1f8ea69eebca8416677b2470a5b3f11a850e /cmake/scripts/linux | |
| parent | b3d195f0188758a14875a5a2f270e4fd190a679f (diff) | |
| download | kodi-pvr-build-2577b55681a97f3eec3fb0e3b5a4fb7f2cb18b8a.tar.gz kodi-pvr-build-2577b55681a97f3eec3fb0e3b5a4fb7f2cb18b8a.tar.bz2 kodi-pvr-build-2577b55681a97f3eec3fb0e3b5a4fb7f2cb18b8a.zip | |
sync with upstream
Diffstat (limited to 'cmake/scripts/linux')
| -rw-r--r-- | cmake/scripts/linux/ArchSetup.cmake | 4 | ||||
| -rw-r--r-- | cmake/scripts/linux/Install.cmake | 18 | ||||
| -rw-r--r-- | cmake/scripts/linux/Macros.cmake | 2 |
3 files changed, 13 insertions, 11 deletions
diff --git a/cmake/scripts/linux/ArchSetup.cmake b/cmake/scripts/linux/ArchSetup.cmake index fcee675..624edf6 100644 --- a/cmake/scripts/linux/ArchSetup.cmake +++ b/cmake/scripts/linux/ArchSetup.cmake | |||
| @@ -108,10 +108,6 @@ if(CMAKE_BUILD_TYPE STREQUAL Coverage) | |||
| 108 | set(COVERAGE_EXCLUDES */test/* lib/* */lib/*) | 108 | set(COVERAGE_EXCLUDES */test/* lib/* */lib/*) |
| 109 | endif() | 109 | endif() |
| 110 | 110 | ||
| 111 | if(ENABLE_MIR) | ||
| 112 | set(ENABLE_VDPAU OFF CACHE BOOL "Disabling VDPAU since no Mir support" FORCE) | ||
| 113 | endif() | ||
| 114 | |||
| 115 | if(ENABLE_GBM) | 111 | if(ENABLE_GBM) |
| 116 | set(ENABLE_VDPAU OFF CACHE BOOL "Disabling VDPAU" FORCE) | 112 | set(ENABLE_VDPAU OFF CACHE BOOL "Disabling VDPAU" FORCE) |
| 117 | endif() | 113 | endif() |
diff --git a/cmake/scripts/linux/Install.cmake b/cmake/scripts/linux/Install.cmake index d6767bf..d64b98a 100644 --- a/cmake/scripts/linux/Install.cmake +++ b/cmake/scripts/linux/Install.cmake | |||
| @@ -127,11 +127,17 @@ install(FILES ${CMAKE_SOURCE_DIR}/tools/Linux/packaging/media/icon256x256.png | |||
| 127 | DESTINATION ${datarootdir}/icons/hicolor/256x256/apps | 127 | DESTINATION ${datarootdir}/icons/hicolor/256x256/apps |
| 128 | COMPONENT kodi) | 128 | COMPONENT kodi) |
| 129 | 129 | ||
| 130 | # Install firewalld service definitions | ||
| 131 | install(FILES ${CMAKE_SOURCE_DIR}/tools/Linux/firewalld-services/kodi-eventserver.xml | ||
| 132 | ${CMAKE_SOURCE_DIR}/tools/Linux/firewalld-services/kodi-http.xml | ||
| 133 | ${CMAKE_SOURCE_DIR}/tools/Linux/firewalld-services/kodi-jsonrpc.xml | ||
| 134 | DESTINATION ${prefix}/lib/firewalld/services | ||
| 135 | COMPONENT kodi) | ||
| 136 | |||
| 130 | # Install docs | 137 | # Install docs |
| 131 | install(FILES ${CMAKE_SOURCE_DIR}/copying.txt | 138 | install(FILES ${CMAKE_SOURCE_DIR}/LICENSE.md |
| 132 | ${CMAKE_SOURCE_DIR}/LICENSE.GPL | ||
| 133 | ${CMAKE_SOURCE_DIR}/version.txt | 139 | ${CMAKE_SOURCE_DIR}/version.txt |
| 134 | ${CMAKE_SOURCE_DIR}/docs/README.linux | 140 | ${CMAKE_SOURCE_DIR}/docs/README.Linux.md |
| 135 | DESTINATION ${docdir} | 141 | DESTINATION ${docdir} |
| 136 | COMPONENT kodi) | 142 | COMPONENT kodi) |
| 137 | 143 | ||
| @@ -197,7 +203,7 @@ if(ENABLE_EVENTCLIENTS) | |||
| 197 | file(WRITE ${CMAKE_BINARY_DIR}/packages/deb/defs.py ICON_PATH="usr/share/pixmaps/${APP_NAME_LC}/") | 203 | file(WRITE ${CMAKE_BINARY_DIR}/packages/deb/defs.py ICON_PATH="usr/share/pixmaps/${APP_NAME_LC}/") |
| 198 | install(PROGRAMS ${CMAKE_BINARY_DIR}/packages/deb/defs.py | 204 | install(PROGRAMS ${CMAKE_BINARY_DIR}/packages/deb/defs.py |
| 199 | ${CMAKE_SOURCE_DIR}/tools/EventClients/lib/python/__init__.py | 205 | ${CMAKE_SOURCE_DIR}/tools/EventClients/lib/python/__init__.py |
| 200 | "${CMAKE_SOURCE_DIR}/tools/EventClients/Clients/PS3 BD Remote/ps3_remote.py" | 206 | ${CMAKE_SOURCE_DIR}/tools/EventClients/Clients/PS3BDRemote/ps3_remote.py |
| 201 | ${CMAKE_SOURCE_DIR}/tools/EventClients/lib/python/xbmcclient.py | 207 | ${CMAKE_SOURCE_DIR}/tools/EventClients/lib/python/xbmcclient.py |
| 202 | ${CMAKE_SOURCE_DIR}/tools/EventClients/lib/python/zeroconf.py | 208 | ${CMAKE_SOURCE_DIR}/tools/EventClients/lib/python/zeroconf.py |
| 203 | DESTINATION ${PYTHON_LIB_PATH}/${APP_NAME_LC} | 209 | DESTINATION ${PYTHON_LIB_PATH}/${APP_NAME_LC} |
| @@ -246,7 +252,7 @@ if(ENABLE_EVENTCLIENTS) | |||
| 246 | COMPONENT kodi-eventclients-dev) | 252 | COMPONENT kodi-eventclients-dev) |
| 247 | 253 | ||
| 248 | # Install kodi-eventclients-ps3 | 254 | # Install kodi-eventclients-ps3 |
| 249 | install(PROGRAMS "${CMAKE_SOURCE_DIR}/tools/EventClients/Clients/PS3 BD Remote/ps3_remote.py" | 255 | install(PROGRAMS ${CMAKE_SOURCE_DIR}/tools/EventClients/Clients/PS3BDRemote/ps3_remote.py |
| 250 | RENAME ${APP_NAME_LC}-ps3remote | 256 | RENAME ${APP_NAME_LC}-ps3remote |
| 251 | DESTINATION ${bindir} | 257 | DESTINATION ${bindir} |
| 252 | COMPONENT kodi-eventclients-ps3) | 258 | COMPONENT kodi-eventclients-ps3) |
| @@ -259,7 +265,7 @@ if(ENABLE_EVENTCLIENTS) | |||
| 259 | endif() | 265 | endif() |
| 260 | 266 | ||
| 261 | # Install kodi-eventclients-xbmc-send | 267 | # Install kodi-eventclients-xbmc-send |
| 262 | install(PROGRAMS "${CMAKE_SOURCE_DIR}/tools/EventClients/Clients/Kodi Send/kodi-send.py" | 268 | install(PROGRAMS ${CMAKE_SOURCE_DIR}/tools/EventClients/Clients/KodiSend/kodi-send.py |
| 263 | RENAME ${APP_NAME_LC}-send | 269 | RENAME ${APP_NAME_LC}-send |
| 264 | DESTINATION ${bindir} | 270 | DESTINATION ${bindir} |
| 265 | COMPONENT kodi-eventclients-xbmc-send) | 271 | COMPONENT kodi-eventclients-xbmc-send) |
diff --git a/cmake/scripts/linux/Macros.cmake b/cmake/scripts/linux/Macros.cmake index 9e8ebe6..37243a7 100644 --- a/cmake/scripts/linux/Macros.cmake +++ b/cmake/scripts/linux/Macros.cmake | |||
| @@ -65,7 +65,7 @@ function(find_soname lib) | |||
| 65 | set(link_lib -l${${lib}_LIBRARIES}) | 65 | set(link_lib -l${${lib}_LIBRARIES}) |
| 66 | endif() | 66 | endif() |
| 67 | endif() | 67 | endif() |
| 68 | execute_process(COMMAND ${CMAKE_C_COMPILER} -nostdlib -o /dev/null -Wl,-M ${link_lib} | 68 | execute_process(COMMAND ${CMAKE_C_COMPILER} -nostdlib -o /dev/null -Wl,-M ${link_lib} |
| 69 | COMMAND grep LOAD.*${liblow} | 69 | COMMAND grep LOAD.*${liblow} |
| 70 | ERROR_QUIET | 70 | ERROR_QUIET |
| 71 | OUTPUT_VARIABLE ${lib}_FILENAME) | 71 | OUTPUT_VARIABLE ${lib}_FILENAME) |
