From owner-svn-ports-head@FreeBSD.ORG Wed Oct 9 13:08:30 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 283D5A1C; Wed, 9 Oct 2013 13:08:30 +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 143642548; Wed, 9 Oct 2013 13:08:30 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r99D8TQ8075313; Wed, 9 Oct 2013 13:08:29 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r99D8TZA075312; Wed, 9 Oct 2013 13:08:29 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201310091308.r99D8TZA075312@svn.freebsd.org> From: William Grzybowski Date: Wed, 9 Oct 2013 13:08:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329895 - head/multimedia/vdr-plugin-upnp 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 13:08:30 -0000 Author: wg Date: Wed Oct 9 13:08:29 2013 New Revision: 329895 URL: http://svnweb.freebsd.org/changeset/ports/329895 Log: multimedia/vdr-plugin-upnp: link using ffmpeg0 - Link using ffmpeg0 Approved by: portmgr (bapt, implicit) Modified: head/multimedia/vdr-plugin-upnp/Makefile Modified: head/multimedia/vdr-plugin-upnp/Makefile ============================================================================== --- head/multimedia/vdr-plugin-upnp/Makefile Wed Oct 9 13:00:59 2013 (r329894) +++ head/multimedia/vdr-plugin-upnp/Makefile Wed Oct 9 13:08:29 2013 (r329895) @@ -3,7 +3,7 @@ PORTNAME= vdr-plugin-upnp PORTVERSION= 0.0.2a2 -PORTREVISION= 21 +PORTREVISION= 22 CATEGORIES= multimedia MASTER_SITES= http://projects.vdr-developer.org/attachments/download/177/ DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DISTVERSIONPREFIX}${DISTVERSION:S/a/-alpha/}${DISTVERSIONSUFFIX} @@ -12,7 +12,7 @@ EXTRACT_SUFX= .tgz MAINTAINER= nox@FreeBSD.org COMMENT= Video Disk Recorder - UPnP/DLNA plugin (alpha!) -LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg \ +LIB_DEPENDS+= libavcodec0.so:${PORTSDIR}/multimedia/ffmpeg0 \ boost_system:${PORTSDIR}/devel/boost-libs \ upnp:${PORTSDIR}/devel/upnp \ sqlite3:${PORTSDIR}/databases/sqlite3 @@ -23,10 +23,17 @@ HAVE_CONFIGURE= yes PORTDOCS= COPYING README HISTORY WRKSRC= ${WRKDIR}/${PLUGIN}-${DISTVERSION:S/a2//} +CXXFLAGS+= -L${LOCALBASE}/lib/ffmpeg0 -lavcodec0 -lavformat0 -fPIC +MAKE_ARGS= LIBS="-I${LOCALBASE}/include/ffmpeg0" CXXFLAGS="${CXXFLAGS}" + NO_STAGE= yes .include "${.CURDIR}/../vdr/Makefile.plugins" post-patch: post-patch-plugin + @${REINPLACE_CMD} \ + -e 's,lavcodec,lavcodec0,g' \ + -e 's,lavformat,lavformat0,g' \ + ${WRKSRC}/Makefile post-install: post-install-pluginlocales @${MKDIR} ${PREFIX}/etc/vdr/plugins/${PLUGIN}/http/icons