diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index 845066977d403..49551ccaf0c3d 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -679,6 +679,7 @@ if(TARGET PkgConfig::CLOUDPROVIDERS) endif(NOT DBUS_PREFIX) set(LIBCLOUDPROVIDERS_DBUS_BUS_NAME "${DBUS_PREFIX}.${DBUS_VENDOR}.${DBUS_APPLICATION_NAME}") set(LIBCLOUDPROVIDERS_DBUS_OBJECT_PATH "/${DBUS_PREFIX}/${DBUS_VENDOR}/${DBUS_APPLICATION_NAME}") + set(LIBCLOUDPROVIDERS_DESKTOP_GROUP_NAME "X-org.freedesktop.CloudProviders") configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cloudproviders/cloudproviderconfig.h.in ${CMAKE_CURRENT_BINARY_DIR}/cloudproviderconfig.h) target_compile_definitions(nextcloudCore PUBLIC -DWITH_LIBCLOUDPROVIDERS) @@ -689,8 +690,8 @@ if(TARGET PkgConfig::CLOUDPROVIDERS) PkgConfig::GIO ) - list(APPEND LIBCLOUDPROVIDERS_DESKTOP_IMPLEMENTS "Implements=org.freedesktop.CloudProviders\n") - list(APPEND LIBCLOUDPROVIDERS_DESKTOP_IMPLEMENTS "[org.freedesktop.CloudProviders]") + list(APPEND LIBCLOUDPROVIDERS_DESKTOP_IMPLEMENTS "Implements=${LIBCLOUDPROVIDERS_DESKTOP_GROUP_NAME}\n") + list(APPEND LIBCLOUDPROVIDERS_DESKTOP_IMPLEMENTS "[${LIBCLOUDPROVIDERS_DESKTOP_GROUP_NAME}]") list(APPEND LIBCLOUDPROVIDERS_DESKTOP_IMPLEMENTS "BusName=${LIBCLOUDPROVIDERS_DBUS_BUS_NAME}") list(APPEND LIBCLOUDPROVIDERS_DESKTOP_IMPLEMENTS "ObjectPath=${LIBCLOUDPROVIDERS_DBUS_OBJECT_PATH}") list(JOIN LIBCLOUDPROVIDERS_DESKTOP_IMPLEMENTS "\n" LIBCLOUDPROVIDERS_DESKTOP_IMPLEMENTS)