pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/musescore musescore: build fix for MacOS X (with...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/db1e16f37929
branches:  trunk
changeset: 411705:db1e16f37929
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Wed Feb 19 03:00:20 2020 +0000

description:
musescore: build fix for MacOS X (with pkgsrc's defaults)

diffstat:

 audio/musescore/Makefile                     |   3 ++-
 audio/musescore/distinfo                     |   4 ++--
 audio/musescore/patches/patch-CMakeLists.txt |  24 ++++++++++++++++++------
 3 files changed, 22 insertions(+), 9 deletions(-)

diffs (83 lines):

diff -r 09dc08e690de -r db1e16f37929 audio/musescore/Makefile
--- a/audio/musescore/Makefile  Tue Feb 18 23:06:05 2020 +0000
+++ b/audio/musescore/Makefile  Wed Feb 19 03:00:20 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2020/02/16 20:00:47 gutteridge Exp $
+# $NetBSD: Makefile,v 1.4 2020/02/19 03:00:20 gutteridge Exp $
 
 DISTNAME=      musescore-3.4.2
+PKGREVISION=   1
 CATEGORIES=    audio
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=musescore/}
 GITHUB_PROJECT=        MuseScore
diff -r 09dc08e690de -r db1e16f37929 audio/musescore/distinfo
--- a/audio/musescore/distinfo  Tue Feb 18 23:06:05 2020 +0000
+++ b/audio/musescore/distinfo  Wed Feb 19 03:00:20 2020 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2020/02/16 20:00:47 gutteridge Exp $
+$NetBSD: distinfo,v 1.3 2020/02/19 03:00:20 gutteridge Exp $
 
 SHA1 (musescore-3.4.2.tar.gz) = 95d8d0d0bef7327e793b6374feb22d9522225b30
 RMD160 (musescore-3.4.2.tar.gz) = d476367b02d5efc1527426451379b1918b24b8a9
 SHA512 (musescore-3.4.2.tar.gz) = d53024a04793dd418bce910e47b1d6f785b6e5ffbd97117a910f144ee37d20c20ce555a45fcf30532019aa8d7e429fc2dfedfef33a6078ab73889fe7995fe9f4
 Size (musescore-3.4.2.tar.gz) = 62960426 bytes
-SHA1 (patch-CMakeLists.txt) = 220fa5d8b68fbead76d8bed41e03b9133f59f3cc
+SHA1 (patch-CMakeLists.txt) = 82b2b3591f0241bdd7be173b3534615bd15a1a9c
diff -r 09dc08e690de -r db1e16f37929 audio/musescore/patches/patch-CMakeLists.txt
--- a/audio/musescore/patches/patch-CMakeLists.txt      Tue Feb 18 23:06:05 2020 +0000
+++ b/audio/musescore/patches/patch-CMakeLists.txt      Wed Feb 19 03:00:20 2020 +0000
@@ -1,12 +1,24 @@
-$NetBSD: patch-CMakeLists.txt,v 1.1 2019/10/16 23:22:08 nia Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.2 2020/02/19 03:00:21 gutteridge Exp $
 
 Never compress man pages.
 
 Use CMAKE_INSTALL_MANDIR.
 
---- CMakeLists.txt.orig        2019-07-06 09:44:00.000000000 +0000
+Use the correct macro for pkg-config invocation.
+https://github.com/musescore/MuseScore/pull/5732
+
+--- CMakeLists.txt.orig        2020-02-06 21:10:58.000000000 +0000
 +++ CMakeLists.txt
-@@ -663,7 +663,7 @@ if (NOT MINGW AND NOT MSVC AND NOT APPLE
+@@ -385,7 +385,7 @@ endif(BUILD_FOR_WINSTORE)
+ 
+ if (USE_SYSTEM_FREETYPE)
+       if (APPLE)
+-            PKGCONFIG (freetype2 2.5.2 FREETYPE_INCLUDE_DIRS FREETYPE_LIBDIR FREETYPE_LIBRARIES FREETYPE_CPP)
++            PKGCONFIG1 (freetype2 2.5.2 FREETYPE_INCLUDE_DIRS FREETYPE_LIBDIR FREETYPE_LIBRARIES FREETYPE_CPP)
+             if (FREETYPE_INCLUDE_DIRS)
+                   STRING(REGEX REPLACE  "\"" "" FREETYPE_INCLUDE_DIRS ${FREETYPE_INCLUDE_DIRS})
+                   STRING(REGEX REPLACE  "\"" "" FREETYPE_LIBDIR ${FREETYPE_LIBDIR})
+@@ -683,7 +683,7 @@ if (NOT MINGW AND NOT MSVC AND NOT APPLE
      # Compress man pages if gzip is installed (don't on OpenBSD)
      # Note: Compressing man pages is normal on Linux but not OpenBSD
      find_program( GZIP_EXECUTABLE gzip DOC "A tool for compressing manpages (optional)." )
@@ -15,7 +27,7 @@
          message(STATUS "Found 'gzip'. Man pages will be compressed.")
          set(MAN_TARGET ${MAN_BUILD})
          set(MAN_EXTENSION ${MAN_EXTENSION}.gz)
-@@ -680,7 +680,7 @@ if (NOT MINGW AND NOT MSVC AND NOT APPLE
+@@ -700,7 +700,7 @@ if (NOT MINGW AND NOT MSVC AND NOT APPLE
              COMMAND echo "Man pages have been compressed ready for installation."
              VERBATIM
              )
@@ -24,7 +36,7 @@
          if (CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
              message(STATUS "System is OpenBSD: Man pages will not be compressed.")
          else (CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
-@@ -690,9 +690,9 @@ if (NOT MINGW AND NOT MSVC AND NOT APPLE
+@@ -710,9 +710,9 @@ if (NOT MINGW AND NOT MSVC AND NOT APPLE
              COMMAND echo "Man pages will be installed uncompressed."
              VERBATIM
              )
@@ -36,7 +48,7 @@
      # Create symlink alias for man pages so `man musescore` = `man mscore`
      find_program( LN_EXECUTABLE ln DOC "A tool for creating symbolic link aliases (optional)." )
      if (LN_EXECUTABLE)
-@@ -703,7 +703,7 @@ if (NOT MINGW AND NOT MSVC AND NOT APPLE
+@@ -723,7 +723,7 @@ if (NOT MINGW AND NOT MSVC AND NOT APPLE
              COMMAND ${LN_EXECUTABLE} -sf "${MAN_FULL_NAME}" "${MAN_FULL_ALIAS}"
              COMMAND echo 'Symlink alias: ${MAN_FULL_ALIAS} -> ${MAN_FULL_NAME}'
              )



Home | Main Index | Thread Index | Old Index