summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2021-05-07 07:18:08 +0000
committerwiz <wiz@pkgsrc.org>2021-05-07 07:18:08 +0000
commitb98269cadfaa62484cb98584179fa36a97bf9635 (patch)
tree7493cdb7ce60538ada1554cb77479271664cc658 /audio
parent3dec636beca87b50ecc60c615fcb2c3fb599e283 (diff)
downloadpkgsrc-b98269cadfaa62484cb98584179fa36a97bf9635.tar.gz
musicpd: fix build
Newer meson recognizes that a target uses rsync and fails to configure. This target is for upstream website maintenance, so comment it out to avoid this dependency (and configure failure) in pkgsrc.
Diffstat (limited to 'audio')
-rw-r--r--audio/musicpd/distinfo3
-rw-r--r--audio/musicpd/patches/patch-doc_meson.build27
2 files changed, 29 insertions, 1 deletions
diff --git a/audio/musicpd/distinfo b/audio/musicpd/distinfo
index d50214aa041..e4de1a9892e 100644
--- a/audio/musicpd/distinfo
+++ b/audio/musicpd/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.122 2021/02/24 12:29:48 wiz Exp $
+$NetBSD: distinfo,v 1.123 2021/05/07 07:18:08 wiz Exp $
SHA1 (mpd-0.22.6.tar.xz) = b900af448040d76827ed84dd4ae78e24443513a5
RMD160 (mpd-0.22.6.tar.xz) = 90fbf971481bcddfcdaad9c6b41718169145b62c
SHA512 (mpd-0.22.6.tar.xz) = 5e417204e24d11fa609740ae92bc1d796aad2d63537655f655074d829cd79cadaf1ca025171dcf5486c1e557cc946152c21e299286b1cb74cc342da2b1f41343
Size (mpd-0.22.6.tar.xz) = 730524 bytes
+SHA1 (patch-doc_meson.build) = c9fc4692db47ee77d45c9e874c629c341849a8de
SHA1 (patch-src_net_IPv6Address.hxx) = 3e0ad6e63a970a17d0d8b2403acc538d8b08342e
diff --git a/audio/musicpd/patches/patch-doc_meson.build b/audio/musicpd/patches/patch-doc_meson.build
new file mode 100644
index 00000000000..e947f9e0aec
--- /dev/null
+++ b/audio/musicpd/patches/patch-doc_meson.build
@@ -0,0 +1,27 @@
+$NetBSD: patch-doc_meson.build,v 1.1 2021/05/07 07:18:08 wiz Exp $
+
+meson recognizes that it needs rsync. This target is unused,
+remove it from pkgsrc build to avoid rsync dependency.
+
+--- doc/meson.build.orig 2021-02-16 12:56:14.000000000 +0000
++++ doc/meson.build
+@@ -23,19 +23,6 @@ if get_option('html_manual')
+ install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name()),
+ )
+
+- custom_target(
+- 'upload',
+- input: sphinx_output,
+- output: 'upload',
+- build_always_stale: true,
+- command: [
+- 'rsync', '-vpruz', '--delete', meson.current_build_dir() + '/',
+- 'www.musicpd.org:/var/www/mpd/doc/',
+- '--chmod=Dug+rwx,Do+rx,Fug+rw,Fo+r',
+- '--include=html', '--include=html/**',
+- '--exclude=*',
+- ],
+- )
+ endif
+
+ if get_option('manpages')