2021-08-27 11:33:22 +02:00
|
|
|
PORTNAME= ${GH_PROJECT:tl}
|
2019-08-19 14:17:49 +02:00
|
|
|
DISTVERSIONPREFIX= v
|
2023-09-18 22:16:12 +02:00
|
|
|
DISTVERSION= 4.1.1
|
2011-08-02 00:05:35 +02:00
|
|
|
CATEGORIES= audio
|
|
|
|
|
2018-02-05 21:11:24 +01:00
|
|
|
MAINTAINER= adridg@FreeBSD.org
|
2011-08-02 00:05:35 +02:00
|
|
|
COMMENT= Free music composition & notation software
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://musescore.org/
|
2011-08-02 00:05:35 +02:00
|
|
|
|
2012-06-17 22:15:57 +02:00
|
|
|
LICENSE= GPLv2
|
2021-02-08 01:01:17 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.GPL
|
2011-08-02 00:05:35 +02:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
LIB_DEPENDS= libmp3lame.so:audio/lame \
|
|
|
|
libsndfile.so:audio/libsndfile \
|
2017-08-31 14:05:39 +02:00
|
|
|
libvorbis.so:audio/libvorbis \
|
|
|
|
libogg.so:audio/libogg \
|
2023-07-14 15:10:27 +02:00
|
|
|
libasound.so:audio/alsa-lib \
|
2023-09-18 22:16:12 +02:00
|
|
|
libasound_module_pcm_oss.so:audio/alsa-plugins \
|
2017-08-31 14:05:39 +02:00
|
|
|
libfreetype.so:print/freetype2
|
2012-06-17 22:15:57 +02:00
|
|
|
|
2023-07-14 15:10:27 +02:00
|
|
|
USES= cmake compiler:c++11-lib localbase \
|
|
|
|
pkgconfig qt:5
|
|
|
|
USE_QT= concurrent core dbus declarative designer graphicaleffects gui \
|
|
|
|
help location network networkauth opengl printsupport \
|
2023-09-18 22:16:12 +02:00
|
|
|
quickcontrols quickcontrols2 scripttools sql svg testlib \
|
2023-07-14 15:10:27 +02:00
|
|
|
webchannel widgets x11extras xml xmlpatterns \
|
2022-09-11 12:20:14 +02:00
|
|
|
buildtools:build linguisttools:build qmake:build uitools:build
|
2019-04-12 16:45:39 +02:00
|
|
|
|
2019-07-30 22:36:35 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_PROJECT= MuseScore
|
|
|
|
|
2019-04-12 16:45:39 +02: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 21:38:51 +02:00
|
|
|
#
|
|
|
|
# Note needs PORTVERSION:R once there is a .minor version
|
2021-02-08 01:01:17 +01:00
|
|
|
DATADIR= ${PREFIX}/share/mscore-${PORTVERSION:R}
|
2019-04-12 16:45:39 +02:00
|
|
|
|
2023-07-14 15:10:27 +02:00
|
|
|
CMAKE_OFF= MUE_BUILD_CRASHPAD_CLIENT \
|
|
|
|
MUE_COMPILE_USE_PCH
|
2021-02-08 01:01:17 +01:00
|
|
|
CMAKE_BUILD_TYPE= release
|
2011-08-02 00:05:35 +02:00
|
|
|
|
2023-07-14 15:10:27 +02:00
|
|
|
post-stage:
|
|
|
|
find ${STAGEDIR}${PREFIX}/lib -name '*.a' -delete # static libs from gtest
|
|
|
|
find ${STAGEDIR}${PREFIX}/lib/cmake -name '*.cmake' -delete # cmake configuration for kddockwidget
|
|
|
|
find ${STAGEDIR}${PREFIX}/include -name '*.h' -delete # headers for gtest, dockwidgets
|
|
|
|
find ${STAGEDIR}${PREFIX}/include -name 'README.md' -delete # readmes from gtest
|
|
|
|
find ${STAGEDIR}${PREFIX}/libdata -name '*.pc' -delete # pkgconfig from gtest
|
|
|
|
rmdir \
|
|
|
|
${STAGEDIR}${PREFIX}/include/gmock/internal/custom \
|
|
|
|
${STAGEDIR}${PREFIX}/include/gmock/internal \
|
|
|
|
${STAGEDIR}${PREFIX}/include/gmock \
|
|
|
|
${STAGEDIR}${PREFIX}/include/gtest/internal/custom \
|
|
|
|
${STAGEDIR}${PREFIX}/include/gtest/internal \
|
|
|
|
${STAGEDIR}${PREFIX}/include/gtest \
|
|
|
|
${STAGEDIR}${PREFIX}/include/kddockwidgets/private/indicators \
|
|
|
|
${STAGEDIR}${PREFIX}/include/kddockwidgets/private/multisplitter \
|
|
|
|
${STAGEDIR}${PREFIX}/include/kddockwidgets/private/quick \
|
|
|
|
${STAGEDIR}${PREFIX}/include/kddockwidgets/private \
|
|
|
|
${STAGEDIR}${PREFIX}/include/kddockwidgets \
|
|
|
|
${STAGEDIR}${PREFIX}/include/opus \
|
|
|
|
${STAGEDIR}${PREFIX}/lib/cmake/GTest \
|
|
|
|
${STAGEDIR}${PREFIX}/lib/cmake/KDDockWidgets \
|
|
|
|
${STAGEDIR}${PREFIX}/lib/cmake
|
2011-08-02 00:05:35 +02:00
|
|
|
|
2023-07-14 15:10:27 +02:00
|
|
|
.include <bsd.port.mk>
|