2014-11-13 19:30:51 +02:00
|
|
|
project(geolocation)
|
|
|
|
|
|
|
|
# -------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
set(plasma_geolocation_interface_SRCS geolocationprovider.cpp)
|
2015-09-01 04:37:19 +03:00
|
|
|
add_library(plasma-geolocation-interface SHARED ${plasma_geolocation_interface_SRCS})
|
2021-07-28 01:38:38 +03:00
|
|
|
target_link_libraries(plasma-geolocation-interface PUBLIC
|
2023-06-17 23:26:56 +03:00
|
|
|
KDE4::kio
|
|
|
|
KDE4::plasma
|
2021-07-28 01:38:38 +03:00
|
|
|
)
|
|
|
|
|
2014-11-13 19:30:51 +02:00
|
|
|
set_target_properties(plasma-geolocation-interface PROPERTIES
|
|
|
|
VERSION ${GENERIC_LIB_VERSION}
|
|
|
|
SOVERSION ${GENERIC_LIB_SOVERSION}
|
|
|
|
)
|
2021-07-28 01:38:38 +03:00
|
|
|
|
|
|
|
generate_export_header(plasma-geolocation-interface BASE_NAME geolocation)
|
|
|
|
|
2023-06-17 18:38:55 +03:00
|
|
|
install(
|
|
|
|
TARGETS plasma-geolocation-interface
|
|
|
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
|
|
|
)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2021-07-28 01:38:38 +03:00
|
|
|
install(
|
|
|
|
FILES
|
|
|
|
geolocationprovider.h
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/geolocation_export.h
|
|
|
|
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/plasma/geolocation
|
|
|
|
)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
|
|
|
set(plasma_dataengine_geolocation_SRCS geolocation.cpp)
|
|
|
|
kde4_add_plugin(plasma_engine_geolocation ${plasma_dataengine_geolocation_SRCS})
|
|
|
|
target_link_libraries(plasma_engine_geolocation
|
|
|
|
plasma-geolocation-interface
|
2023-06-17 23:26:56 +03:00
|
|
|
KDE4::plasma
|
|
|
|
KDE4::kdecore
|
|
|
|
KDE4::kio
|
2023-07-08 08:42:24 +03:00
|
|
|
KDE4::knetworkmanager
|
2021-07-28 01:38:38 +03:00
|
|
|
)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2020-02-08 19:29:32 +00:00
|
|
|
install(TARGETS plasma_engine_geolocation DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES plasma-dataengine-geolocation.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
|
|
|
|
install(FILES plasma-geolocationprovider.desktop DESTINATION ${KDE4_SERVICETYPES_INSTALL_DIR})
|
2014-11-13 19:30:51 +02:00
|
|
|
|
|
|
|
# -------------------------------------------------------------------------------------------------
|
|
|
|
|
2021-08-02 23:38:22 +03:00
|
|
|
set(plasma_geolocation_hostip_SRCS location_hostip.cpp)
|
|
|
|
kde4_add_plugin(plasma-geolocation-hostip ${plasma_geolocation_hostip_SRCS})
|
|
|
|
target_link_libraries(plasma-geolocation-hostip plasma-geolocation-interface)
|
|
|
|
install(FILES plasma-geolocation-hostip.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
|
|
|
|
install(TARGETS plasma-geolocation-hostip DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
2014-11-13 19:30:51 +02:00
|
|
|
|
|
|
|
# -------------------------------------------------------------------------------------------------
|
2021-08-02 23:38:22 +03:00
|
|
|
|
|
|
|
set(plasma_geolocation_ipinfo_SRCS location_ipinfo.cpp)
|
|
|
|
kde4_add_plugin(plasma-geolocation-ipinfo ${plasma_geolocation_ipinfo_SRCS})
|
|
|
|
target_link_libraries(plasma-geolocation-ipinfo plasma-geolocation-interface)
|
|
|
|
install(FILES plasma-geolocation-ipinfo.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
|
|
|
|
install(TARGETS plasma-geolocation-ipinfo DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
2022-04-07 20:17:10 +03:00
|
|
|
|
|
|
|
# -------------------------------------------------------------------------------------------------
|
|
|
|
|
2022-04-25 10:21:41 +03:00
|
|
|
set(plasma_geolocation_geoplugin_SRCS location_geoplugin.cpp)
|
|
|
|
kde4_add_plugin(plasma-geolocation-geoplugin ${plasma_geolocation_geoplugin_SRCS})
|
|
|
|
target_link_libraries(plasma-geolocation-geoplugin plasma-geolocation-interface)
|
|
|
|
install(FILES plasma-geolocation-geoplugin.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
|
|
|
|
install(TARGETS plasma-geolocation-geoplugin DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
2022-05-11 16:48:42 +03:00
|
|
|
|
|
|
|
# -------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
set(plasma_geolocation_mozilla_SRCS location_mozilla.cpp)
|
|
|
|
kde4_add_plugin(plasma-geolocation-mozilla ${plasma_geolocation_mozilla_SRCS})
|
|
|
|
target_link_libraries(plasma-geolocation-mozilla plasma-geolocation-interface)
|
|
|
|
install(FILES plasma-geolocation-mozilla.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
|
|
|
|
install(TARGETS plasma-geolocation-mozilla DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
2023-07-15 10:39:42 +03:00
|
|
|
# -------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
set(plasma_geolocation_timezone_SRCS location_timezone.cpp)
|
|
|
|
kde4_add_plugin(plasma-geolocation-timezone ${plasma_geolocation_timezone_SRCS})
|
|
|
|
target_link_libraries(plasma-geolocation-timezone plasma-geolocation-interface)
|
|
|
|
install(FILES plasma-geolocation-timezone.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
|
|
|
|
install(TARGETS plasma-geolocation-timezone DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|