SHA256
1
0
forked from pool/lugaru
lugaru/0003-Dist-Linux-Add-content-ratings-to-AppStream-appdata-.patch

59 lines
2.6 KiB
Diff
Raw Permalink Normal View History

From a719d0ed00d8666feae6131f6d9d3b5604529fad Mon Sep 17 00:00:00 2001
From: Neal Gompa <ngompa13@gmail.com>
Date: Thu, 9 Mar 2017 08:04:51 -0500
Subject: [PATCH] Dist: Linux: Add content ratings to AppStream
appdata/metainfo file
Content ratings uses the Open Age Rating System, v1.0.
This can be tweaked using the generator: https://odrs.gnome.org/oars
(cherry picked from commit 030eaac41c5e9f3a7f2c0de8163d60b2a82facca)
---
Dist/Linux/lugaru.appdata.xml | 24 +++++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)
diff --git a/Dist/Linux/lugaru.appdata.xml b/Dist/Linux/lugaru.appdata.xml
index a9c45e5..90e9e1b 100644
--- a/Dist/Linux/lugaru.appdata.xml
+++ b/Dist/Linux/lugaru.appdata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2016 Neal Gompa <ngompa13@gmail.com> -->
+<!-- Copyright 2017 Neal Gompa <ngompa13@gmail.com> -->
<component type="desktop">
<id>lugaru.desktop</id>
<metadata_license>CC-BY-SA-4.0</metadata_license>
@@ -20,6 +20,28 @@
his fellow rabbits from slavery.
</p>
</description>
+ <content_rating type="oars-1.0">
+ <content_attribute id="violence-cartoon">intense</content_attribute>
+ <content_attribute id="violence-fantasy">intense</content_attribute>
+ <content_attribute id="violence-realistic">none</content_attribute>
+ <content_attribute id="violence-bloodshed">mild</content_attribute>
+ <content_attribute id="violence-sexual">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="language-profanity">mild</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>
<screenshots>
<screenshot type="default" width="864" height="417">
https://osslugaru.gitlab.io/images/lugaru-banner.png
--
2.9.3