40 lines
1.4 KiB
Diff
40 lines
1.4 KiB
Diff
From 312e33d8fe474f16e43fea7f8c496006d51b5caf Mon Sep 17 00:00:00 2001
|
|
From: Adrien Plazas <kekun.plazas@laposte.net>
|
|
Date: Fri, 6 Nov 2020 15:04:19 +0100
|
|
Subject: [PATCH 1/5] data: List compatible form-factors
|
|
|
|
This will allow the app to be available in Phosh and PureOS Store.
|
|
---
|
|
data/org.gnome.Evince.desktop.in.in | 2 ++
|
|
org.gnome.Evince.appdata.xml.in | 4 ++++
|
|
2 files changed, 6 insertions(+)
|
|
|
|
diff --git a/data/org.gnome.Evince.desktop.in.in b/data/org.gnome.Evince.desktop.in.in
|
|
index e7bcf31e..ce471436 100644
|
|
--- a/data/org.gnome.Evince.desktop.in.in
|
|
+++ b/data/org.gnome.Evince.desktop.in.in
|
|
@@ -13,6 +13,8 @@ Icon=@PACKAGE_ICON_NAME@
|
|
Categories=GNOME;GTK;Office;Viewer;Graphics;2DGraphics;VectorGraphics;
|
|
MimeType=@EVINCE_MIME_TYPES@;
|
|
Actions=new-window;
|
|
+# Translators: Do NOT translate or transliterate this text (these are enum types)!
|
|
+X-Purism-FormFactor=Workstation;Mobile;
|
|
|
|
[Desktop Action new-window]
|
|
Name=New Window
|
|
diff --git a/org.gnome.Evince.appdata.xml.in b/org.gnome.Evince.appdata.xml.in
|
|
index 20175f5e..5b40af5e 100644
|
|
--- a/org.gnome.Evince.appdata.xml.in
|
|
+++ b/org.gnome.Evince.appdata.xml.in
|
|
@@ -252,4 +252,8 @@
|
|
<release version="3.32.0" date="2019-03-14" />
|
|
<release version="3.30.3" date="2019-09-29" />
|
|
</releases>
|
|
+ <custom>
|
|
+ <value key="Purism::form_factor">workstation</value>
|
|
+ <value key="Purism::form_factor">mobile</value>
|
|
+ </custom>
|
|
</component>
|
|
--
|
|
2.25.1
|
|
|