zerobranestudio/appdata.patch

58 lines
2.3 KiB
Diff

From 7c2a24161969593dba579f96532f845de927e211 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?=
Date: Sun, 18 Sep 2016 17:11:37 +0200
Subject: [PATCH] Add an appdata.xml file.
---
build/CMakeLists.txt | 3 +++
zbstudio/res/zbstudio.appdata.xml | 26 ++++++++++++++++++++++++++
2 files changed, 29 insertions(+)
create mode 100644 zbstudio/res/zbstudio.appdata.xml
diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt
index 43b1644..6827153 100644
--- a/build/CMakeLists.txt
+++ b/build/CMakeLists.txt
@@ -136,6 +136,9 @@ else()
install(DIRECTORY ${TOPDIR}/zbstudio/res/icons/ DESTINATION share/icons/hicolor)
install(FILES ${TOPDIR}/zbstudio/res/zbstudio.desktop DESTINATION share/applications)
+ # install Linux software gallery metadata
+ install(FILES ${TOPDIR}/zbstudio/res/zbstudio.appdata.xml DESTINATION share/appdata)
+
# install miscellaneous documentation files
install(FILES ${TOPDIR}/CHANGELOG.md ${TOPDIR}/LICENSE ${TOPDIR}/README.md DESTINATION share/doc/zbstudio)
diff --git a/zbstudio/res/zbstudio.appdata.xml b/zbstudio/res/zbstudio.appdata.xml
new file mode 100644
index 0000000..5f10f26
--- /dev/null
+++ b/zbstudio/res/zbstudio.appdata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+ <id type="desktop">zbstudio.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>MIT</project_license>
+ <name>ZeroBrane Studio</name>
+ <summary>Lightweight Lua-based IDE for Lua</summary>
+ <description>
+ <p>
+ ZeroBrane Studio is a lightweight Lua IDE with code completion, syntax
+ highlighting, live coding, code analyzer, and debugging support for
+ Lua 5.1, Lua 5.2, Lua 5.3, LuaJIT, and other Lua engines.
+ </p>
+ <p>
+ It is simple and instantly usable for beginners yet feature-rich and
+ extensible for experienced developers. It has a small footprint and is
+ completely customizable with Lua while still including a full IDE feature
+ set including a remote debugger.
+ </p>
+ </description>
+ <url type="homepage">https://studio.zerobrane.com</url>
+ <screenshots>
+ <screenshot type="default">https://studio.zerobrane.com/images/scratchpad-linux-mint.png</screenshot>
+ </screenshots>
+ <update_contact>paul@kulchenko.com</update_contact>
+</application>