Changeset View
Changeset View
Standalone View
Standalone View
desktop/CMakeLists.txt
1 | # install the .desktop and rc files in the correct place | 1 | # install the .desktop and rc files in the correct place | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | install( | 3 | install( | ||
4 | PROGRAMS org.kde.spectacle.desktop | 4 | PROGRAMS org.kde.spectacle.desktop | ||
5 | DESTINATION ${XDG_APPS_INSTALL_DIR} | 5 | DESTINATION ${XDG_APPS_INSTALL_DIR} | ||
6 | ) | 6 | ) | ||
7 | 7 | | |||
8 | install( | 8 | install( | ||
9 | FILES spectacle.notifyrc | 9 | FILES spectacle.notifyrc | ||
10 | DESTINATION ${KNOTIFYRC_INSTALL_DIR} | 10 | DESTINATION ${KNOTIFYRC_INSTALL_DIR} | ||
ngraham: Need to create `${KDE_INSTALL_FULL_DATAROOTDIR}/kglobalaccel` if it doesn't already exist. | |||||
Confirming same resulting sandbox violation as dolphin, needs the same fix as in D21011. asturmlechner: Confirming same resulting sandbox violation as dolphin, needs the same fix as in D21011. | |||||
siddharthasahu: Typo: "org.kde.**dolphin**.desktop" -> "org.kde.**spectacle**.desktop" | |||||
11 | ) | 11 | ) | ||
12 | 12 | | |||
13 | install( | 13 | install( | ||
14 | FILES spectacle.khotkeys | | |||
15 | DESTINATION ${DATA_INSTALL_DIR}/khotkeys | | |||
16 | ) | | |||
17 | | ||||
18 | install( | | |||
19 | FILES org.kde.spectacle.appdata.xml | 14 | FILES org.kde.spectacle.appdata.xml | ||
20 | DESTINATION ${KDE_INSTALL_METAINFODIR} | 15 | DESTINATION ${KDE_INSTALL_METAINFODIR} | ||
21 | ) | 16 | ) | ||
17 | | ||||
18 | add_executable(spectacle-migrate-shortcuts MigrateShortcuts.cpp) | ||||
19 | target_link_libraries(spectacle-migrate-shortcuts Qt5::DBus KF5::GlobalAccel KF5::ConfigCore KF5::XmlGui KF5::I18n) |
Need to create ${KDE_INSTALL_FULL_DATAROOTDIR}/kglobalaccel if it doesn't already exist.
This is how I did it in D20229: