SHA256
1
0
forked from pool/lugaru
lugaru/0003-Dist-Linux-Add-content-ratings-to-AppStream-appdata-.patch
Adam Mizerski f3e8ec80d9 Accepting request 498464 from home:Pharaoh_Atem:branches:games
- Update to official 1.2 release
- Backport patches from upstream v1.2 branch
  * Added 0001-CMake-Define-build-type-before-configuring-version-h.patch
  * Added 0002-ImageIO-fix-invalid-conversion.patch
  * Added 0003-Dist-Linux-Add-content-ratings-to-AppStream-appdata-.patch
- Reflow the description to look less awkward
- Remove empty and unnecessary conditional for openSUSE < 42.1

OBS-URL: https://build.opensuse.org/request/show/498464
OBS-URL: https://build.opensuse.org/package/show/games/lugaru?expand=0&rev=19
2017-06-03 16:34:11 +00:00

59 lines
2.6 KiB
Diff

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