diff --git a/res/linux/org.mixxx.Mixxx.metainfo.xml b/res/linux/org.mixxx.Mixxx.metainfo.xml
index b133c72db23..7619e93f5dd 100644
--- a/res/linux/org.mixxx.Mixxx.metainfo.xml
+++ b/res/linux/org.mixxx.Mixxx.metainfo.xml
@@ -59,31 +59,31 @@
- /
-
+ /
or
-
- /usr
-
+ /usr
.
#4126
- crate:""
-
+ crate:""
)
lp:1788086
- ccache
-
+ ccache
and
-
- sccache
-
+ sccache
support for faster compilation times and remove SCons
#2280
#3618
- QT_NO_OPENGL
-
+ QT_NO_OPENGL
or
-
- QT_OPENGL_ES_2
-
+ QT_OPENGL_ES_2
is defined (fixes build on Raspberry Pi)
lp:1863440
#2504
@@ -845,9 +831,7 @@
- git describe
-
+ git describe
#3824
#3841
#3848
diff --git a/tools/update_metainfo.py b/tools/update_metainfo.py
index bf01ed82f77..1ae0e857663 100755
--- a/tools/update_metainfo.py
+++ b/tools/update_metainfo.py
@@ -49,6 +49,13 @@ def parse_changelog(content):
new_tag = soup.new_tag("p")
new_tag.string = tag.get_text()
tag.replace_with(new_tag)
+
+ # Although the `` tag is theoretically supported, it apparently
+ # leads to parser errors when using `appstream-util validate-relax` (as
+ # of version 0.7.18).
+ for tag in soup.find_all("code"):
+ tag.replace_with(tag.get_text())
+
desc = soup.new_tag("description")
desc.extend(soup.contents)