mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-25 11:57:36 -08:00
sys-apps/gnome-disk-utility: fix build with meson 0.61
Closes: https://bugs.gentoo.org/831552 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
https://gitlab.gnome.org/GNOME/gnome-disk-utility/-/commit/46ed7d26873b9741dff61f9df8e7778a8dc6f5cc
|
||||
https://bugs.gentoo.org/831552
|
||||
|
||||
From: rvalue <i@rvalue.moe>
|
||||
Date: Fri, 17 Dec 2021 12:29:30 +0000
|
||||
Subject: [PATCH] build: fix arguments of i18n.merge_file
|
||||
|
||||
`i18n.merge_file` has been ignoring positional arguments for a time
|
||||
and explicitly rejects with error since meson 0.60.0
|
||||
--- a/data/meson.build
|
||||
+++ b/data/meson.build
|
||||
@@ -11,7 +11,6 @@ desktops = [
|
||||
|
||||
foreach desktop: desktops
|
||||
i18n.merge_file (
|
||||
- desktop,
|
||||
type: 'desktop',
|
||||
input: desktop + '.in',
|
||||
output: desktop,
|
||||
@@ -38,7 +37,6 @@ install_data(
|
||||
info = 'org.gnome.DiskUtility.appdata.xml'
|
||||
|
||||
i18n.merge_file(
|
||||
- info,
|
||||
input: info + '.in',
|
||||
output: info,
|
||||
po_dir: po_dir,
|
||||
GitLab
|
||||
@@ -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
|
||||
@@ -43,6 +43,10 @@ BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-meson-0.61-build.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dlogind=$(usex systemd libsystemd $(usex elogind libelogind none))
|
||||
|
||||
Reference in New Issue
Block a user