mirror of
https://github.com/linuxdeepin/deepin-music.git
synced 2026-10-16 21:20:47 +08:00
e043ec7dd18198c11642c78c95d01a6ee198515f
The `add_definitions(-include poll.h)` was a workaround because VLC headers call poll() without including poll.h. Drop the workaround from src/libdmusic/CMakeLists.txt along with its explanatory comment. fix: 移除 VLC 头文件强制包含 poll.h 的 workaround 此前由于 VLC 头文件调用 poll() 但未包含 poll.h,通过 `add_definitions(-include poll.h)` 强制包含以绕过该问题。 现从 src/libdmusic/CMakeLists.txt 中移除该 workaround 及对应注释。
chore: Sync by https://github.com/linuxdeepin/.github/commit/a300f8523d4876677112edab6a0772f7ad112976
deepin-music
Deepin music is a local music player with beautiful design and simple functions developed by Deepin Technology.
Dependencies
Build dependencies
The master branch is current development branch, build dependencies may changes without update README.md, refer to ./debian/control for a working build depends list
- cmake (>= 3.10)
- pkg-config
- libavutil-dev
- libavcodec-dev
- libavformat-dev
- libdtk6core-bin
- libdtk6gui-dev
- libicu-dev
- libmpris-qt6-dev
- libtag1-dev
- libxtst-dev
- libvlc-dev
- libvlccore-dev
- libsdl2-dev
- Qt6 with modules:
- qt6-svg-dev
- qt6-multimedia-dev
- qt6-tools-dev
- qt6-tools-dev-tools
- qt6-declarative-dev
- qt6-5compat-dev
- libqt6sql6-sqlite
- qml6-module-qtquick-dialogs
- Deepin-tool-kit (>= 6.0) with modules:
- libdtk6declarative-dev
- libdtk6gui-dev
- libdtk6core-bin
Runtime dependencies
- libvlc5
- vlc-plugin-base
- gstreamer1.0-fluendo-mp3
- gstreamer1.0-libav
- gstreamer1.0-plugins-base
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-bad
- gstreamer1.0-plugins-ugly
- gstreamer1.0-pulseaudio
- gvfs-bin
- libuchardet0
- libmpris-qt6
Installation
Build from source code
- Make sure you have installed all dependencies.
Package name may be different between distros, if deepin-music is available from your distro, check the packaging script delivered from your distro is a better idea.
Assume you are using Deepin or other debian-based distro which got deepin-music delivered:
$ apt build-dep deepin-music
- Build:
$ cd deepin-music
$ mkdir Build
$ cd Build
$ cmake ..
$ make
- Install:
$ sudo make install
The executable binary file could be found at /usr/bin/deepin-music
Usage
Execute deepin-music
Getting help
Getting involved
We encourage you to report issues and contribute changes
- Contribution guide for developers (English)
- 开发者代码贡献指南 (中文)
License
deepin-music is licensed under GPL-3.0-or-later.
Languages
C++
65.6%
QML
33.1%
CMake
1%
Shell
0.2%