summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-12-13 09:48:04 +0100
committerMaciej Barć <xgqt@gentoo.org>2022-12-13 10:09:44 +0100
commit85b6d483ecdccb85855a090ed66c4cfdaa6cab5a (patch)
tree0ecadf7e38673f540f31eca1ad42ea1b264298d5 /dev-util/chirurgien
parentdev-util/chirurgien: do not use the provided postinstall script (diff)
downloadgentoo-85b6d483ecdccb85855a090ed66c4cfdaa6cab5a.tar.gz
gentoo-85b6d483ecdccb85855a090ed66c4cfdaa6cab5a.tar.bz2
gentoo-85b6d483ecdccb85855a090ed66c4cfdaa6cab5a.zip
dev-util/chirurgien: do not validate appstream file
Closes: https://bugs.gentoo.org/885727 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-util/chirurgien')
-rw-r--r--dev-util/chirurgien/chirurgien-2.1.ebuild2
-rw-r--r--dev-util/chirurgien/files/chirurgien-2.1-dont-validate-appstream.patch11
2 files changed, 13 insertions, 0 deletions
diff --git a/dev-util/chirurgien/chirurgien-2.1.ebuild b/dev-util/chirurgien/chirurgien-2.1.ebuild
index ce697c47292f..402ca97d86c2 100644
--- a/dev-util/chirurgien/chirurgien-2.1.ebuild
+++ b/dev-util/chirurgien/chirurgien-2.1.ebuild
@@ -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
diff --git a/dev-util/chirurgien/files/chirurgien-2.1-dont-validate-appstream.patch b/dev-util/chirurgien/files/chirurgien-2.1-dont-validate-appstream.patch
new file mode 100644
index 000000000000..92610d37cffe
--- /dev/null
+++ b/dev-util/chirurgien/files/chirurgien-2.1-dont-validate-appstream.patch
@@ -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]
+ )