Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SDK
KAppTemplate
Commits
92077833
Commit
92077833
authored
Sep 09, 2022
by
Friedrich W. H. Kossebau
Browse files
Templates: for appdata use metainfo.xml extension, add <launchable>
parent
8dee99fa
Pipeline
#229571
passed with stage
in 1 minute and 14 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/templates/C++/kde-frameworks5-simple/src/CMakeLists.txt
View file @
92077833
...
...
@@ -15,4 +15,4 @@ target_link_libraries(%{APPNAMELC}
install
(
TARGETS %{APPNAMELC}
${
KDE_INSTALL_TARGETS_DEFAULT_ARGS
}
)
install
(
PROGRAMS org.example.%{APPNAMELC}.desktop DESTINATION
${
KDE_INSTALL_APPDIR
}
)
install
(
FILES org.example.%{APPNAMELC}.
appdata
.xml DESTINATION
${
KDE_INSTALL_METAINFODIR
}
)
install
(
FILES org.example.%{APPNAMELC}.
metainfo
.xml DESTINATION
${
KDE_INSTALL_METAINFODIR
}
)
src/templates/C++/kde-frameworks5-simple/src/org.example.%{APPNAMELC}.
appdata
.xml
→
src/templates/C++/kde-frameworks5-simple/src/org.example.%{APPNAMELC}.
metainfo
.xml
View file @
92077833
<?xml version="1.0" encoding="utf-8"?>
<component
type=
"desktop-application"
>
<id>
org.example.%{APPNAMELC}
.desktop
</id>
<id>
org.example.%{APPNAMELC}
</id>
<metadata_license>
CC0-1.0
</metadata_license>
<project_license>
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-metadata_license
</project_license>
<name>
%{APPNAME}
</name>
...
...
@@ -19,11 +19,6 @@
<provides>
<binary>
%{APPNAMELC}
</binary>
</provides>
<launchable
type=
"desktop-id"
>
org.example.%{APPNAMELC}.desktop
</launchable>
<project_group>
KDE
</project_group>
<releases>
<release
version=
"0.1.22081"
date=
"2022-09-08"
/>
<release
version=
"0.1.22080"
date=
"2022-08-18"
/>
<release
version=
"0.1.22043"
date=
"2022-07-07"
/>
<release
version=
"0.1.22042"
date=
"2022-06-09"
/>
</releases>
</component>
src/templates/C++/kde-frameworks5/src/CMakeLists.txt
View file @
92077833
...
...
@@ -29,5 +29,5 @@ target_link_libraries(%{APPNAMELC}
install
(
TARGETS %{APPNAMELC}
${
KDE_INSTALL_TARGETS_DEFAULT_ARGS
}
)
install
(
PROGRAMS org.example.%{APPNAMELC}.desktop DESTINATION
${
KDE_INSTALL_APPDIR
}
)
install
(
FILES org.example.%{APPNAMELC}.
appdata
.xml DESTINATION
${
KDE_INSTALL_METAINFODIR
}
)
install
(
FILES org.example.%{APPNAMELC}.
metainfo
.xml DESTINATION
${
KDE_INSTALL_METAINFODIR
}
)
install
(
FILES %{APPNAMELC}ui.rc DESTINATION
${
KDE_INSTALL_KXMLGUI5DIR
}
/%{APPNAMELC}
)
src/templates/C++/kde-frameworks5/src/org.example.%{APPNAMELC}.
appdata
.xml
→
src/templates/C++/kde-frameworks5/src/org.example.%{APPNAMELC}.
metainfo
.xml
View file @
92077833
<?xml version="1.0" encoding="utf-8"?>
<component
type=
"desktop-application"
>
<id>
org.example.%{APPNAMELC}
.desktop
</id>
<id>
org.example.%{APPNAMELC}
</id>
<metadata_license>
CC0-1.0
</metadata_license>
<project_license>
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-metadata_license
</project_license>
<name>
%{APPNAME}
</name>
...
...
@@ -19,11 +19,6 @@
<provides>
<binary>
%{APPNAMELC}
</binary>
</provides>
<launchable
type=
"desktop-id"
>
org.example.%{APPNAMELC}.desktop
</launchable>
<project_group>
KDE
</project_group>
<releases>
<release
version=
"0.1.22081"
date=
"2022-09-08"
/>
<release
version=
"0.1.22080"
date=
"2022-08-18"
/>
<release
version=
"0.1.22043"
date=
"2022-07-07"
/>
<release
version=
"0.1.22042"
date=
"2022-06-09"
/>
</releases>
</component>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment