本帖最后由 speedturtle 于 2020-3-26 12:45 编辑
关于编译安装最新版本1.4可以参考以下链接的教程。新手建议最好是在Ubuntu下进行,试过在深度系统里面编译安装,最终的软件UI不美观, Compiling for Windows or macOS is a little more complicated.
https://github.com/clementine-player/Clementine/wiki/Compiling-from-source-(Linux)
安装相关依赖包
sudo apt-get install ccachesudo apt-get install -y cmake g++ git gettext \ libglib2.0-dev libdbus-1-dev \ libboost-dev libprotobuf-dev protobuf-compiler libsqlite3-dev sqlite3 libcrypto++-dev \ libasound2-dev libpulse-dev libtag1-dev \ qtbase5-dev qtbase5-dev-tools qtbase5-private-dev \ libqt5core5a libqt5gui5 libqt5widgets5 libqt5concurrent5 libqt5network5 libqt5sql5 \ libqt5x11extras5-dev libqt5dbus5 qttools5-dev \ libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-good1.0-dev \ gstreamer1.0-alsa gstreamer1.0-pulseaudio \ libgstreamer1.0-0 libgstreamer-plugins-base1.0-0 libgstreamer-plugins-good1.0-0 libgstreamer-plugins-bad1.0-0 \ libchromaprint-dev libfftw3-dev libsparsehash-dev libglew-dev \ libcdio-dev libmtp-dev libgpod-dev libplist-dev libusbmuxd-dev \ liblastfm5-dev以上有的会报错,具体根据自己使用的系统解决。一般都会百度出答案的编译安装,先下载源码git clone https://github.com/clementine-player/Clementine.git然后进入clementine/bin目录,没有bin目录就需要手动创建 mkdir bin #编译需要等半小时,根据你的电脑性能。 cd bincmake ../make sudo make installIf you wish to have debug symbols, use cmake -DCMAKE_BUILD_TYPE=Debug ../instead of cmake ../It's a good idea to run cmake from a separate build directory. There's a bin directory provided for you. This is a good idea because it avoids cluttering the source directories with generated files, and it lets you completely wipe the build files with rm -rf bin/*.
|