1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Update to upstream version 0.21.4

Details:
- Bugfix release, see upstream changelog:
  https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.21.4/NEWS
- Fix build with openal and lld

MFH:		2019Q1
This commit is contained in:
Thomas Zander 2019-01-13 14:19:24 +00:00
parent aef9017fdd
commit 09bfac1bf8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=490137
3 changed files with 24 additions and 6 deletions

View File

@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= musicpd
PORTVERSION= 0.21.3
PORTREVISION= 3
PORTVERSION= 0.21.4
CATEGORIES= audio ipv6
MASTER_SITES= https://www.musicpd.org/download/mpd/${PORTVERSION:R}/
DISTNAME= mpd-${PORTVERSION}
@ -141,7 +140,6 @@ JACK_MESON_ON= -Djack=enabled
JACK_LIB_DEPENDS= libjack.so:audio/jack
OPENAL_MESON_ON= -Dopenal=enabled
OPENAL_USES= openal
OPENAL_VARS= LLD_UNSAFE=yes # cf. PR 226980
PULSEAUDIO_MESON_ON= -Dpulse=enabled
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
SHOUTCAST_MESON_ON= -Dshout=enabled

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1542528753
SHA256 (mpd-0.21.3.tar.xz) = 6cf60e644870c6063a008d833a6c876272b7679a400b83012ed209c15ce06e2a
SIZE (mpd-0.21.3.tar.xz) = 664992
TIMESTAMP = 1547301787
SHA256 (mpd-0.21.4.tar.xz) = 247112eabf1b818a4052db7f0f5917ab00831ebc60a1ec3bf1154da4dc16a5c7
SIZE (mpd-0.21.4.tar.xz) = 663648

View File

@ -0,0 +1,20 @@
--- src/zeroconf/meson.build.orig 2019-01-04 18:22:21 UTC
+++ src/zeroconf/meson.build
@@ -30,10 +30,14 @@ if zeroconf_option == 'bonjour'
if not compiler.has_header('dns_sd.h')
error('dns_sd.h not found')
endif
-
- bonjour_dep = declare_dependency(link_args: ['-framework', 'dnssd'])
+
+ if is_darwin
+ bonjour_dep = declare_dependency(link_args: ['-framework', 'dnssd'])
+ else
+ bonjour_dep = declare_dependency(link_args: ['-ldns_sd'])
+ endif
conf.set('HAVE_BONJOUR', true)
-
+
zeroconf = static_library(
'zeroconf_bonjour',
'ZeroconfGlue.cxx',