Date: Wed, 21 Jul 2004 15:11:58 -0400 (EDT) From: Michael Johnson <ahze@ahze.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: lioux@FreeBSD.org Subject: ports/69390: [PATCH] multimedia/gstreamer-plugins: [faac support] Message-ID: <200407211911.i6LJBwrc017469@gentoo.ahze.net> Resent-Message-ID: <200407211920.i6LJKQtl089418@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 69390 >Category: ports >Synopsis: [PATCH] multimedia/gstreamer-plugins: [faac support] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jul 21 19:20:26 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Michael Johnson >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #57: Fri Jul 16 00:36:31 EDT 2004 >Description: - add faac support pr-69388 needs to commited first Port maintainer (lioux@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- gstreamer-plugins-0.8.2_2.patch begins here --- Index: Makefile =================================================================== RCS file: /usr/opt/cvs/freebsd-src/ports/multimedia/gstreamer-plugins/Makefile,v retrieving revision 1.57 diff -u -r1.57 Makefile --- Makefile 10 Jul 2004 22:47:58 -0000 1.57 +++ Makefile 21 Jul 2004 19:10:41 -0000 @@ -7,7 +7,7 @@ PORTNAME= gstreamer PORTVERSION= 0.8.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia audio MASTER_SITES= ${MASTER_SITE_GNOME} \ http://gstreamer.freedesktop.org/src/gst-plugins/ @@ -49,7 +49,6 @@ # list of plugins that need some work in one way or the other to work # probable the lib needs to be ported, disable them for now. CONFIGURE_ARGS+=--disable-mas \ - --disable-faac \ --disable-tarkin \ --disable-lcs \ --disable-mplex \ @@ -174,6 +173,11 @@ WITH_ESOUND=yes .endif +# faac +.if exists(${LOCALBASE}/lib/libfaac.a) +WITH_FAAC=yes +.endif + # faad .if exists(${LOCALBASE}/lib/libfaad.a) WITH_FAAD=yes @@ -460,6 +464,15 @@ PLIST_SUB+= ESOUND="" .endif +# faac +.ifndef(WITH_FAAC) +CONFIGURE_ARGS+= --disable-faac +PLIST_SUB+= FAAC="@comment " +.else +LIB_DEPENDS+= faac.0:${PORTSDIR}/audio/faac +PLIST_SUB+= FAAC="" +.endif + # faad .ifndef(WITH_FAAD) CONFIGURE_ARGS+= --disable-faad @@ -934,6 +947,10 @@ @${ECHO_MSG} '===>' @${ECHO_MSG} '===> Define WITH_ESOUND to enable esound Audio plugin' .endif +.ifndef(WITH_FAAC) + @${ECHO_MSG} '===>' + @${ECHO_MSG} '===> Define WITH_FAAC to enable faac Audio encoder plugin' +.endif .ifndef(WITH_FAAD) @${ECHO_MSG} '===>' @${ECHO_MSG} '===> Define WITH_FAAD to enable faad Audio plugin' Index: pkg-plist =================================================================== RCS file: /usr/opt/cvs/freebsd-src/ports/multimedia/gstreamer-plugins/pkg-plist,v retrieving revision 1.15 diff -u -r1.15 pkg-plist --- pkg-plist 10 Jul 2004 22:47:58 -0000 1.15 +++ pkg-plist 21 Jul 2004 18:32:40 -0000 @@ -66,6 +66,7 @@ lib/gstreamer-%%VERSION%%/libgstefence.so lib/gstreamer-%%VERSION%%/libgsteffectv.so %%ESOUND%%lib/gstreamer-%%VERSION%%/libgstesd.so +%%FAAC%%gstreamer-%%VERSION%%/libgstfaac.so %%FAAD%%lib/gstreamer-%%VERSION%%/libgstfaad.so lib/gstreamer-%%VERSION%%/libgstfestival.so lib/gstreamer-%%VERSION%%/libgstffmpegcolorspace.so --- gstreamer-plugins-0.8.2_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407211911.i6LJBwrc017469>