Commit 4bd4fecc authored by Martin Höher's avatar Martin Höher

Merge branch '219-improve-appdata-file' into 'master'

Resolve "Improve AppData File"

Closes #219

See merge request !105
parents 92990616 26f7ac1c
Pipeline #43784144 failed with stages
in 15 minutes and 24 seconds
......@@ -237,7 +237,7 @@ pages:
- cp deploy-win32/OpenTodoList-Windows-32bit.exe public
- cp deploy-win64/OpenTodoList-Windows-64bit.exe public
- cp build-android-*/*-aligned.apk public
- cp build-macos/app/OpenTodoList.dmg public
- cp build-macos/app/OpenTodoList.dmg public || echo "OpenTodoList.dmg was not built"
- dnf install -y --nogpgcheck git
- git describe --tags > public/version.txt
- cd public
......
......@@ -51,8 +51,8 @@ set(QLMDB_WITH_BUILTIN_LMDB ON CACHE BOOL "Use built in lmdb library")
set(APPLICATION_NAME OpenTodoList)
set(APPLICATION_EXECUTABLE OpenTodoList)
configure_file(
OpenTodoList.desktop.in
${CMAKE_CURRENT_BINARY_DIR}/OpenTodoList.desktop
net.rpdev.OpenTodoList.desktop.in
${CMAKE_CURRENT_BINARY_DIR}/net.rpdev.OpenTodoList.desktop
)
include(GNUInstallDirs)
install(
......@@ -64,7 +64,7 @@ install(
DESTINATION ${CMAKE_INSTALL_DATADIR}/appdata
)
install(
FILES ${CMAKE_CURRENT_BINARY_DIR}/OpenTodoList.desktop
FILES ${CMAKE_CURRENT_BINARY_DIR}/net.rpdev.OpenTodoList.desktop
DESTINATION ${CMAKE_INSTALL_DATADIR}/applications
)
......
......@@ -27,7 +27,7 @@ add_custom_target(
COMMAND
cp -r ${CMAKE_CURRENT_SOURCE_DIR}/templates/icons/* AppImageBuild/usr/share/icons/hicolor/
COMMAND
cp -r ${CMAKE_CURRENT_SOURCE_DIR}/templates/icons/hicolor/64x64/apps/OpenTodoList.png AppImageBuild/
cp -r ${CMAKE_CURRENT_SOURCE_DIR}/templates/icons/hicolor/64x64/apps/net.rpdev.OpenTodoList.png AppImageBuild/
COMMAND
${LINUXDEPLOYQT} --appimage-extract
COMMAND
......
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>net.rpdev.OpenTodoList.desktop</id>
<id>net.rpdev.OpenTodoList</id>
<name>OpenTodoList</name>
<project_license>GPL-3.0+</project_license>
<summary>Todo list and note taking application</summary>
......@@ -18,4 +18,7 @@
</screenshot>
</screenshots>
<url type="homepage">https://opentodolist.rpdev.net/</url>
<url type="bugtracker">https://gitlab.com/rpdev/opentodolist/issues</url>
<launchable type="destkop-id">net.rpdev.OpenTodoList.desktop</launchable>
<content_rating type="oars-1.0" />
</component>
{
"id": "net.rpdev.OpenTodoList",
"rename-icon": "OpenTodoList",
"rename-desktop-file": "OpenTodoList.desktop",
"runtime": "org.kde.Platform",
"runtime-version": "5.12",
"sdk": "org.kde.Sdk",
......@@ -12,7 +10,6 @@
"--socket=wayland",
"--filesystem=host",
"--socket=pulseaudio",
"--socket=session-bus",
"--share=network",
"--device=dri"
],
......
......@@ -2,7 +2,7 @@
Type=Application
Name=OpenTodoList
Exec=OpenTodoList %F
Icon=OpenTodoList
Icon=net.rpdev.OpenTodoList
Comment=A note and task managing application
Terminal=false
Categories=Utility;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment