mirror of
https://github.com/zealdocs/zeal.git
synced 2024-11-26 15:43:49 +03:00
assets: Add appstream metadata (#911)
This commit is contained in:
parent
9bf296af12
commit
fe31f7fffb
3
.gitignore
vendored
3
.gitignore
vendored
@ -30,3 +30,6 @@ Makefile*
|
||||
|
||||
# CMake
|
||||
CMakeLists.txt.user
|
||||
|
||||
# Linux appdata
|
||||
/assets/freedesktop/org.zealdocs.Zeal.appdata.xml
|
||||
|
@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.5.1)
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
|
||||
|
||||
project(Zeal VERSION 0.6.0)
|
||||
set(RELEASE_DATE 2018-02-18)
|
||||
|
||||
# Project information.
|
||||
if(APPLE)
|
||||
|
@ -12,8 +12,16 @@ if(UNIX AND NOT APPLE)
|
||||
DESTINATION ${KDE_INSTALL_ICONDIR}
|
||||
)
|
||||
|
||||
# TODO: Generate via zeal.desktop.in.
|
||||
install(FILES "zeal.desktop"
|
||||
configure_file(
|
||||
org.zealdocs.Zeal.appdata.xml.in
|
||||
org.zealdocs.Zeal.appdata.xml
|
||||
)
|
||||
|
||||
install(FILES ${CMAKE_BINARY_DIR}/assets/freedesktop/org.zealdocs.Zeal.appdata.xml
|
||||
DESTINATION ${KDE_INSTALL_METAINFODIR}
|
||||
)
|
||||
|
||||
install(FILES "org.zealdocs.Zeal.desktop"
|
||||
DESTINATION ${KDE_INSTALL_APPDIR}
|
||||
)
|
||||
endif()
|
||||
|
55
assets/freedesktop/org.zealdocs.Zeal.appdata.xml.in
Normal file
55
assets/freedesktop/org.zealdocs.Zeal.appdata.xml.in
Normal file
@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop">
|
||||
<id>org.zealdocs.Zeal.desktop</id>
|
||||
<name>Zeal</name>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-3.0-only</project_license>
|
||||
<summary>Documentation browser</summary>
|
||||
<description>
|
||||
<p>Zeal is a simple offline documentation browser inspired by Dash.</p>
|
||||
</description>
|
||||
<url type="homepage">https://zealdocs.org/</url>
|
||||
<url type="bugtracker">https://github.com/zealdocs/zeal/issues</url>
|
||||
<url type="help">https://zealdocs.org/usage.html</url>
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<image>https://i.imgur.com/qBkZduS.png</image>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
<provides>
|
||||
<id>zeal.desktop</id>
|
||||
</provides>
|
||||
<releases>
|
||||
<release date="${RELEASE_DATE}" version="${Zeal_VERSION}" />
|
||||
</releases>
|
||||
<update_contact>zeal@zealdocs.org</update_contact>
|
||||
<content_rating type="oars-1.1">
|
||||
<content_attribute id="violence-cartoon">none</content_attribute>
|
||||
<content_attribute id="violence-fantasy">none</content_attribute>
|
||||
<content_attribute id="violence-realistic">none</content_attribute>
|
||||
<content_attribute id="violence-bloodshed">none</content_attribute>
|
||||
<content_attribute id="violence-sexual">none</content_attribute>
|
||||
<content_attribute id="violence-desecration">none</content_attribute>
|
||||
<content_attribute id="violence-slavery">none</content_attribute>
|
||||
<content_attribute id="violence-worship">none</content_attribute>
|
||||
<content_attribute id="drugs-alcohol">none</content_attribute>
|
||||
<content_attribute id="drugs-narcotics">none</content_attribute>
|
||||
<content_attribute id="drugs-tobacco">none</content_attribute>
|
||||
<content_attribute id="sex-nudity">none</content_attribute>
|
||||
<content_attribute id="sex-themes">none</content_attribute>
|
||||
<content_attribute id="sex-homosexuality">none</content_attribute>
|
||||
<content_attribute id="sex-prostitution">none</content_attribute>
|
||||
<content_attribute id="sex-adultery">none</content_attribute>
|
||||
<content_attribute id="sex-appearance">none</content_attribute>
|
||||
<content_attribute id="language-profanity">none</content_attribute>
|
||||
<content_attribute id="language-humor">none</content_attribute>
|
||||
<content_attribute id="language-discrimination">none</content_attribute>
|
||||
<content_attribute id="social-chat">none</content_attribute>
|
||||
<content_attribute id="social-info">none</content_attribute>
|
||||
<content_attribute id="social-audio">none</content_attribute>
|
||||
<content_attribute id="social-location">none</content_attribute>
|
||||
<content_attribute id="social-contacts">none</content_attribute>
|
||||
<content_attribute id="money-purchasing">none</content_attribute>
|
||||
<content_attribute id="money-gambling">none</content_attribute>
|
||||
</content_rating>
|
||||
</component>
|
Loading…
Reference in New Issue
Block a user