summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2022-03-10 17:11:18 +0000
committernia <nia@pkgsrc.org>2022-03-10 17:11:18 +0000
commitf79a96a5b87f7041a016ea5035797fdaba34d18a (patch)
tree14d99e708d2b6f25e10364759add34bb8f8a6466 /graphics
parentd7491a828b7d2952f86732dee29dd77c4c6c4d40 (diff)
downloadpkgsrc-f79a96a5b87f7041a016ea5035797fdaba34d18a.tar.gz
gnome-screenshot: fix building with latest meson
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gnome-screenshot/distinfo3
-rw-r--r--graphics/gnome-screenshot/patches/patch-data_meson.build23
2 files changed, 25 insertions, 1 deletions
diff --git a/graphics/gnome-screenshot/distinfo b/graphics/gnome-screenshot/distinfo
index a96510402ce..68be52ccb5d 100644
--- a/graphics/gnome-screenshot/distinfo
+++ b/graphics/gnome-screenshot/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 10:46:14 nia Exp $
+$NetBSD: distinfo,v 1.4 2022/03/10 17:11:18 nia Exp $
BLAKE2s (gnome-screenshot-3.38.0.tar.xz) = f6b12c94fd325e606a37a71adf61a07b59dffbde95b62d0f93029762a89e15d0
SHA512 (gnome-screenshot-3.38.0.tar.xz) = 183f81b9b481d1afb4a3c8e37b25a78652e599d4c5a4f1a2cc9449cd1efdf3b613018c17de9ab61304ba19ad7152d696aeed475c0184a4728ea1359ca2be2ecf
Size (gnome-screenshot-3.38.0.tar.xz) = 356716 bytes
+SHA1 (patch-data_meson.build) = 9e6f4658922d9ffd49cd8ed92e07519ea453d60b
diff --git a/graphics/gnome-screenshot/patches/patch-data_meson.build b/graphics/gnome-screenshot/patches/patch-data_meson.build
new file mode 100644
index 00000000000..b440179b311
--- /dev/null
+++ b/graphics/gnome-screenshot/patches/patch-data_meson.build
@@ -0,0 +1,23 @@
+$NetBSD: patch-data_meson.build,v 1.1 2022/03/10 17:11:18 nia Exp $
+
+Remove incorrect positional arguments causing failures with newer
+meson versions. These were previously silently ignored.
+
+--- data/meson.build.orig 2020-09-10 12:54:34.000000000 +0000
++++ data/meson.build
+@@ -1,7 +1,6 @@
+ gnome = import('gnome')
+
+ desktop_file = i18n.merge_file(
+- 'desktop',
+ type: 'desktop',
+ input: 'org.gnome.Screenshot.desktop.in',
+ output: 'org.gnome.Screenshot.desktop',
+@@ -23,7 +22,6 @@ if desktop_file_validate.found()
+ endif
+
+ metainfo_file = i18n.merge_file(
+- 'appdata',
+ input: 'org.gnome.Screenshot.metainfo.xml.in',
+ output: 'org.gnome.Screenshot.metainfo.xml',
+ po_dir: join_paths(meson.current_source_dir(), '../po'),