A lightweight music player. It is written in C++, uses
libav
(ffmpeg fork) for handling audio and FLTK
for GUI.
(Older screenshot with the old about dialog:)
Dependencies:
- libavformat
- libavcodec
- libavdevice
- libavutil
- libswresample
- libfltk1.3
- libfltk-images1.3
To install them on Debian Linux:
sudo apt install libavformat-dev libavcodec-dev libavdevice-dev libavutil-dev libswresample-dev libfltk1.3-dev libfltk-images1.3
Open the terminal in the folder where the source code is.
Execute these commands:
mkdir build # Create a directory to build in
cd build # Step into it
cmake .. # Generate build files
make -jx # Compile (replace x with the number of threads to use)
After building, the binary can be found in the same directory.
A desktop file can be created to put on your desktop or in your menu.
To generate it, execute gen_desktop_icon.py
with python3.
Usually this can be done like this:
python3 ./gen_desktop_icon.py
The output filename is LightMusic.desktop
.