musescore: switch to QtWebEngine
Since version 3.0 it builds with QtWebEngine by default.
This commit is contained in:
parent
b3e56b0533
commit
fc2a65308f
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig
|
{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig
|
||||||
, alsaLib, freetype, libjack2, lame, libogg, libpulseaudio, libsndfile, libvorbis
|
, alsaLib, freetype, libjack2, lame, libogg, libpulseaudio, libsndfile, libvorbis
|
||||||
, portaudio, portmidi, qtbase, qtdeclarative, qtscript, qtsvg, qttools
|
, portaudio, portmidi, qtbase, qtdeclarative, qtscript, qtsvg, qttools
|
||||||
, qtwebkit, qtxmlpatterns
|
, qtwebengine, qtxmlpatterns
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -15,6 +15,10 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0g8n8xpw5d6wh8bwbvy12sinl9i0ir009sr28i4izr28lr4x8v50";
|
sha256 = "0g8n8xpw5d6wh8bwbvy12sinl9i0ir009sr28i4izr28lr4x8v50";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
./remove_qtwebengine_install_hack.patch
|
||||||
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
] ++ lib.optional (lib.versionAtLeast freetype.version "2.5.2") "-DUSE_SYSTEM_FREETYPE=ON";
|
] ++ lib.optional (lib.versionAtLeast freetype.version "2.5.2") "-DUSE_SYSTEM_FREETYPE=ON";
|
||||||
|
|
||||||
@ -23,7 +27,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
alsaLib libjack2 freetype lame libogg libpulseaudio libsndfile libvorbis
|
alsaLib libjack2 freetype lame libogg libpulseaudio libsndfile libvorbis
|
||||||
portaudio portmidi # tesseract
|
portaudio portmidi # tesseract
|
||||||
qtbase qtdeclarative qtscript qtsvg qttools qtwebkit qtxmlpatterns
|
qtbase qtdeclarative qtscript qtsvg qttools qtwebengine qtxmlpatterns
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -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}
|
Loading…
Reference in New Issue
Block a user