summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Sitter <sitter@kde.org>2016-11-09 11:13:48 (GMT)
committerHarald Sitter <sitter@kde.org>2016-11-09 11:13:48 (GMT)
commit5c5d76b11e62f1a470ba2ef9f6a33f71bd7cce41 (patch)
tree18b71841d7507c33ce5ff20ef2f76ab1b405903e
parent3a04e9ed27125a83d8c0c9e1eb0fec6b9614a38d (diff)
add appstream file
this is necessary to get kcalc to appear in appstream-driven software stores. (homepage currently in an underwhelming state, to be fixed soon hopefully) REVIEW: 129320
-rw-r--r--CMakeLists.txt1
-rw-r--r--org.kde.kcalc.appdata.xml30
2 files changed, 31 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 436b669..392b6dd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -124,6 +124,7 @@ install(TARGETS kcalc ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
########### install files ###############
install( PROGRAMS org.kde.kcalc.desktop DESTINATION ${KDE_INSTALL_APPDIR})
+install( FILES org.kde.kcalc.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
install( FILES kcalc.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
install( FILES kcalcui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kcalc)
install( FILES scienceconstants.xml DESTINATION ${KDE_INSTALL_DATADIR}/kcalc)
diff --git a/org.kde.kcalc.appdata.xml b/org.kde.kcalc.appdata.xml
new file mode 100644
index 0000000..f4adb43
--- /dev/null
+++ b/org.kde.kcalc.appdata.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component type="desktop">
+ <id>org.kde.kcalc.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <name>KCalc</name>
+ <summary>Scientific Calculator</summary>
+ <description>
+ <p>
+ KCalc has everything you would expect from a scientific calculator, plus:
+ <ul>
+ <li>Trigonometric functions, logic operations and statistical calculations</li>
+ <li>A results stack which enables convenient recall of previous calculation results</li>
+ <li>Precision is user-definable</li>
+ <li>The display allows cut and paste of numbers</li>
+ <li>The display colors and font are configurable, aiding usability</li>
+ <li>The use of key-bindings make it easy to use without a pointing device</li>
+ </ul>
+ </p>
+ </description>
+ <url type="homepage">https://utils.kde.org/projects/kcalc/</url>
+ <url type="bugtracker">https://bugs.kde.org/enter_bug.cgi?product=kcalc</url>
+ <url type="help">https://docs.kde.org/trunk5/en/kdeutils/kcalc</url>
+ <url type="donation">https://www.kde.org/community/donations</url>
+ <provides>
+ <binary>kcalc</binary>
+ </provides>
+ <project_group>KDE</project_group>
+</component>
+