summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Sitter <sitter@kde.org>2016-11-09 11:19:48 (GMT)
committerHarald Sitter <sitter@kde.org>2016-11-09 11:19:48 (GMT)
commitd05fab8bed69f073c3ec25afb2d87046eb7ad09a (patch)
tree0a4930b7991d82433cd8ce9b797fd3d2d5ce1136
parent478091c8250fed5f0690c9eb9a9ba890352bd096 (diff)
add appstream file to kruler
this is necessary to get kruler to appear in appstream-driven software stores. REVIEW: 129322
-rw-r--r--CMakeLists.txt1
-rw-r--r--org.kde.kruler.appdata.xml18
2 files changed, 19 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 85947e3..1df3fe0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -66,6 +66,7 @@ install(TARGETS kruler ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############
install( PROGRAMS org.kde.kruler.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
+install( FILES org.kde.kruler.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
install( FILES kruler.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFY5RCDIR} )
install( FILES move.wav DESTINATION ${KDE_INSTALL_DATADIR}/kruler/sounds )
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
diff --git a/org.kde.kruler.appdata.xml b/org.kde.kruler.appdata.xml
new file mode 100644
index 0000000..853d983
--- /dev/null
+++ b/org.kde.kruler.appdata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component type="desktop">
+ <id>org.kde.kruler.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <name>KRuler</name>
+ <summary>Screen Ruler</summary>
+ <description>
+ <p>KRuler is an on-screen ruler for measuring pixels. Position the 0 at your starting point and measure the precise pixel distance between the starting point and your cursor.</p>
+ </description>
+ <url type="homepage">https://www.kde.org/applications/graphics/kruler/</url>
+ <url type="bugtracker">https://bugs.kde.org/enter_bug.cgi?product=kruler</url>
+ <url type="donation">https://www.kde.org/community/donations</url>
+ <provides>
+ <binary>kruler</binary>
+ </provides>
+ <project_group>KDE</project_group>
+</component>