Add AppStream file for Dolphin integration
This commit is contained in:
parent
b0e6c6d574
commit
4c20ecb131
|
@ -15,7 +15,7 @@ set(TS_FILES translations/${META_PROJECT_NAME}_zh_CN.ts translations/${META_PROJ
|
||||||
translations/${META_PROJECT_NAME}_de_DE.ts translations/${META_PROJECT_NAME}_en_US.ts)
|
translations/${META_PROJECT_NAME}_de_DE.ts translations/${META_PROJECT_NAME}_en_US.ts)
|
||||||
|
|
||||||
# find c++utilities
|
# find c++utilities
|
||||||
find_package(${PACKAGE_NAMESPACE_PREFIX}c++utilities${CONFIGURATION_PACKAGE_SUFFIX} 5.0.0 REQUIRED)
|
find_package(${PACKAGE_NAMESPACE_PREFIX}c++utilities${CONFIGURATION_PACKAGE_SUFFIX} 5.20.0 REQUIRED)
|
||||||
list(APPEND CMAKE_MODULE_PATH ${CPP_UTILITIES_MODULE_DIRS})
|
list(APPEND CMAKE_MODULE_PATH ${CPP_UTILITIES_MODULE_DIRS})
|
||||||
|
|
||||||
# find qtutilities
|
# find qtutilities
|
||||||
|
@ -40,6 +40,7 @@ include(QtConfig)
|
||||||
include(WindowsResources)
|
include(WindowsResources)
|
||||||
include(LibraryTarget)
|
include(LibraryTarget)
|
||||||
include(ConfigHeader)
|
include(ConfigHeader)
|
||||||
|
include(AppUtilities)
|
||||||
|
|
||||||
# configure and install desktop file
|
# configure and install desktop file
|
||||||
include(TemplateFinder)
|
include(TemplateFinder)
|
||||||
|
@ -50,3 +51,6 @@ install(
|
||||||
FILES "${DESKTOP_TARGET_FILE}"
|
FILES "${DESKTOP_TARGET_FILE}"
|
||||||
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/kservices5"
|
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/kservices5"
|
||||||
COMPONENT desktop)
|
COMPONENT desktop)
|
||||||
|
|
||||||
|
# install appstream file
|
||||||
|
add_appstream_file()
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<component type="addon">
|
||||||
|
<id>@META_PROJECT_RDNS@</id>
|
||||||
|
<metadata_license>MIT</metadata_license>
|
||||||
|
<project_license>@META_PROJECT_LICENSE@</project_license>
|
||||||
|
<extends>org.kde.dolphin.desktop</extends>
|
||||||
|
<name>@META_APP_NAME@</name>
|
||||||
|
<summary>@META_APP_DESCRIPTION@</summary>
|
||||||
|
@META_APP_APPDATA_BODY@
|
||||||
|
<url type="homepage">@META_APP_URL@</url>
|
||||||
|
<url type="bugtracker">@META_APP_BUGTRACKER_URL@</url>
|
||||||
|
<developer_name>@META_APP_AUTHOR@</developer_name>
|
||||||
|
<releases>
|
||||||
|
<release version="@META_APP_VERSION@" date="@META_RELEASE_DATE@"/>
|
||||||
|
</releases>
|
||||||
|
</component>
|
|
@ -0,0 +1,10 @@
|
||||||
|
<description>
|
||||||
|
<p>Allows checking a folder's status from Dolphin and triggering rescans/pause/resume.</p>
|
||||||
|
</description>
|
||||||
|
<screenshots>
|
||||||
|
<screenshot type="default">
|
||||||
|
<caption>Syncthing menu in Dolphin</caption>
|
||||||
|
<image>@META_APP_URL_RAW@/fileitemactionplugin/resources/screenshots/dolphin.png</image>
|
||||||
|
</screenshot>
|
||||||
|
</screenshots>
|
||||||
|
<content_rating/>
|
Loading…
Reference in New Issue