From a025f4e0b6b59c79abd9089fb99f49a55d19e270 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Wed, 9 Mar 2022 18:25:42 +0100 Subject: [PATCH] gnome-podcasts: fix for meson 0.61 --- .../gnome-podcasts/patches/meson-0.61.patch | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 srcpkgs/gnome-podcasts/patches/meson-0.61.patch diff --git a/srcpkgs/gnome-podcasts/patches/meson-0.61.patch b/srcpkgs/gnome-podcasts/patches/meson-0.61.patch new file mode 100644 index 0000000000..b5ad823b70 --- /dev/null +++ b/srcpkgs/gnome-podcasts/patches/meson-0.61.patch @@ -0,0 +1,38 @@ +From 6614bb62ecbec7c3b18ea7fe44beb50fe7942b27 Mon Sep 17 00:00:00 2001 +From: Jan Beich +Date: Thu, 20 Jan 2022 01:27:48 +0000 +Subject: [PATCH] meson: drop unused argument for i18n.merge_file() + +Ignored in Meson < 0.60.0, deprecated since 0.60.1 and fatal since 0.61.0. + +podcasts-gtk/resources/meson.build:5:0: ERROR: Function does not take positional arguments. +podcasts-gtk/resources/meson.build:30:0: ERROR: Function does not take positional arguments. +--- + podcasts-gtk/resources/meson.build | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/podcasts-gtk/resources/meson.build b/podcasts-gtk/resources/meson.build +index c1f1ee9f..87148087 100644 +--- a/podcasts-gtk/resources/meson.build ++++ b/podcasts-gtk/resources/meson.build +@@ -2,7 +2,7 @@ subdir('icons') + + desktop_conf = configuration_data() + desktop_conf.set('icon', application_id) +-desktop_file = i18n.merge_file ('desktop-file', ++desktop_file = i18n.merge_file ( + type: 'desktop', + input: configure_file( + input: files('org.gnome.Podcasts.desktop.in.in'), +@@ -27,7 +27,7 @@ endif + + appdata_conf = configuration_data() + appdata_conf.set('appid', application_id) +-appdata_file = i18n.merge_file ('appdata-file', ++appdata_file = i18n.merge_file ( + input: configure_file( + input: files('org.gnome.Podcasts.appdata.xml.in.in'), + output: 'org.gnome.Podcasts.appdata.xml.in', +-- +GitLab +