aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts
diff options
context:
space:
mode:
authorCristiano Silva <hudokkow@gmail.com>2018-05-17 10:46:17 +0100
committerGitHub <noreply@github.com>2018-05-17 10:46:17 +0100
commit4ea3683a0992e99e3869c1512870073ca53e7dd2 (patch)
tree5cfcd102b7d1a10b5433be7a28e7c1ef56339a24 /cmake/scripts
parent48906ef1063cd3b02a82c8a15393dac39594cb9f (diff)
parent0142d7789d7109dc8cad6e0c703f6f810410a940 (diff)
Merge pull request #13845 from mavit/firewalld-services
Provide firewalld service definitions
Diffstat (limited to 'cmake/scripts')
-rw-r--r--cmake/scripts/linux/Install.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/scripts/linux/Install.cmake b/cmake/scripts/linux/Install.cmake
index d6767bf246..f264f816cb 100644
--- a/cmake/scripts/linux/Install.cmake
+++ b/cmake/scripts/linux/Install.cmake
@@ -127,6 +127,13 @@ 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