mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add OARS (Open Age Rating Service) metadata to generated Linux AppStream files
This commit is contained in:
parent
f1bf1e4fae
commit
e4f78a3060
@ -1200,8 +1200,16 @@ def write_appdata(key, entry, base, translators):
|
|||||||
E.metadata_license('CC0-1.0'),
|
E.metadata_license('CC0-1.0'),
|
||||||
E.project_license('GPL-3.0'),
|
E.project_license('GPL-3.0'),
|
||||||
E.summary(entry['summary']),
|
E.summary(entry['summary']),
|
||||||
|
E.content_rating(
|
||||||
|
# Information Sharing: Using any online API, e.g. a user-counter
|
||||||
|
# Details at https://calibre-ebook.com/dynamic/calibre-usage .
|
||||||
|
E.content_attribute('mild', id='social-info'),
|
||||||
|
# In-App Purchases: Users are encouraged to donate real money, e.g. using Patreon
|
||||||
|
E.content_attribute('mild', id='money-purchasing'),
|
||||||
|
type='oars-1.1'
|
||||||
|
),
|
||||||
description,
|
description,
|
||||||
E.url('https://calibre-ebook.com', type='homepage'),
|
E.url('https://calibre-ebook.com/', type='homepage'),
|
||||||
screenshots,
|
screenshots,
|
||||||
type='desktop'
|
type='desktop'
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user