From owner-svn-ports-head@FreeBSD.ORG Tue Oct 8 23:01:39 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6E5C7F9D; Tue, 8 Oct 2013 23:01:39 +0000 (UTC) (envelope-from wg@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5C692292E; Tue, 8 Oct 2013 23:01:39 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r98N1dTv027507; Tue, 8 Oct 2013 23:01:39 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r98N1c4f027492; Tue, 8 Oct 2013 23:01:38 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201310082301.r98N1c4f027492@svn.freebsd.org> From: William Grzybowski Date: Tue, 8 Oct 2013 23:01:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329848 - in head/audio/deadbeef: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Oct 2013 23:01:39 -0000 Author: wg Date: Tue Oct 8 23:01:38 2013 New Revision: 329848 URL: http://svnweb.freebsd.org/changeset/ports/329848 Log: audio/deadbeef: link using ffmpeg0 - Link using ffmpeg0 Approved by: portmgr (bapt, implicit) Added: head/audio/deadbeef/files/ head/audio/deadbeef/files/patch-plugins-ffmpeg-Makefile.in (contents, props changed) head/audio/deadbeef/files/patch-plugins-ffmpeg-ffmpeg.c (contents, props changed) Modified: head/audio/deadbeef/Makefile Modified: head/audio/deadbeef/Makefile ============================================================================== --- head/audio/deadbeef/Makefile Tue Oct 8 22:46:04 2013 (r329847) +++ head/audio/deadbeef/Makefile Tue Oct 8 23:01:38 2013 (r329848) @@ -3,7 +3,7 @@ PORTNAME= deadbeef PORTVERSION= 0.5.5 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME} @@ -166,9 +166,10 @@ PLIST_SUB+= OGG="@comment " .if ${PORT_OPTIONS:MFFMPEG} PLIST_SUB+= FFMPEG="" -LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg \ - avformat:${PORTSDIR}/multimedia/ffmpeg \ - avutil:${PORTSDIR}/multimedia/ffmpeg +LIB_DEPENDS+= libavcodec0.so:${PORTSDIR}/multimedia/ffmpeg0 \ + libavformat0.so:${PORTSDIR}/multimedia/ffmpeg0 \ + libavutil0.so:${PORTSDIR}/multimedia/ffmpeg0 +CONFIGURE_ARGS+= --enable-ffmpeg .else CONFIGURE_ARGS+= --disable-ffmpeg PLIST_SUB+= FFMPEG="@comment " @@ -359,6 +360,11 @@ post-patch: ${WRKSRC}/plugins/supereq/Makefile.in @${REINPLACE_CMD} -e 's,/etc/timidity++/timidity-freepats.cfg:/etc/timidity/freepats.cfg:/etc/timidity/,${LOCALBASE}/share/,' \ ${WRKSRC}/plugins/wildmidi/wildmidiplug.c + @${REINPLACE_CMD} \ + -e 's,libavcodec ,libavcodec0 ,g' \ + -e 's,libavutil ,libavutil0 ,g' \ + -e 's,libavformat ,libavformat0 ,g' \ + ${WRKSRC}/configure .include Added: head/audio/deadbeef/files/patch-plugins-ffmpeg-Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/deadbeef/files/patch-plugins-ffmpeg-Makefile.in Tue Oct 8 23:01:38 2013 (r329848) @@ -0,0 +1,16 @@ +--- plugins/ffmpeg/Makefile.in.orig 2013-10-08 19:57:17.298159051 -0300 ++++ plugins/ffmpeg/Makefile.in 2013-10-08 19:57:32.774264065 -0300 +@@ -108,11 +108,11 @@ + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + am__mv = mv -f +-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ ++COMPILE = $(CC) $(DEFS) $(AM_CFLAGS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ +- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ ++ $(AM_CFLAGS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) + AM_V_CC = $(am__v_CC_@AM_V@) + am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) Added: head/audio/deadbeef/files/patch-plugins-ffmpeg-ffmpeg.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/deadbeef/files/patch-plugins-ffmpeg-ffmpeg.c Tue Oct 8 23:01:38 2013 (r329848) @@ -0,0 +1,32 @@ +--- plugins/ffmpeg/ffmpeg.c.orig 2013-10-08 19:54:33.943158658 -0300 ++++ plugins/ffmpeg/ffmpeg.c 2013-10-08 19:54:44.352159132 -0300 +@@ -25,20 +25,11 @@ + + #include "../../deadbeef.h" + +-#if !FFMPEG_OLD +- + #include + #include + #include + #include + +-#else +- +-#include +-#include +-#include +-#include +- + #define AVERROR_EOF AVERROR(EPIPE) + + #if LIBAVFORMAT_VERSION_MAJOR < 53 +@@ -49,8 +40,6 @@ + #define AV_VERSION_INT(a, b, c) (a<<16 | b<<8 | c) + #endif + +-#endif +- + //#define trace(...) { fprintf(stderr, __VA_ARGS__); } + #define trace(fmt,...) +