diff options
author | Lukas Fürmetz <fuermetz@mailbox.org> | 2019-07-04 15:06:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-04 15:06:54 +0200 |
commit | e8032af8f0588b7450bfb62e115fd2e25e4a7c75 (patch) | |
tree | 3750d852e103f67d1416afdbaa674895235cf3e6 | |
parent | 8d9d0f008d227a936c91c33742a135d7c4e0ea61 (diff) | |
parent | 7c5986bb46a953a71f7770e512373697f4aa1227 (diff) |
Merge pull request #13 from Plailect/master
Add Fedora build instructions
-rw-r--r-- | CMakeLists.txt | 4 | ||||
-rw-r--r-- | README.md | 17 |
2 files changed, 19 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5cef582..aa7050a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,8 +5,8 @@ set (CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_MODULE_PATH} ) -find_package (Qt5 ${QT_MIN_VERSION} REQUIRED CONFIG COMPONENTS Widgets Core DBus Quick) -find_package (KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS Auth I18n Service Runner TextWidgets ConfigWidgets PlasmaQuick Notifications) +find_package (Qt5 ${QT_MIN_VERSION} REQUIRED CONFIG COMPONENTS Widgets Core Quick DBus) +find_package (KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS I18n Service Runner TextWidgets ConfigWidgets PlasmaQuick Notifications Auth) include(KDEInstallDirs) include(KDECMakeSettings) @@ -41,3 +41,20 @@ cd build cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix` -DKDE_INSTALL_QTPLUGINDIR=`kf5-config --qt-plugins` make ``` + +For Fedora (>=23) you will need the following build dependencies: +``` +dnf install @development-tools cmake extra-cmake-modules gettext \ + qt5-qtdeclarative-devel \ + kf5-ki18n-devel \ + kf5-kservice-devel \ + kf5-krunner-devel \ + kf5-ktextwidgets-devel \ + kf5-knotifications-devel \ + kf5-kconfigwidgets-devel \ + +mkdir -p build +cd build +cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix` -DKDE_INSTALL_QTPLUGINDIR=`kf5-config --qt-plugins` +make +```
\ No newline at end of file |