loskutov / deadbeef-lyricbar

A simple plugin for DeaDBeeF audio player that fetches and shows the song’s lyrics
MIT License
29 stars 8 forks source link

Installation on Fedora 34 #26

Closed ghost closed 2 years ago

ghost commented 3 years ago

Does someone successfully installed this plugin on Fedora? The dependencies instructions refers only for a .deb based distro and seems those deps aren't available in Fedora repos.

ghost commented 3 years ago

I found the dependencies dnf install gcc-c++ cmake gtkmm30-devel libxml++30-devel in Fedora 34. Copied the deadbeef.h to the source folder and run make gtk3 but something is wrong.

g++ src/ui.cpp -c `pkg-config --cflags libxml++-3.0 gtkmm-3.0 gtk+-3.0` -std=c++14 -Wall -O2 -fPIC -fvisibility=hidden -flto
In file included from src/ui.cpp:1:
src/ui.h:5:10: fatal error: deadbeef/deadbeef.h: No such file or directory
    5 | #include <deadbeef/deadbeef.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:25: ui.o] Error 1
loskutov commented 3 years ago

I guess what you need instead of copying files is the deadbeef-devel package from RPM Fusion / UnitedRPMs.