Skip to content

refactor: remove native vibra library and replace with Kotlin implementation#3043

Open
kairosci wants to merge 2 commits intoMetrolistGroup:mainfrom
kairosci:feature/remove-native-implementation
Open

refactor: remove native vibra library and replace with Kotlin implementation#3043
kairosci wants to merge 2 commits intoMetrolistGroup:mainfrom
kairosci:feature/remove-native-implementation

Conversation

@kairosci
Copy link
Contributor

@kairosci kairosci commented Feb 26, 2026

Summary

  • Removes native C++ vibra_fp library and FFTW3 dependency
  • Replaces with pure Kotlin implementation in ShazamSignatureGenerator.kt
  • Updates build.gradle.kts to remove NDK and CMake configuration
  • Removes setup-fftw GitHub action

This simplifies the build process and removes the native library dependency.

Problem

The native vibra_fp library requires FFTW3 and adds complexity to the build system.

Solution

Replace the native implementation with a pure Kotlin port of the Shazam signature algorithm.

Testing

Build verified successfully.

@moonpic
Copy link

moonpic commented Feb 26, 2026

Hasn't this already been done in? ac8b2b5

@kairosci
Copy link
Contributor Author

I don't think so, it's not in the codebase, otherwise it wouldn't track changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants