Changeset View
Changeset View
Standalone View
Standalone View
app/CMakeLists.txt
Show All 23 Lines | |||||
24 | 24 | | |||
25 | target_link_libraries(ark | 25 | target_link_libraries(ark | ||
26 | kerfuffle | 26 | kerfuffle | ||
27 | KF5::Crash | 27 | KF5::Crash | ||
28 | KF5::DBusAddons | 28 | KF5::DBusAddons | ||
29 | KF5::KIOFileWidgets | 29 | KF5::KIOFileWidgets | ||
30 | KF5::Parts) | 30 | KF5::Parts) | ||
31 | 31 | | |||
32 | # we provide our own Info.plist containing a simple "we open anything" instruction. | ||||
33 | if(APPLE) | ||||
34 | # own plist template | ||||
35 | set_target_properties (ark PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/MacOSXBundleInfo.plist.in) | ||||
36 | | ||||
37 | # the MacOSX bundle display name property (CFBundleDisplayName) is not currently supported by cmake, | ||||
38 | # so has to be set for all targets in this cmake file | ||||
39 | set(MACOSX_BUNDLE_DISPLAY_NAME Ark) | ||||
40 | set_target_properties(ark PROPERTIES MACOSX_BUNDLE_GUI_IDENTIFIER "org.kde.Ark") | ||||
41 | set_target_properties(ark PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "Ark") | ||||
42 | set_target_properties(ark PROPERTIES MACOSX_BUNDLE_DISPLAY_NAME "Ark") | ||||
43 | set_target_properties(ark PROPERTIES MACOSX_BUNDLE_INFO_STRING "Ark - KDE Archiving Tool") | ||||
44 | set_target_properties(ark PROPERTIES MACOSX_BUNDLE_LONG_VERSION_STRING "Ark ${KDE_APPLICATIONS_VERSION}") | ||||
45 | set_target_properties(ark PROPERTIES MACOSX_BUNDLE_SHORT_VERSION_STRING "${KDE_APPLICATIONS_VERSION}") | ||||
46 | set_target_properties(ark PROPERTIES MACOSX_BUNDLE_BUNDLE_VERSION "${KDE_APPLICATIONS_VERSION}") | ||||
47 | set_target_properties(ark PROPERTIES MACOSX_BUNDLE_COPYRIGHT "1997-2017, The Ark Developers") | ||||
48 | endif() | ||||
49 | | ||||
32 | # Remove duplicate mimetypes from list of supported formats. | 50 | # Remove duplicate mimetypes from list of supported formats. | ||
33 | list(REMOVE_DUPLICATES SUPPORTED_ARK_MIMETYPES) | 51 | list(REMOVE_DUPLICATES SUPPORTED_ARK_MIMETYPES) | ||
34 | 52 | | |||
35 | configure_file( | 53 | configure_file( | ||
36 | ${CMAKE_CURRENT_SOURCE_DIR}/org.kde.ark.desktop.cmake | 54 | ${CMAKE_CURRENT_SOURCE_DIR}/org.kde.ark.desktop.cmake | ||
37 | ${CMAKE_CURRENT_BINARY_DIR}/org.kde.ark.desktop | 55 | ${CMAKE_CURRENT_BINARY_DIR}/org.kde.ark.desktop | ||
38 | ) | 56 | ) | ||
39 | 57 | | |||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |