mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-31 05:41:08 +00:00
Update to 0.18.5
Musicpd has been rewritten in c++, and now unfortunately requires a modern gcc to build. While here, remove duplicate LICENSE line pointed out by danfe...
This commit is contained in:
parent
e84b487db1
commit
e68779272f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337093
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= musicpd
|
||||
PORTVERSION= 0.17.6
|
||||
PORTVERSION= 0.18.5
|
||||
CATEGORIES= audio ipv6
|
||||
MASTER_SITES= http://www.musicpd.org/download/mpd/${PORTVERSION:R}/
|
||||
DISTNAME= mpd-${PORTVERSION}
|
||||
@ -9,13 +9,13 @@ DISTNAME= mpd-${PORTVERSION}
|
||||
MAINTAINER= crees@FreeBSD.org
|
||||
COMMENT= Remote-controllable music daemon
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE= GPLv2
|
||||
|
||||
LIB_DEPENDS+= libmad.so:${PORTSDIR}/audio/libmad \
|
||||
libcurl.so:${PORTSDIR}/ftp/curl
|
||||
|
||||
USES= gmake pkgconfig
|
||||
USE_GCC= 4.7+
|
||||
USE_XZ= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GNOME= glib20
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (mpd-0.17.6.tar.xz) = defd23931bd3f0aaee82a079a0583278e51e25f480509a93bc5f70de7f421906
|
||||
SIZE (mpd-0.17.6.tar.xz) = 537580
|
||||
SHA256 (mpd-0.18.5.tar.xz) = 3424a520f76da90a6869039eb7e89e1e6e3973a6da9e89ffdadf1c4a4ac6e11c
|
||||
SIZE (mpd-0.18.5.tar.xz) = 580332
|
||||
|
@ -1,19 +0,0 @@
|
||||
Fix build with FFmpeg 2.0.
|
||||
|
||||
Upstream status: Better patch sent and merged upstream.
|
||||
|
||||
Index: src/decoder/ffmpeg_decoder_plugin.c
|
||||
===================================================================
|
||||
--- src/decoder/ffmpeg_decoder_plugin.c.orig
|
||||
+++ src/decoder/ffmpeg_decoder_plugin.c
|
||||
@@ -47,6 +47,10 @@
|
||||
#undef G_LOG_DOMAIN
|
||||
#define G_LOG_DOMAIN "ffmpeg"
|
||||
|
||||
+#ifndef AVCODEC_MAX_AUDIO_FRAME_SIZE
|
||||
+#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000 // 1 second of 48khz 32bit audio
|
||||
+#endif
|
||||
+
|
||||
static GLogLevelFlags
|
||||
level_ffmpeg_to_glib(int level)
|
||||
{
|
Loading…
Reference in New Issue
Block a user