From 987077ca3ebe360e2dc62ad94b88c27137d4abbf Mon Sep 17 00:00:00 2001 From: ahze Date: Sat, 30 Oct 2004 21:42:29 +0000 Subject: Add audio/faac support bump PORTREVISION PR: ports/73023 Reviewed by: Anish Mistry (maintainer) Approved by: adamw (mentor) --- multimedia/avidemux2/Makefile | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'multimedia/avidemux2') diff --git a/multimedia/avidemux2/Makefile b/multimedia/avidemux2/Makefile index 821ffcc5060..89a4015fb9a 100644 --- a/multimedia/avidemux2/Makefile +++ b/multimedia/avidemux2/Makefile @@ -7,6 +7,7 @@ PORTNAME= avidemux2 PORTVERSION= 2.0.32 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= http://fixounet.free.fr/avidemux/ \ http://download.berlios.de/avidemux/ @@ -43,6 +44,10 @@ USE_GMAKE= yes #WITH_SDL= yes #.endif +.if exists(${LOCALBASE}/lib/libfaac.so) +WITH_FAAC= yes +.endif + .if exists(${LOCALBASE}/lib/libfaad.so.0) WITH_FAAD= yes .endif @@ -82,6 +87,10 @@ LIB_DEPENDS+= a52.0:${PORTSDIR}/audio/liba52 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 +112,12 @@ pre-everything:: @${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: -- cgit