ports/73023: [PATCH] multimedia/avidemux2: add faac support
Michael Johnson
ahze at ahze.net
Sat Oct 23 00:20:31 UTC 2004
>Number: 73023
>Category: ports
>Synopsis: [PATCH] multimedia/avidemux2: add 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: Sat Oct 23 00:20:30 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Michael Johnson
>Release: FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD blueheron.ahze.net 5.3-STABLE FreeBSD 5.3-STABLE #68: Sat Oct 16 21:30:18 EDT 2004
>Description:
- add faac support
Port maintainer (amistry at am-productions.biz) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- avidemux2-2.0.32.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/multimedia/avidemux2/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- Makefile 22 Oct 2004 00:58:44 -0000 1.14
+++ Makefile 23 Oct 2004 00:19:31 -0000
@@ -43,6 +43,10 @@
#WITH_SDL= yes
#.endif
+.if exists(${LOCALBASE}/lib/libfaac.so.0)
+WITH_FAAC= yes
+.endif
+
.if exists(${LOCALBASE}/lib/libfaad.so.0)
WITH_FAAD= yes
.endif
@@ -82,6 +86,10 @@
USE_SDL+= sdl
.endif
+.if defined(WITH_FAAC)
+LIB_DEPENDS+= faac.0:${PORTSDIR}/audio/faac
+.endif
+
.if defined(WITH_FAAD)
LIB_DEPENDS+= faad.0:${PORTSDIR}/audio/faad
.endif
@@ -103,8 +111,12 @@
@${ECHO_MSG} "To enable SDL support define WITH_SDL."
.endif
+.if !defined(WITH_FAAC)
+ @${ECHO_MSG} "To enable FAAC (mpeg4/aac encoder) support define WITH_FAAC."
+.endif
+
.if !defined(WITH_FAAD)
- @${ECHO_MSG} "To enable FAAD (mpeg4/aac) support define WITH_FAAD."
+ @${ECHO_MSG} "To enable FAAD (mpeg4/aac decoder) support define WITH_FAAD."
.endif
post-patch:
--- avidemux2-2.0.32.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list