diff options
author | devnewton <devnewton@bci.im> | 2022-10-23 09:49:57 +0200 |
---|---|---|
committer | David Faure <faure@kde.org> | 2024-04-21 12:49:13 +0200 |
commit | 0d05f1ecfa3b476db2cf88cf313f9e1bd9fd14cb (patch) | |
tree | 79760af496c7244ce24a75b8c0f181870ea8f156 | |
parent | 555f34640f2c03a2b9fa2ac86dcbd92077a47023 (diff) |
Add application/x-qbrew for qbrew recipes
-rw-r--r-- | data/freedesktop.org.xml.in | 5 | ||||
-rw-r--r-- | tests/mime-detection/list | 3 | ||||
-rw-r--r-- | tests/mime-detection/robust_porter.qbrew | 21 |
3 files changed, 29 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index ed24e60..58a1f0f 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -8768,6 +8768,11 @@ command to generate the output files. <generic-icon name="package-x-generic"/> <glob pattern="*.mrpack"/> </mime-type> + <mime-type type="application/x-qbrew"> + <comment>QBrew beer recipes</comment> + <sub-class-of type="application/xml"/> + <glob pattern="*.qbrew"/> + </mime-type> <mime-type type="application/cbor"> <comment>CBOR Data</comment> <acronym>CBOR</acronym> diff --git a/tests/mime-detection/list b/tests/mime-detection/list index dca7e66..7e3ead9 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -966,6 +966,9 @@ dbus-comment.service text/x-systemd-unit xxx dbus.service text/x-dbus-service dbus-comment.service text/x-dbus-service +# QBrew recipe +robust_porter.qbrew application/x-qbrew ox + # 3D models and GCODEs # "cube(10);" exported by OpenSCAD cube.3mf model/3mf ox diff --git a/tests/mime-detection/robust_porter.qbrew b/tests/mime-detection/robust_porter.qbrew new file mode 100644 index 0000000..a187145 --- /dev/null +++ b/tests/mime-detection/robust_porter.qbrew @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE recipe> +<recipe application="qbrew" version="0.4.1"> + <title>2022-06-porter-porter-avec-les-restes</title> + <brewer></brewer> + <style>Robust Porter</style> + <batch quantity="8.00 L"/> + <grains> + <grain quantity="0.40 kg" extract="1.036" color="320" type="Grain" use="Mashed">Carafa I malt</grain> + <grain quantity="0.10 kg" extract="1.033" color="2.2" type="Adjunct" use="Mashed">Flaked oats</grain> + <grain quantity="1.60 kg" extract="1.037" color="3" type="Grain" use="Mashed">German vienna</grain> + <grain quantity="0.40 kg" extract="1.038" color="4" type="Grain" use="Mashed">Maris Otter Malt</grain> + </grains> + <hops> + <hop quantity="11.00 g" alpha="12" time="60" type="Pellet">Magnum</hop> + </hops> + <miscingredients> + <miscingredient quantity="1.00 unit" type="Other" notes="">Generic</miscingredient> + <miscingredient quantity="1.00 unit" type="Yeast" notes="">Ale yeast</miscingredient> + </miscingredients> +</recipe> |