2011-08-01 22:05:35 +00:00
|
|
|
PORTNAME= musescore
|
2019-08-19 12:17:49 +00:00
|
|
|
DISTVERSIONPREFIX= v
|
2021-02-08 00:01:17 +00:00
|
|
|
DISTVERSION= 3.6.1
|
2011-08-01 22:05:35 +00:00
|
|
|
CATEGORIES= audio
|
|
|
|
|
2018-02-05 20:11:24 +00:00
|
|
|
MAINTAINER= adridg@FreeBSD.org
|
2011-08-01 22:05:35 +00:00
|
|
|
COMMENT= Free music composition & notation software
|
|
|
|
|
2012-06-17 20:15:57 +00:00
|
|
|
LICENSE= GPLv2
|
2021-02-08 00:01:17 +00:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.GPL
|
2011-08-01 22:05:35 +00:00
|
|
|
|
2016-04-01 13:29:15 +00:00
|
|
|
LIB_DEPENDS= libmp3lame.so:audio/lame \
|
|
|
|
libsndfile.so:audio/libsndfile \
|
2017-08-31 12:05:39 +00:00
|
|
|
libvorbis.so:audio/libvorbis \
|
|
|
|
libogg.so:audio/libogg \
|
|
|
|
libfreetype.so:print/freetype2
|
2012-06-17 20:15:57 +00:00
|
|
|
|
2021-01-06 09:48:12 +00:00
|
|
|
USES= cmake compiler:c++11-lib desktop-file-utils localbase \
|
2019-07-30 20:36:35 +00:00
|
|
|
pkgconfig qt:5 shared-mime-info
|
2020-08-13 19:38:51 +00:00
|
|
|
USE_QT= concurrent core declarative designer graphicaleffects gui \
|
|
|
|
help location network opengl printsupport \
|
|
|
|
quickcontrols2 scripttools sql svg testlib \
|
|
|
|
webchannel widgets xml xmlpatterns \
|
2015-10-10 05:44:35 +00:00
|
|
|
buildtools_build linguisttools_build qmake_build uitools_build
|
2019-04-12 14:45:39 +00:00
|
|
|
|
2019-07-30 20:36:35 +00:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= musescore
|
|
|
|
GH_PROJECT= MuseScore
|
|
|
|
|
2019-04-12 14:45:39 +00:00
|
|
|
# Each release gets a subdir containing the distfiles for that release,
|
|
|
|
# so hope that scanning the parent dir finds new ones.
|
2020-08-13 19:38:51 +00:00
|
|
|
#
|
|
|
|
# Note needs PORTVERSION:R once there is a .minor version
|
2021-02-08 00:01:17 +00:00
|
|
|
DATADIR= ${PREFIX}/share/mscore-${PORTVERSION:R}
|
2019-04-12 14:45:39 +00:00
|
|
|
|
2015-10-10 05:44:35 +00:00
|
|
|
ALL_TARGET= lrelease manpages all
|
2021-02-08 00:01:17 +00:00
|
|
|
|
|
|
|
CMAKE_OFF= BUILD_PORTMIDI BUILD_PCH MSCORE_UNSTABLE
|
|
|
|
CMAKE_ON= USE_SYSTEM_FREETYPE
|
|
|
|
CMAKE_BUILD_TYPE= release
|
2011-08-01 22:05:35 +00:00
|
|
|
|
2019-12-05 11:54:00 +00:00
|
|
|
# WebEngine is only available on i386/amd64, amd ppc64 starting FreeBSD 13.0.
|
2019-02-11 11:23:46 +00:00
|
|
|
# If enabled on arches that don't have WebEngine, the build breaks.
|
|
|
|
OPTIONS_DEFINE= ALSA JACK PORTAUDIO PULSEAUDIO WEBENGINE
|
2015-10-10 05:44:35 +00:00
|
|
|
OPTIONS_DEFAULT= PORTAUDIO
|
2019-01-10 21:04:10 +00:00
|
|
|
OPTIONS_DEFAULT_amd64= WEBENGINE
|
|
|
|
OPTIONS_DEFAULT_i386= WEBENGINE
|
|
|
|
|
|
|
|
WEBENGINE_DESC= Use WebEngine in the welcome panel
|
2011-08-01 22:05:35 +00:00
|
|
|
|
2016-04-01 13:29:15 +00:00
|
|
|
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
|
2016-06-30 20:02:43 +00:00
|
|
|
ALSA_CMAKE_BOOL= BUILD_ALSA
|
2016-04-01 13:29:15 +00:00
|
|
|
JACK_LIB_DEPENDS= libjack.so:audio/jack
|
2016-06-30 20:02:43 +00:00
|
|
|
JACK_CMAKE_BOOL= BUILD_JACK
|
2016-04-01 13:29:15 +00:00
|
|
|
PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio
|
2016-06-30 20:02:43 +00:00
|
|
|
PORTAUDIO_CMAKE_BOOL= BUILD_PORTAUDIO
|
2016-04-01 13:29:15 +00:00
|
|
|
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
|
2016-06-30 20:02:43 +00:00
|
|
|
PULSEAUDIO_CMAKE_BOOL= BUILD_PULSEAUDIO
|
2019-01-10 21:04:10 +00:00
|
|
|
WEBENGINE_USE= qt=webengine
|
|
|
|
WEBENGINE_CMAKE_BOOL= BUILD_WEBENGINE
|
2015-10-10 05:44:35 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${CHOSEN_COMPILER_TYPE} == clang
|
|
|
|
CXXFLAGS+= -Wno-inconsistent-missing-override
|
|
|
|
.endif
|
2011-08-01 22:05:35 +00:00
|
|
|
|
2021-03-24 13:34:35 +00:00
|
|
|
.if ${PORT_OPTIONS:MWEBENGINE}
|
|
|
|
DEPRECATED= Uses EOL Python 2.7 via www/qt5-webengine
|
|
|
|
EXPIRATION_DATE=2021-06-23
|
|
|
|
.endif
|
|
|
|
|
2015-10-10 05:44:35 +00:00
|
|
|
.include <bsd.port.post.mk>
|