summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt4
-rw-r--r--res/fi.skyjake.Lagrange.appdata.xml56
2 files changed, 59 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e8ee03b5..f7c8174c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -299,10 +299,12 @@ MimeType=x-scheme-handler/gemini;x-scheme-handler/gopher
299 DESTINATION share/icons/hicolor/256x256/apps 299 DESTINATION share/icons/hicolor/256x256/apps
300 RENAME fi.skyjake.lagrange.png 300 RENAME fi.skyjake.lagrange.png
301 ) 301 )
302 install (FILES res/fi.skyjake.Lagrange.appdata.xml
303 DESTINATION share/metainfo
304 )
302 if (NOT ENABLE_RESOURCE_EMBED) 305 if (NOT ENABLE_RESOURCE_EMBED)
303 target_compile_definitions (app PUBLIC 306 target_compile_definitions (app PUBLIC
304 LAGRANGE_EMB_BIN="${CMAKE_INSTALL_PREFIX}/share/lagrange/resources.lgr") 307 LAGRANGE_EMB_BIN="${CMAKE_INSTALL_PREFIX}/share/lagrange/resources.lgr")
305 install (FILES ${EMB_BIN} DESTINATION share/lagrange) 308 install (FILES ${EMB_BIN} DESTINATION share/lagrange)
306 endif () 309 endif ()
307endif () 310endif ()
308
diff --git a/res/fi.skyjake.Lagrange.appdata.xml b/res/fi.skyjake.Lagrange.appdata.xml
new file mode 100644
index 00000000..83466c54
--- /dev/null
+++ b/res/fi.skyjake.Lagrange.appdata.xml
@@ -0,0 +1,56 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- Copyright 2021 Jaakko Keränen <jaakko.keranen@iki.fi> -->
3<component type="desktop-application">
4 <id>fi.skyjake.Lagrange</id>
5 <metadata_license>CC0-1.0</metadata_license>
6 <project_license>BSD-2-Clause</project_license>
7 <name>Lagrange</name>
8 <summary>A Beautiful Gemini Client</summary>
9 <description>
10 <p>
11 Lagrange is a desktop GUI client for browsing Geminispace.
12 It offers modern conveniences familiar from web browsers,
13 such as smooth scrolling, inline image viewing, multiple
14 tabs, visual themes, Unicode fonts, bookmarks, history, and
15 page outlines.
16 </p>
17 <p>
18 Like the Gemini protocol, Lagrange has been designed with
19 minimalism in mind. It depends on a small number of essential
20 libraries. It is written in C and uses SDL for
21 hardware-accelerated graphics. OpenSSL is used for secure
22 communications.
23 </p>
24 </description>
25 <content_rating type="oars-1.1" />
26
27 <launchable type="desktop-id">fi.skyjake.Lagrange.desktop</launchable>
28
29 <screenshots>
30 <screenshot type="default">
31 <image>https://gmi.skyjake.fi/lagrange/flathub_screenshot.jpg</image>
32 </screenshot>
33 </screenshots>
34
35 <url type="homepage">https://gmi.skyjake.fi/lagrange</url>
36 <url type="bugtracker">https://github.com/skyjake/lagrange/issues</url>
37 <url type="contact">https://skyjake.fi/@jk</url>
38
39 <developer_name>Jaakko Keränen</developer_name>
40
41 <provides>
42 <binary>lagrange</binary>
43 </provides>
44
45 <update_contact>jaakko.keranen@iki.fi</update_contact>
46
47 <releases>
48 <release version="1.0.3" date="2021-01-12">
49 <description>
50 <p>This release contains bug fixes and performance improvements.</p>
51 <p>Version 1.0 is the first stable release of Lagrange.</p>
52 </description>
53 <url>https://github.com/skyjake/lagrange/releases/tag/v1.0.3</url>
54 </release>
55 </releases>
56</component>