Bug#978616: mediastreamer2: doesn't build correct libraries with cmake?

2020-12-31 Thread Gianfranco Costamagna
control: forwarded -1 https://github.com/BelledonneCommunications/mediastreamer2/pull/27 thanks G.

Bug#978616: mediastreamer2: doesn't build correct libraries with cmake?

2020-12-31 Thread Gianfranco Costamagna
On Wed, 30 Dec 2020 17:18:41 +0100 Bernhard Schmidt wrote: > Dear Gianfranco, > > Thanks for filing this bug report. I’m away for the next couple of days and > could not check, but wouldn’t just patching the pkgconfig file (your second > option) be a lot easier? Upstream merged both libraries

Bug#978616: mediastreamer2: doesn't build correct libraries with cmake?

2020-12-30 Thread Bernhard Schmidt
Dear Gianfranco, Thanks for filing this bug report. I’m away for the next couple of days and could not check, but wouldn’t just patching the pkgconfig file (your second option) be a lot easier? Upstream merged both libraries and they probably just forgot to change the pkgconfig file as well.

Bug#978616: mediastreamer2: doesn't build correct libraries with cmake?

2020-12-29 Thread Gianfranco Costamagna
This might be a patch that works if the library is found via pkgconfig but not via cmake --- mediastreamer2-4.4.21.orig/src/CMakeLists.txt +++ mediastreamer2-4.4.21/src/CMakeLists.txt @@ -495,12 +495,16 @@ if(ENABLE_STATIC) ) endif() if(ENABLE_SHARED) - add_library(mediastreamer

Bug#978616: mediastreamer2: doesn't build correct libraries with cmake?

2020-12-29 Thread Gianfranco Costamagna
Source: mediastreamer2 Version: 1:4.4.21-2 Severity: serious Hello, looks like with autotools, the library provides libmediastreamer_base and libmediastreamer_voip, while with cmake it doesn't. the pkgconfig file is obviously wrong, but I don't know which solution you prefer (and if you are