diff options
author | Giovanni Panozzo <giovanni@panozzo.it> | 2017-10-01 17:45:47 +0300 |
---|---|---|
committer | Giovanni Panozzo <giovanni@panozzo.it> | 2017-10-01 17:50:45 +0300 |
commit | fb256bd6e951cad5eb20c4e72d21c80253ba5ea9 (patch) | |
tree | dbbd9497202072ba14797d8a3748d9b97704f62e | |
parent | 57e406c233b70ecdcc3b74d98a9545151bd00518 (diff) |
Prepare cmakefiles for AppID change
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | remmina/desktop/CMakeLists.txt | 9 | ||||
-rw-r--r-- | remmina/desktop/appdata.xml (renamed from remmina/desktop/remmina.appdata.xml) | 0 |
3 files changed, 7 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore index c9bfb5479..933248546 100644 --- a/.gitignore +++ b/.gitignore @@ -49,7 +49,7 @@ tags remmina-plugins/libvncserver/rfb/rfbconfig.h remmina-plugins/telepathy/org.freedesktop.Telepathy.Client.Remmina.service -remmina/desktop/org.Remmina.desktop +remmina/desktop/remmina.desktop remmina/remmina remmina/src/remmina diff --git a/remmina/desktop/CMakeLists.txt b/remmina/desktop/CMakeLists.txt index 4d56ed8de..38ffa9e42 100644 --- a/remmina/desktop/CMakeLists.txt +++ b/remmina/desktop/CMakeLists.txt @@ -82,7 +82,10 @@ set(REMMINA_BINARY_PATH ${CMAKE_INSTALL_FULL_BINDIR}/remmina) set(REMMINA_ICON "remmina") configure_file(${CMAKE_CURRENT_SOURCE_DIR}/remmina.desktop.in - ${CMAKE_CURRENT_BINARY_DIR}/org.Remmina.desktop @ONLY) -install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.Remmina.desktop + ${CMAKE_CURRENT_BINARY_DIR}/remmina.desktop @ONLY) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/remmina.desktop + RENAME ${UNIQUE_APPNAME}.destkop DESTINATION "${REMMINA_DATADIR}/applications") -install(FILES remmina.appdata.xml DESTINATION "${REMMINA_DATADIR}/appdata") +install(FILES appdata.xml + RENAME ${UNIQUE_APPNAME}.appdata.xml + DESTINATION "${REMMINA_DATADIR}/metainfo") diff --git a/remmina/desktop/remmina.appdata.xml b/remmina/desktop/appdata.xml index 8d1e724f1..8d1e724f1 100644 --- a/remmina/desktop/remmina.appdata.xml +++ b/remmina/desktop/appdata.xml |