mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 13:35:58 +03:00
Add compatibility with the new libcloudproviders integration
Since libcloudproviders 0.3.3 it is possible to specify the interface name directly in the .desktop file, and thus allowing it to be integrated when using a containerized client. Signed-off-by: Corentin Noël <corentin.noel@collabora.com>
This commit is contained in:
parent
4c69cbff11
commit
7d74fd2c03
2 changed files with 7 additions and 1 deletions
|
@ -197,7 +197,7 @@ Comment[lb]=@APPLICATION_NAME@ Desktop Synchronisatioun Client
|
||||||
GenericName[lb]=Dossier Dync
|
GenericName[lb]=Dossier Dync
|
||||||
Name[lb]=@APPLICATION_NAME@ Desktop Sync Client
|
Name[lb]=@APPLICATION_NAME@ Desktop Sync Client
|
||||||
Icon[lb]=@APPLICATION_ICON_NAME@
|
Icon[lb]=@APPLICATION_ICON_NAME@
|
||||||
|
@LIBCLOUDPROVIDERS_DESKTOP_IMPLEMENTS@
|
||||||
|
|
||||||
[Desktop Action Quit]
|
[Desktop Action Quit]
|
||||||
Exec=@APPLICATION_EXECUTABLE@ --quit
|
Exec=@APPLICATION_EXECUTABLE@ --quit
|
||||||
|
|
|
@ -659,6 +659,12 @@ if(TARGET PkgConfig::CLOUDPROVIDERS)
|
||||||
PkgConfig::GLIB2
|
PkgConfig::GLIB2
|
||||||
PkgConfig::GIO
|
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 "BusName=${LIBCLOUDPROVIDERS_DBUS_BUS_NAME}")
|
||||||
|
list(APPEND LIBCLOUDPROVIDERS_DESKTOP_IMPLEMENTS "ObjectPath=${LIBCLOUDPROVIDERS_DBUS_OBJECT_PATH}")
|
||||||
|
list(JOIN LIBCLOUDPROVIDERS_DESKTOP_IMPLEMENTS "\n" LIBCLOUDPROVIDERS_DESKTOP_IMPLEMENTS)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
## handle DBUS for Fdo notifications
|
## handle DBUS for Fdo notifications
|
||||||
|
|
Loading…
Reference in a new issue