dev-util/chirurgien: do not validate appstream file

Closes: https://bugs.gentoo.org/885727
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2022-12-13 09:48:04 +01:00
parent ba2b5b875b
commit 85b6d483ec
2 changed files with 13 additions and 0 deletions

View File

@@ -25,6 +25,8 @@ BDEPEND="
dev-util/desktop-file-utils
"
PATCHES=( "${FILESDIR}"/${P}-dont-validate-appstream.patch )
src_prepare() {
# Do not use the provided postinstall script.
sed -i "/^meson.add_install_script/d" meson.build || die

View File

@@ -0,0 +1,11 @@
--- a/data/meson.build
+++ b/data/meson.build
@@ -25,7 +25,7 @@ appstream_file = i18n.merge_file(
)
appstream_util = find_program('appstream-util', required: false)
-if appstream_util.found()
+if false
test('Validate appstream file', appstream_util,
args: ['validate', appstream_file]
)