From owner-svn-ports-head@FreeBSD.ORG Wed Oct 9 02:14:34 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 1D0C5BE6; Wed, 9 Oct 2013 02:14:34 +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 08E5521CB; Wed, 9 Oct 2013 02:14:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r992EXcl032907; Wed, 9 Oct 2013 02:14:33 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r992EX8k032903; Wed, 9 Oct 2013 02:14:33 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201310090214.r992EX8k032903@svn.freebsd.org> From: William Grzybowski Date: Wed, 9 Oct 2013 02:14:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329854 - in head/multimedia/sabbu: . 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: Wed, 09 Oct 2013 02:14:34 -0000 Author: wg Date: Wed Oct 9 02:14:33 2013 New Revision: 329854 URL: http://svnweb.freebsd.org/changeset/ports/329854 Log: multimedia/sabbu: link using ffmpeg0 - Link using ffmpeg0 Approved by: portmgr (bapt, implicit) Added: head/multimedia/sabbu/files/patch-Source-Makefile.in (contents, props changed) Modified: head/multimedia/sabbu/Makefile head/multimedia/sabbu/files/patch-video.h Modified: head/multimedia/sabbu/Makefile ============================================================================== --- head/multimedia/sabbu/Makefile Wed Oct 9 01:54:21 2013 (r329853) +++ head/multimedia/sabbu/Makefile Wed Oct 9 02:14:33 2013 (r329854) @@ -2,14 +2,14 @@ PORTNAME= sabbu PORTVERSION= 0.3.0 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= multimedia MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Sabbu%20${PORTVERSION} MAINTAINER= dinoex@FreeBSD.org COMMENT= Program used to time subtitles -LIB_DEPENDS= avcodec:${PORTSDIR}/multimedia/ffmpeg \ +LIB_DEPENDS= libavcodec0.so:${PORTSDIR}/multimedia/ffmpeg0 \ sndfile:${PORTSDIR}/audio/libsndfile NO_STAGE= yes @@ -20,8 +20,8 @@ USE_GMAKE= yes GNU_CONFIGURE= yes USE_GNOME= gtk20 -CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lswscale +CFLAGS+= -I${LOCALBASE}/include/ffmpeg0 ${PTHREAD_CFLAGS} -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib/ffmpeg0 -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lswscale0 OPTIONS_DEFINE= GTKSPELL OPTIONS_DEFAULT=GTKSPELL @@ -47,4 +47,12 @@ LIB_DEPENDS+= gtkspell:${PORTSDIR}/textp BROKEN= Does not configure on powerpc .endif +post-patch: + @${REINPLACE_CMD} \ + -e 's,ffmpeg/avformat,libavformat/avformat,g' \ + -e 's,lavcodec,lavcodec0,g' \ + -e 's,lavformat,lavformat0,g' \ + -e 's,lavswscale,lavswscale0,g' \ + ${WRKSRC}/configure + .include Added: head/multimedia/sabbu/files/patch-Source-Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/sabbu/files/patch-Source-Makefile.in Wed Oct 9 02:14:33 2013 (r329854) @@ -0,0 +1,13 @@ +--- Source/Makefile.in.orig 2013-10-08 23:05:45.410158951 -0300 ++++ Source/Makefile.in 2013-10-08 23:09:15.165157059 -0300 +@@ -100,8 +100,8 @@ + DEFAULT_INCLUDES = -I. -I$(srcdir) -I. + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles +-CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ +- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) ++CXXCOMPILE = $(CXX) $(DEFS) $(AM_CXXFLAGS) $(DEFAULT_INCLUDES) $(INCLUDES) \ ++ $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) + CXXLD = $(CXX) + CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ + -o $@ Modified: head/multimedia/sabbu/files/patch-video.h ============================================================================== --- head/multimedia/sabbu/files/patch-video.h Wed Oct 9 01:54:21 2013 (r329853) +++ head/multimedia/sabbu/files/patch-video.h Wed Oct 9 02:14:33 2013 (r329854) @@ -1,12 +1,13 @@ ---- Source/video.h.orig Thu Jul 14 17:52:07 2005 -+++ Source/video.h Sun Jun 17 08:57:32 2007 +--- Source/video.h.orig 2005-07-14 12:52:07.000000000 -0300 ++++ Source/video.h 2013-10-08 23:10:25.214159730 -0300 @@ -23,11 +23,13 @@ }; #else +extern "C" { #ifndef _WINDOWS - #include +-#include ++#include #else #include "video_ffmpeg.h" #endif