summary refs log tree commit diff
path: root/pkgs/applications/audio/musescore/remove_qtwebengine_install_hack.patch
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2019-01-04 19:43:23 -0500
committerDmitry Kalinkin <dmitry.kalinkin@gmail.com>2019-01-04 19:43:23 -0500
commitfc2a65308f751da93a085626a2e188b9bdc9a007 (patch)
treed51f389e75c14958a6097e56ac7a2d60beed5c1c /pkgs/applications/audio/musescore/remove_qtwebengine_install_hack.patch
parentb3e56b05330e0647f1c2bb4c59159a1cd7e98298 (diff)
downloadnixpkgs-fc2a65308f751da93a085626a2e188b9bdc9a007.tar
nixpkgs-fc2a65308f751da93a085626a2e188b9bdc9a007.tar.gz
nixpkgs-fc2a65308f751da93a085626a2e188b9bdc9a007.tar.bz2
nixpkgs-fc2a65308f751da93a085626a2e188b9bdc9a007.tar.lz
nixpkgs-fc2a65308f751da93a085626a2e188b9bdc9a007.tar.xz
nixpkgs-fc2a65308f751da93a085626a2e188b9bdc9a007.tar.zst
nixpkgs-fc2a65308f751da93a085626a2e188b9bdc9a007.zip
musescore: switch to QtWebEngine
Since version 3.0 it builds with QtWebEngine by default.
Diffstat (limited to 'pkgs/applications/audio/musescore/remove_qtwebengine_install_hack.patch')
-rw-r--r--pkgs/applications/audio/musescore/remove_qtwebengine_install_hack.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/audio/musescore/remove_qtwebengine_install_hack.patch b/pkgs/applications/audio/musescore/remove_qtwebengine_install_hack.patch
new file mode 100644
index 00000000000..53a0c90ce46
--- /dev/null
+++ b/pkgs/applications/audio/musescore/remove_qtwebengine_install_hack.patch
@@ -0,0 +1,25 @@
+--- a/mscore/CMakeLists.txt
++++ b/mscore/CMakeLists.txt
+@@ -660,22 +660,6 @@ if (MINGW)
+ else (MINGW)
+
+    if ( NOT MSVC )
+-## install qwebengine core
+-      if (NOT APPLE AND USE_WEBENGINE)
+-         install(FILES
+-            ${QT_INSTALL_LIBEXECS}/QtWebEngineProcess
+-            DESTINATION bin
+-            )
+-         install(DIRECTORY
+-            ${QT_INSTALL_DATA}/resources
+-            DESTINATION lib/qt5
+-            )
+-         install(DIRECTORY
+-            ${QT_INSTALL_TRANSLATIONS}/qtwebengine_locales
+-            DESTINATION lib/qt5/translations
+-            )
+-      endif(NOT APPLE AND USE_WEBENGINE)
+-
+       target_link_libraries(mscore
+          ${ALSA_LIB}
+          ${QT_LIBRARIES}