Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938970 - media-sound/musescore-4.4.0: ebuild should set MUE_COMPILE_USE_SYSTEM_OPUS
Summary: media-sound/musescore-4.4.0: ebuild should set MUE_COMPILE_USE_SYSTEM_OPUS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-03 12:42 UTC by S. Martindale
Modified: 2024-09-06 09:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description S. Martindale 2024-09-03 12:42:05 UTC
The compile-time configuration `MUE_COMPILE_USE_SYSTEM_OPUS` was added in https://github.com/musescore/MuseScore/commit/be54d1f03f5853d81dc7e14c0b20137d23e4398a and that commit is finally included in MuseScore 4.4.0.

The current ebuild already sets `-DMUE_COMPILE_USE_SYSTEM_OPUSENC=ON` and it should also set `MUE_COMPILE_USE_SYSTEM_OPUS` now that that's available. (Alternatively, a USE-flag should be employed to optionally control both.)

I believe that doing so would unblock those who wish to use the proprietary, closed-source (eww! Bad MuseScore!) Muse Sampler binary, `libMuseSamplerCoreLib.so`, distributed by the vendor via their Muse Sounds Manager utility. I am lead to this belief by issues including https://github.com/flathub/org.musescore.MuseScore/issues/100 but I haven't tried it on Gentoo, yet.

Nevertheless, if the ebuild already configures the package to use the opus encoder from the system, it surely makes sense to set the new configuration flag, too. (Once done, `libMuseSamplerCoreLib.so` might more readily be tested.)
Comment 1 Larry the Git Cow gentoo-dev 2024-09-06 09:03:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb0b87365d7dd4fc7781c718f720ec069648f8f3

commit fb0b87365d7dd4fc7781c718f720ec069648f8f3
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2024-09-06 09:03:22 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-09-06 09:03:36 +0000

    media-sound/musescore: fixed some issues in 4.4.0 + updated live
    
    added missing dep
    added patch for missing main toolbar and menubar
    added MUE_COMPILE_USE_SYSTEM_OPUS
    live: added missing inlcude
    live: added MUE_COMPILE_USE_SYSTEM_HARFBUZZ
    
    Closes: https://bugs.gentoo.org/938586
    Closes: https://bugs.gentoo.org/938970
    Bug: https://bugs.gentoo.org/938968
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 ...escore-4.4.0-fix-main-toolbar-and-menubar.patch | 38 ++++++++++++++++++++++
 .../files/musescore-4.5.0-missing-include.patch    | 10 ++++++
 ...core-4.4.0.ebuild => musescore-4.4.0-r1.ebuild} |  3 ++
 media-sound/musescore/musescore-9999.ebuild        |  6 +++-
 4 files changed, 56 insertions(+), 1 deletion(-)