From 31242d5d216acf5ab9a452e80efe91616578da1b Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Thu, 7 Jun 2018 17:54:07 +0200 Subject: [PATCH] Extend recommendation expressiveness spec Include 2 extra requirement types: screen size and input type. Make it possible to specify recommendation by whether it is just supported. --- docs/sources/metainfo/component.xml | 33 +++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/docs/sources/metainfo/component.xml b/docs/sources/metainfo/component.xml index 92165e7c..cc0f1ab1 100644 --- a/docs/sources/metainfo/component.xml +++ b/docs/sources/metainfo/component.xml @@ -568,6 +568,11 @@ recommends tag should be used. In this case, AppStream clients should allow the installation of the software component, but may display a warning before allowing it. + + To specify that a device is being used, a component can use the supports tag. This means that the software component + supports a certain configuration or other item. This is useful in case the client wants to offer components that support a certain feature + exclusively. + A requires or recommends tag contains children describing the type, value and version relation of the required item. @@ -647,6 +652,34 @@ + + <input/> + + + Specifies that a input capability type is supported by the hardware present in the device. + Options here are: keyboard, pointer, touch, tablet-tool, tablet-pad, gesture, switch + + Example: + + + touch +]]> + + + + + <screen/> + + + Specifies a display diagonal size. Should specify the value and the unit (cm or in for centimeters or inches respectively). + Example: + + + 7in +]]> + + +