diff options
author | ahze <ahze@FreeBSD.org> | 2004-10-31 05:42:29 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2004-10-31 05:42:29 +0800 |
commit | 987077ca3ebe360e2dc62ad94b88c27137d4abbf (patch) | |
tree | 72ebed6d686b78c6db2ad25175f83aa7833de3ea /multimedia/avidemux2 | |
parent | 13d57bdd123620897f69fe5f202066f5907bfdf4 (diff) | |
download | freebsd-ports-gnome-987077ca3ebe360e2dc62ad94b88c27137d4abbf.tar.gz freebsd-ports-gnome-987077ca3ebe360e2dc62ad94b88c27137d4abbf.tar.zst freebsd-ports-gnome-987077ca3ebe360e2dc62ad94b88c27137d4abbf.zip |
Add audio/faac support
bump PORTREVISION
PR: ports/73023
Reviewed by: Anish Mistry (maintainer)
Approved by: adamw (mentor)
Diffstat (limited to 'multimedia/avidemux2')
-rw-r--r-- | multimedia/avidemux2/Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/multimedia/avidemux2/Makefile b/multimedia/avidemux2/Makefile index 821ffcc5060f..89a4015fb9ae 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: |