summaryrefslogtreecommitdiff
path: root/audio/musescore
diff options
context:
space:
mode:
authorgutteridge <gutteridge@pkgsrc.org>2020-08-14 05:23:09 +0000
committergutteridge <gutteridge@pkgsrc.org>2020-08-14 05:23:09 +0000
commit421ca2451afe7ba52b82376f2908468eefd295b9 (patch)
treef21f6b1db205d8799910ddbf7a1f6805d5210ce1 /audio/musescore
parentcf38ff7cf3bedab1376a257e26082af13652e9ac (diff)
downloadpkgsrc-421ca2451afe7ba52b82376f2908468eefd295b9.tar.gz
musescore: build fixes
Some translation files are installed or not installed depending on the visibility of qt5-qttranslations in the build environment. For now, simply explictly require this as a dependency. (It looks like there may be more translation components to consider, but that's TBD separate from basic build consistency.) Thanks to wiz@ for mentioning this. Also, they've bumped the minimum GCC accepted from 4.7 to 4.8.
Diffstat (limited to 'audio/musescore')
-rw-r--r--audio/musescore/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/audio/musescore/Makefile b/audio/musescore/Makefile
index a665df6ee48..7433fa6ba82 100644
--- a/audio/musescore/Makefile
+++ b/audio/musescore/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2020/08/13 04:27:38 gutteridge Exp $
+# $NetBSD: Makefile,v 1.10 2020/08/14 05:23:09 gutteridge Exp $
DISTNAME= musescore-3.5
+PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GITHUB:=musescore/}
GITHUB_PROJECT= MuseScore
@@ -16,7 +17,7 @@ USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++11
# C++11
-GCC_REQD+= 4.7
+GCC_REQD+= 4.8
CONFIGURE_DIRS= bindir
CMAKE_ARG_PATH= ..
@@ -33,6 +34,8 @@ CMAKE_ARGS+= -DBUILD_WEBENGINE=OFF
pre-configure:
${MKDIR} ${WRKSRC}/bindir
+DEPENDS+= qt5-qttranslations>=5.15.0:../../x11/qt5-qttranslations
+
.include "options.mk"
.include "../../audio/lame/buildlink3.mk"
.include "../../audio/libsndfile/buildlink3.mk"