dominikschnitzer / musly

Musly - Music Similarity Library
http://www.musly.org
Mozilla Public License 2.0
137 stars 27 forks source link

Fix build with FFmpeg 7, C++17, and external libresample and kissfft #53

Open emilazy opened 1 month ago

emilazy commented 1 month ago

I started just doing a quick FFmpeg 7 patch for Nixpkgs but I might have gone overboard.

I removed support for ancient versions of FFmpeg as it didn’t feel worth it to maintain backwards compatibility.

This does also make an external libresample and kissfft implementation with .pc files a hard requirement; I can change it to fall back to the vendored source if you’d prefer.

emilazy commented 1 month ago

Note that the Travis build will probably fail because, uh… well, for one, is Travis CI on GitHub even still a thing? But also Debian’s libresample package is a bit broken currently; cf. https://github.com/minorninth/libresample/pull/8.