Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 1.29 KB

BUILD.md

File metadata and controls

61 lines (43 loc) · 1.29 KB

Build Instructions

KDE Plasma

Lyrica only works with Plasma version 6.0 or later.

Because the project uses relative path to run the backend, so desktops installed by Flatpak or Snap and distros that use non-standard home directory like NixOS are not supported.

Fetch source code

git clone https://github.com/chiyuki0325/lyrica
cd lyrica
git checkout $(git tag --list "v*" | tail -1)

Install dependencies

Debian/Ubuntu:

sudo apt install rustup jq qt6-declarative-dev qt6-websockets-dev qml6-module-qtwebsockets libdbus-1-dev
rustup toolchain install stable

Arch Linux:

sudo pacman -S --needed rustup qt6-declarative qt6-websockets jq
rustup toolchain install stable

Fedora:

sudo dnf install rustup jq qt6-qtdeclarative qt6-qtdeclarative-devel qt6-qtwebsockets qt6-qtwebsockets-devel dbus-devel
rustup toolchain install stable

openSUSE:

sudo zypper install rustup jq qt6-declarative qt6-websockets qt6-websockets-imports dbus-1-devel
rustup toolchain install stable

Build

bash build_plasmoid.sh

Install

kpackagetool6 -i lyrica-plasmoid-<version>-<distro>-<arch>.plasmoid -t Plasma/Applet

Upgrade

kpackagetool6 -u lyrica-plasmoid-<version>-<distro>-<arch>.plasmoid -t Plasma/Applet