Index: head/audio/musescore/Makefile =================================================================== --- head/audio/musescore/Makefile (revision 489898) +++ head/audio/musescore/Makefile (revision 489899) @@ -1,74 +1,83 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= musescore DISTVERSION= 3.0.0 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= http://ftp.osuosl.org/pub/musescore/releases/MuseScore-${DISTVERSION}/ DISTNAME= MuseScore-${DISTVERSION} NO_WRKSUBDIR= yes MAINTAINER= adridg@FreeBSD.org COMMENT= Free music composition & notation software LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.GPL # Because of webengine ONLY_FOR_ARCHS= i386 amd64 LIB_DEPENDS= libmp3lame.so:audio/lame \ libsndfile.so:audio/libsndfile \ libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg \ libfreetype.so:print/freetype2 USES= cmake compiler:c++11-lib desktop-file-utils \ pkgconfig qt:5 shared-mime-info zip USE_QT= core declarative gui widgets opengl concurrent designer help network \ - scripttools svg sql printsupport testlib webengine \ + scripttools svg sql printsupport testlib \ xml xmlpatterns \ buildtools_build linguisttools_build qmake_build uitools_build ALL_TARGET= lrelease manpages all INSTALLS_ICONS= yes -CMAKE_ARGS+= -DUSE_SYSTEM_FREETYPE="ON" -DBUILD_PORTMIDI=OFF +CMAKE_ARGS+= -DUSE_SYSTEM_FREETYPE="ON" \ + -DBUILD_PORTMIDI=OFF \ + -DBUILD_PCH=OFF DATADIR= ${PREFIX}/share/mscore-${PORTVERSION:R} -OPTIONS_DEFINE= ALSA JACK PORTAUDIO PULSEAUDIO OCR +OPTIONS_DEFINE= ALSA JACK PORTAUDIO PULSEAUDIO OCR WEBENGINE OPTIONS_DEFAULT= PORTAUDIO +OPTIONS_DEFAULT_amd64= WEBENGINE +OPTIONS_DEFAULT_i386= WEBENGINE + OCR_DESC= Optical Character Recognition +WEBENGINE_DESC= Use WebEngine in the welcome panel ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= BUILD_ALSA JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CMAKE_BOOL= BUILD_JACK PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_CMAKE_BOOL= BUILD_PORTAUDIO PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= BUILD_PULSEAUDIO OCR_CMAKE_BOOL= OCR +WEBENGINE_USE= qt=webengine +WEBENGINE_CMAKE_BOOL= BUILD_WEBENGINE .include .if ${CHOSEN_COMPILER_TYPE} == clang CXXFLAGS+= -Wno-inconsistent-missing-override .endif post-extract: @${RM} -r ${WRKSRC}/thirdparty/freetype post-patch: @${FIND} ${WRKSRC} -name "CMakeLists.txt" -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e \ '/RELEASE/s|-O2 ||; \ /COMPILE_FLAGS/s|-g ||; \ s|share/man|man|; \ /COMPILE_FLAGS/s|$${PCH_INCLUDE} |-include $${PROJECT_BINARY_DIR}/all.h |' @${REINPLACE_CMD} -e \ 's||| ; \ s||| ; \ s||| ; \ s|||' ${WRKSRC}/all.h .include Index: head/audio/musescore/files/patch-mscore_CMakeLists.txt =================================================================== --- head/audio/musescore/files/patch-mscore_CMakeLists.txt (nonexistent) +++ head/audio/musescore/files/patch-mscore_CMakeLists.txt (revision 489899) @@ -0,0 +1,22 @@ +Editorialize. What are they thinking? + +--- mscore/CMakeLists.txt.orig 2019-01-10 20:08:02 UTC ++++ mscore/CMakeLists.txt +@@ -661,7 +661,7 @@ else (MINGW) + + if ( NOT MSVC ) + ## install qwebengine core +- if (NOT APPLE AND USE_WEBENGINE) ++ if (YOU_CANT_SERIOUSLY_SUGGEST_TO_COPY_WEBENGINE_EXECUTABLES_AROUND) + install(FILES + ${QT_INSTALL_LIBEXECS}/QtWebEngineProcess + DESTINATION bin +@@ -674,7 +674,7 @@ else (MINGW) + ${QT_INSTALL_TRANSLATIONS}/qtwebengine_locales + DESTINATION lib/qt5/translations + ) +- endif(NOT APPLE AND USE_WEBENGINE) ++ endif(YOU_CANT_SERIOUSLY_SUGGEST_TO_COPY_WEBENGINE_EXECUTABLES_AROUND) + + target_link_libraries(mscore + ${ALSA_LIB} Property changes on: head/audio/musescore/files/patch-mscore_CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property