... | @@ -8,14 +8,14 @@ It is highly recommended to use the `kdesrc-build` utility to build and test KDE |
... | @@ -8,14 +8,14 @@ It is highly recommended to use the `kdesrc-build` utility to build and test KDE |
|
|
|
|
|
For the most part, if you want to build a single application without needing to build the entire Plasma stack, we can directly build it.
|
|
For the most part, if you want to build a single application without needing to build the entire Plasma stack, we can directly build it.
|
|
|
|
|
|
On the system, we need Plasma, ECM and base development packages installed (on Arch, this is `extra-cmake-modules` and `base-devel`).
|
|
On the system, we need Plasma, ECM and base development packages installed (on Arch, this is `extra-cmake-modules` and `base-devel`). The application may have other dependency requirements too.
|
|
|
|
|
|
For example, if we wanted to build [KWeather](https://invent.kde.org/plasma-mobile/kweather)
|
|
For example, if we wanted to build [KRecorder](https://invent.kde.org/plasma-mobile/krecorder):
|
|
|
|
|
|
```bash
|
|
```bash
|
|
# Pull source code
|
|
# Pull source code
|
|
git clone https://invent.kde.org/plasma-mobile/kweather
|
|
git clone https://invent.kde.org/plasma-mobile/krecorder
|
|
cd kweather
|
|
cd krecorder
|
|
|
|
|
|
# Create build folder
|
|
# Create build folder
|
|
mkdir build
|
|
mkdir build
|
... | @@ -23,7 +23,7 @@ cmake .. # Generate build files |
... | @@ -23,7 +23,7 @@ cmake .. # Generate build files |
|
make -j8 # Build the project, change 8 to the number of threads your system has
|
|
make -j8 # Build the project, change 8 to the number of threads your system has
|
|
|
|
|
|
# Run the built binary
|
|
# Run the built binary
|
|
./bin/kweather
|
|
./bin/krecorder
|
|
```
|
|
```
|
|
|
|
|
|
Check the README file for the application you want to build for more details.
|
|
Check the README file for the application you want to build for more details.
|
... | | ... | |