summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lermytte <gentoo@lermytte.be>2022-02-20 21:07:07 +0100
committerSam James <sam@gentoo.org>2022-02-20 21:12:30 +0000
commitcc80d63352181053f7ea6a793a6505561b1243ad (patch)
treee828ee31d349f31e26f61b8b09041082d13bcc6d /gnome-extra/nautilus-sendto
parentmedia-gfx/openvdb: enable CUDA support for NanoVDB (diff)
downloadgentoo-cc80d63352181053f7ea6a793a6505561b1243ad.tar.gz
gentoo-cc80d63352181053f7ea6a793a6505561b1243ad.tar.bz2
gentoo-cc80d63352181053f7ea6a793a6505561b1243ad.zip
gnome-extra/nautilus-sendto: fix build with meson 0.61
Closes: https://bugs.gentoo.org/831837 Signed-off-by: Christophe Lermytte <gentoo@lermytte.be> Closes: https://github.com/gentoo/gentoo/pull/24293 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'gnome-extra/nautilus-sendto')
-rw-r--r--gnome-extra/nautilus-sendto/files/fix-build-with-meson-0.61.patch12
-rw-r--r--gnome-extra/nautilus-sendto/nautilus-sendto-3.8.6.ebuild6
2 files changed, 17 insertions, 1 deletions
diff --git a/gnome-extra/nautilus-sendto/files/fix-build-with-meson-0.61.patch b/gnome-extra/nautilus-sendto/files/fix-build-with-meson-0.61.patch
new file mode 100644
index 000000000000..556fab877bd1
--- /dev/null
+++ b/gnome-extra/nautilus-sendto/files/fix-build-with-meson-0.61.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/831837
+--- a/src/meson.build
++++ b/src/meson.build
+@@ -7,7 +7,7 @@ executable('nautilus-sendto',
+
+ po_dir = join_paths(meson.source_root(), 'po')
+
+-i18n.merge_file ('appdata',
++i18n.merge_file (
+ input: 'nautilus-sendto.metainfo.xml.in',
+ output: 'nautilus-sendto.metainfo.xml',
+ install: true,
diff --git a/gnome-extra/nautilus-sendto/nautilus-sendto-3.8.6.ebuild b/gnome-extra/nautilus-sendto/nautilus-sendto-3.8.6.ebuild
index be615119ac23..988f463cb538 100644
--- a/gnome-extra/nautilus-sendto/nautilus-sendto-3.8.6.ebuild
+++ b/gnome-extra/nautilus-sendto/nautilus-sendto-3.8.6.ebuild
@@ -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=6
@@ -19,6 +19,10 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
"
+PATCHES=(
+ "${FILESDIR}"/fix-build-with-meson-0.61.patch
+)
+
pkg_postinst() {
if ! has_version "gnome-base/nautilus[sendto]"; then
einfo "Note that ${CATEGORY}/${PN} is meant to be used as a helper by gnome-base/nautilus[sendto]"