From 2e12303b778caf3d06d0949a36940bf713660c4f Mon Sep 17 00:00:00 2001 From: Dan Foster Date: Wed, 22 Mar 2023 15:19:07 +0000 Subject: [PATCH] Add docs on which build dependancies need to be installed --- README.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8b6f34f..3f54120 100644 --- a/README.md +++ b/README.md @@ -49,8 +49,7 @@ comfort of your graphical interface using point and click or tap interactions even in cases that a keyboard isn't available. ## How to install -First of all you need to be in sudoers' group. After that you can just clone -the code and install it using the following commands: +First of all you need to be in sudoers' group. After that you can just clone the code and install it using the following commands: ``` git clone https://github.com/frankenfruity/plasma-pstate @@ -59,13 +58,20 @@ mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE=Release .. make -make install +sudo make install cd .. -cp ./src/plasma_pstate.policy /usr/share/polkit-1/actions/ -chmod 644 /usr/share/polkit-1/actions/plasma_pstate.policy +sudo cp ./src/plasma_pstate.policy /usr/share/polkit-1/actions/ +sudo chmod 644 /usr/share/polkit-1/actions/plasma_pstate.policy ``` +You need a number of build time dependencies. On Ubuntu, these can be installed using: + +``` +sudo apt-get install -y qtdeclarative5-dev extra-cmake-modules libkf5plasma-dev libkf5i18n-dev cmake +``` + + **Notice:** If your processor doesn't support EPP(ie older generations without HWP), then you need also to install the ``x86_energy_perf_policy`` which (in case of Ubuntu 18.04 distros) is provided by the ``linux-tools`` package and