Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/musescore musescore: build fixes



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f549ff3903ae
branches:  trunk
changeset: 436995:f549ff3903ae
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Fri Aug 14 05:23:09 2020 +0000

description:
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:

 audio/musescore/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 609b34db59da -r f549ff3903ae audio/musescore/Makefile
--- a/audio/musescore/Makefile  Fri Aug 14 04:49:42 2020 +0000
+++ b/audio/musescore/Makefile  Fri Aug 14 05:23:09 2020 +0000
@@ -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_LANGUAGES= c c++11
 
 # C++11
-GCC_REQD+=     4.7
+GCC_REQD+=     4.8
 
 CONFIGURE_DIRS=        bindir
 CMAKE_ARG_PATH=        ..
@@ -33,6 +34,8 @@
 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"



Home | Main Index | Thread Index | Old Index