From 2577b55681a97f3eec3fb0e3b5a4fb7f2cb18b8a Mon Sep 17 00:00:00 2001 From: manuel Date: Thu, 30 Aug 2018 00:42:04 +0200 Subject: sync with upstream --- cmake/scripts/linux/ArchSetup.cmake | 4 ---- cmake/scripts/linux/Install.cmake | 18 ++++++++++++------ cmake/scripts/linux/Macros.cmake | 2 +- 3 files changed, 13 insertions(+), 11 deletions(-) (limited to 'cmake/scripts/linux') 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) set(COVERAGE_EXCLUDES */test/* lib/* */lib/*) endif() -if(ENABLE_MIR) - set(ENABLE_VDPAU OFF CACHE BOOL "Disabling VDPAU since no Mir support" FORCE) -endif() - if(ENABLE_GBM) set(ENABLE_VDPAU OFF CACHE BOOL "Disabling VDPAU" FORCE) 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 DESTINATION ${datarootdir}/icons/hicolor/256x256/apps COMPONENT kodi) +# Install firewalld service definitions +install(FILES ${CMAKE_SOURCE_DIR}/tools/Linux/firewalld-services/kodi-eventserver.xml + ${CMAKE_SOURCE_DIR}/tools/Linux/firewalld-services/kodi-http.xml + ${CMAKE_SOURCE_DIR}/tools/Linux/firewalld-services/kodi-jsonrpc.xml + DESTINATION ${prefix}/lib/firewalld/services + COMPONENT kodi) + # Install docs -install(FILES ${CMAKE_SOURCE_DIR}/copying.txt - ${CMAKE_SOURCE_DIR}/LICENSE.GPL +install(FILES ${CMAKE_SOURCE_DIR}/LICENSE.md ${CMAKE_SOURCE_DIR}/version.txt - ${CMAKE_SOURCE_DIR}/docs/README.linux + ${CMAKE_SOURCE_DIR}/docs/README.Linux.md DESTINATION ${docdir} COMPONENT kodi) @@ -197,7 +203,7 @@ if(ENABLE_EVENTCLIENTS) file(WRITE ${CMAKE_BINARY_DIR}/packages/deb/defs.py ICON_PATH="usr/share/pixmaps/${APP_NAME_LC}/") install(PROGRAMS ${CMAKE_BINARY_DIR}/packages/deb/defs.py ${CMAKE_SOURCE_DIR}/tools/EventClients/lib/python/__init__.py - "${CMAKE_SOURCE_DIR}/tools/EventClients/Clients/PS3 BD Remote/ps3_remote.py" + ${CMAKE_SOURCE_DIR}/tools/EventClients/Clients/PS3BDRemote/ps3_remote.py ${CMAKE_SOURCE_DIR}/tools/EventClients/lib/python/xbmcclient.py ${CMAKE_SOURCE_DIR}/tools/EventClients/lib/python/zeroconf.py DESTINATION ${PYTHON_LIB_PATH}/${APP_NAME_LC} @@ -246,7 +252,7 @@ if(ENABLE_EVENTCLIENTS) COMPONENT kodi-eventclients-dev) # Install kodi-eventclients-ps3 - install(PROGRAMS "${CMAKE_SOURCE_DIR}/tools/EventClients/Clients/PS3 BD Remote/ps3_remote.py" + install(PROGRAMS ${CMAKE_SOURCE_DIR}/tools/EventClients/Clients/PS3BDRemote/ps3_remote.py RENAME ${APP_NAME_LC}-ps3remote DESTINATION ${bindir} COMPONENT kodi-eventclients-ps3) @@ -259,7 +265,7 @@ if(ENABLE_EVENTCLIENTS) endif() # Install kodi-eventclients-xbmc-send - install(PROGRAMS "${CMAKE_SOURCE_DIR}/tools/EventClients/Clients/Kodi Send/kodi-send.py" + install(PROGRAMS ${CMAKE_SOURCE_DIR}/tools/EventClients/Clients/KodiSend/kodi-send.py RENAME ${APP_NAME_LC}-send DESTINATION ${bindir} 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) set(link_lib -l${${lib}_LIBRARIES}) endif() endif() - execute_process(COMMAND ${CMAKE_C_COMPILER} -nostdlib -o /dev/null -Wl,-M ${link_lib} + execute_process(COMMAND ${CMAKE_C_COMPILER} -nostdlib -o /dev/null -Wl,-M ${link_lib} COMMAND grep LOAD.*${liblow} ERROR_QUIET OUTPUT_VARIABLE ${lib}_FILENAME) -- cgit v1.2.3