aboutsummaryrefslogtreecommitdiff
path: root/www/plasma5-plasma-browser-integration/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'www/plasma5-plasma-browser-integration/files/patch-CMakeLists.txt')
-rw-r--r--www/plasma5-plasma-browser-integration/files/patch-CMakeLists.txt39
1 files changed, 0 insertions, 39 deletions
diff --git a/www/plasma5-plasma-browser-integration/files/patch-CMakeLists.txt b/www/plasma5-plasma-browser-integration/files/patch-CMakeLists.txt
deleted file mode 100644
index aa857698181f..000000000000
--- a/www/plasma5-plasma-browser-integration/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,39 +0,0 @@
---- CMakeLists.txt.orig 2018-01-14 12:51:06 UTC
-+++ CMakeLists.txt
-@@ -51,19 +51,19 @@ configure_file(org.kde.plasma.chrome_integration.json.
- configure_file(org.kde.plasma.firefox_integration.json.in org.kde.plasma.firefox_integration.json @ONLY)
-
- # #chromium
--install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.plasma.chrome_integration.json DESTINATION /etc/chromium/native-messaging-hosts/ RENAME org.kde.plasma.browser_integration.json)
-+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.plasma.chrome_integration.json DESTINATION ${CMAKE_INSTALL_PREFIX}/etc/chromium/native-messaging-hosts/ RENAME org.kde.plasma.browser_integration.json)
- # #google-chrome
--install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.plasma.chrome_integration.json DESTINATION /etc/opt/chrome/native-messaging-hosts/ RENAME org.kde.plasma.browser_integration.json)
-+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.plasma.chrome_integration.json DESTINATION ${CMAKE_INSTALL_PREFIX}/etc/opt/chrome/native-messaging-hosts/ RENAME org.kde.plasma.browser_integration.json)
- # firefox
--install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.plasma.firefox_integration.json DESTINATION /usr/lib/mozilla/native-messaging-hosts/ RENAME org.kde.plasma.browser_integration.json)
-+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.plasma.firefox_integration.json DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/mozilla/native-messaging-hosts/ RENAME org.kde.plasma.browser_integration.json)
-
- if(INSTALL_CHROME_EXTENSION)
- configure_file(chrome_install_locally_policy.in chrome_install_locally_policy @ONLY)
-
- # google-chrome
-- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/chrome_install_locally_policy DESTINATION /usr/share/google-chrome/extensions RENAME ${CHROME_EXTENSION_ID}.json)
-+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/chrome_install_locally_policy DESTINATION ${CMAKE_INSTALL_PREFIX}/share/google-chrome/extensions RENAME ${CHROME_EXTENSION_ID}.json)
- # chromium
-- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/chrome_install_locally_policy DESTINATION /usr/share/chromium-browser/extensions RENAME ${CHROME_EXTENSION_ID}.json)
-+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/chrome_install_locally_policy DESTINATION ${CMAKE_INSTALL_PREFIX}/share/chromium-browser/extensions RENAME ${CHROME_EXTENSION_ID}.json)
-
- # The actual extension file
- # TODO would be nice if we could automate the packaging and generation of the crx
-@@ -73,9 +73,9 @@ if(INSTALL_CHROME_EXTENSION)
- elseif (INSTALL_CHROME_MANIFEST) # Install a policy to have browsers automatically add the extension
-
- # google-chrome
-- install(FILES chrome_install_from_store_policy DESTINATION /usr/share/google-chrome/extensions RENAME ${CHROME_EXTENSION_ID}.json)
-+ install(FILES chrome_install_from_store_policy DESTINATION ${CMAKE_INSTALL_PREFIX}/share/google-chrome/extensions RENAME ${CHROME_EXTENSION_ID}.json)
- # chromium
-- install(FILES chrome_install_from_store_policy DESTINATION /usr/share/chromium-browser/extensions RENAME ${CHROME_EXTENSION_ID}.json)
-+ install(FILES chrome_install_from_store_policy DESTINATION ${CMAKE_INSTALL_PREFIX}/share/chromium-browser/extensions RENAME ${CHROME_EXTENSION_ID}.json)
- endif()
-
- # TODO firefox