Add the fallback to the internal libShout to cmake as well#2714
Conversation
This fixes lp1833225 also for cmake builds
|
OK, extra message is in place. |
|
Ups, It has always used the system lib for linking. And broadcasting is still working :-) |
Holzhaus
left a comment
There was a problem hiding this comment.
Seems to work, but the printed messages could be improved because it doesn't even mention libshout.
|
Done. |
|
Thank you! |
|
https://bugs.launchpad.net/mixxx/+bug/1833225 should be fixed now with latest libshout-2.4.4 and libshout-2.4.5 releases. https://gitlab.xiph.org/xiph/icecast-libshout/-/blob/master/NEWS
libshout 2.4.4 (20201001)
libshout-2.4.5 is not tagged yet as release but downloadable: I have tried now with libshout-2.4.5 installed in my system -- Found Shout: /usr/lib64/libshout.so /usr/lib64/pkgconfig/shout.pc has lrwxrwxrwx 1 root root 17 30. Dez 12:54 /usr/lib64/libshout.so -> libshout.so.3.2.0 See also Gentoo bug: |
|
If I remove "QUIET" in FindShout.cmake: |
|
@jospezial if you find a fix, please open a pull request. |
|
There must be something wrong with if(Shout_FOUND AND Shout_VERSION VERSION_LESS 2.4.4) but there end my skills about programming. |
|
@jospezial i personally would add lines just before these lines to get the output of |
|
Oh I see FindShout.cmake does not set Shout_VERSION. I will provide a fix. |
|
Fixed in: #3505 |
This fixes lp1833225 also for cmake builds
https://bugs.launchpad.net/mixxx/+bug/1875013
I have verified that it still works and that we use the same build flags as the Ubuntu System lib.