SHA256
1
0
forked from pool/musescore
musescore/0dde64eef84.patch
Cor Blom 97af26f314 Accepting request 1045993 from home:darix:playground
- Fix audio playback support in muse score 
  https://github.com/musescore/MuseScore/issues/11220#issuecomment-1365822403
  - Fix jack finder by backporting 0dde64eef84.patch:
    Though the jack code in Musescore seems to be unused and only
    alsa seems supported
  - Require alsa-plugins-pulse or pipewire-alsa to make playing out
    of the box
- prepare disabling the update check but it is currently not
  possible due to
  https://github.com/musescore/MuseScore/issues/15617  
- cmake searches for ogg support: add proper BR

OBS-URL: https://build.opensuse.org/request/show/1045993
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/musescore?expand=0&rev=118
2023-01-01 12:15:05 +00:00

19 lines
784 B
Diff

commit 0dde64eef849027d16a0ac83b15bc8789d678564
Author: Jerry James <loganjerry@gmail.com>
Date: Tue Dec 6 13:19:35 2022 -0700
Fix cmake error when building with jack on Linux
diff --git a/build/cmake/FindJack.cmake b/build/cmake/FindJack.cmake
index 6713e3aeef..d1676fa82b 100644
--- a/build/cmake/FindJack.cmake
+++ b/build/cmake/FindJack.cmake
@@ -28,6 +28,7 @@ IF(BUILD_JACK)
set (JACK_LIB "$ENV{${progenv}}/Jack/lib/libjack.a")
MESSAGE("JACK support enabled.")
ELSE(MINGW OR MSVC)
+ include(UsePkgConfig1)
PKGCONFIG1 (jack ${JACK_MIN_VERSION} JACK_INCDIR JACK_LIBDIR JACK_LIB JACK_CPP)
IF(JACK_INCDIR)
MESSAGE(STATUS "${JACK_LONGNAME} >= ${JACK_MIN_VERSION} found. jack support enabled.")