mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Fix build instructions to use LOCAL_KAUTH_INSTALL
This commit is contained in:
parent
36a39e1537
commit
4efc6e29c7
2 changed files with 7 additions and 3 deletions
|
|
@ -115,12 +115,16 @@ distrobox enter shift-tw -- bash -c '
|
||||||
cd ~/Projects/Shift
|
cd ~/Projects/Shift
|
||||||
cmake -S . -B build-clean -G Ninja \
|
cmake -S . -B build-clean -G Ninja \
|
||||||
-DCMAKE_INSTALL_PREFIX=$PWD/.prefix \
|
-DCMAKE_INSTALL_PREFIX=$PWD/.prefix \
|
||||||
-DCMAKE_BUILD_TYPE=Debug
|
-DCMAKE_BUILD_TYPE=Debug \
|
||||||
|
-DPLASMA_MOBILE_LOCAL_KAUTH_INSTALL=ON
|
||||||
'
|
'
|
||||||
```
|
```
|
||||||
|
|
||||||
`-DCMAKE_INSTALL_PREFIX=$PWD/.prefix` tells cmake to install into a
|
`-DCMAKE_INSTALL_PREFIX=$PWD/.prefix` tells cmake to install into a
|
||||||
local directory instead of `/usr`. During configure, ECM auto-generates
|
local directory instead of `/usr`.
|
||||||
|
`-DPLASMA_MOBILE_LOCAL_KAUTH_INSTALL=ON` redirects KAuth helper
|
||||||
|
executables and polkit policy files into the local prefix so that
|
||||||
|
`cmake --install` works without root. During configure, ECM auto-generates
|
||||||
`build-clean/prefix.sh` — a shell snippet that prepends `.prefix` paths
|
`build-clean/prefix.sh` — a shell snippet that prepends `.prefix` paths
|
||||||
to `QT_PLUGIN_PATH`, `QML2_IMPORT_PATH`, `XDG_DATA_DIRS`, etc. The
|
to `QT_PLUGIN_PATH`, `QML2_IMPORT_PATH`, `XDG_DATA_DIRS`, etc. The
|
||||||
preview script sources this file so the system `plasmashell` finds our
|
preview script sources this file so the system `plasmashell` finds our
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ The upstream phone UI is untouched; convergence adds a layer on top.
|
||||||
### Building
|
### Building
|
||||||
|
|
||||||
```
|
```
|
||||||
cmake -B build
|
cmake -B build -DPLASMA_MOBILE_LOCAL_KAUTH_INSTALL=ON
|
||||||
cmake --build build
|
cmake --build build
|
||||||
cmake --install build
|
cmake --install build
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue