app-emulation/virt-viewer: fix build with meson-0.61

Closes: https://bugs.gentoo.org/831963
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-01-25 02:19:06 +00:00
parent b030a1f1a2
commit cb0e78639d
2 changed files with 41 additions and 1 deletions

View File

@@ -0,0 +1,36 @@
https://gitlab.com/virt-viewer/virt-viewer/-/merge_requests/117.patch
https://bugs.gentoo.org/831963
From 41cc016278e713d3db156761fce6437dff81a53a Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sat, 22 Jan 2022 23:28:20 +0100
Subject: [PATCH] meson: fix build with meson 0.61
i18n.merge_file doesn't accept positional arguments
--- a/data/meson.build
+++ b/data/meson.build
@@ -2,7 +2,6 @@ if host_machine.system() != 'windows'
desktop = 'remote-viewer.desktop'
i18n.merge_file (
- desktop,
type: 'desktop',
input: desktop + '.in',
output: desktop,
@@ -14,7 +13,6 @@ if host_machine.system() != 'windows'
mimetypes = 'virt-viewer-mime.xml'
i18n.merge_file (
- mimetypes,
type: 'xml',
input: mimetypes + '.in',
output: mimetypes,
@@ -27,7 +25,6 @@ if host_machine.system() != 'windows'
metainfo = 'remote-viewer.appdata.xml'
i18n.merge_file (
- metainfo,
type: 'xml',
input: metainfo + '.in',
output: metainfo,
GitLab

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -38,6 +38,10 @@ BDEPEND="${PYTHON_DEPS}
REQUIRED_USE="|| ( spice vnc )"
PATCHES=(
"${FILESDIR}"/${PN}-10.0_p20210730-meson-0.61.patch
)
src_prepare() {
default