diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2004-02-28 19:40:31 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2004-02-28 19:40:31 +0000 |
commit | 14f5ccb8ee2ae015226e5aba007f49fe02dc4d1f (patch) | |
tree | f9d6295c9707808136b690d7497f3f16455b6958 /multimedia/ffmpeg-devel | |
parent | 692a8c38c8deb0fa410195dcf5b2f86ddcc2faeb (diff) | |
download | ports-14f5ccb8ee2ae015226e5aba007f49fe02dc4d1f.tar.gz ports-14f5ccb8ee2ae015226e5aba007f49fe02dc4d1f.zip |
Notes
Diffstat (limited to 'multimedia/ffmpeg-devel')
-rw-r--r-- | multimedia/ffmpeg-devel/Makefile | 21 | ||||
-rw-r--r-- | multimedia/ffmpeg-devel/pkg-plist | 2 |
2 files changed, 20 insertions, 3 deletions
diff --git a/multimedia/ffmpeg-devel/Makefile b/multimedia/ffmpeg-devel/Makefile index ac0388d52032..03da9d94fd9c 100644 --- a/multimedia/ffmpeg-devel/Makefile +++ b/multimedia/ffmpeg-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= ffmpeg PORTVERSION= 0.4.8 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= multimedia audio net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ffmpeg @@ -78,6 +78,9 @@ WITH_MP3=yes .if exists(${LOCALBASE}/lib/libvorbisenc.so.2) WITH_VORBIS=yes .endif +.if exists(${LOCALBASE}/lib/libfaad.so.0) +WITH_FAAD=yes +.endif ## support activation ## @@ -129,11 +132,13 @@ CONFIGURE_ARGS+= --enable-mp3lame .ifdef(WITH_OPTIMIZED_CFLAGS) CONFIGURE_ARGS+= --extra-cflags="-fPIC -DPIC -I${LOCALBASE}/include \ -I${X11BASE}/include \ - -ffast-math -fomit-frame-pointer" + -ffast-math -fomit-frame-pointer" \ + --extra-ldflags="-L${LOCALBASE}/lib -L${X11BASE}/lib -lm" .else CONFIGURE_ARGS+= --extra-cflags="-fPIC -DPIC -I${LOCALBASE}/include \ -I${X11BASE}/include" \ - --disable-opts + --disable-opts" + --extra-ldflags="-L${LOCALBASE}/lib -L${X11BASE}/lib -lm " .endif ## vhook @@ -150,6 +155,12 @@ LIB_DEPENDS+= vorbisenc.2:${PORTSDIR}/audio/libvorbis CONFIGURE_ARGS+= --enable-vorbis .endif +## faad +.ifdef(WITH_FAAD) +LIB_DEPENDS+= faad.0:${PORTSDIR}/audio/faad + +CONFIGURE_ARGS+= --enable-faad +.endif pre-everything:: .ifndef(WITH_FREETYPE2) @@ -185,6 +196,10 @@ pre-everything:: @${ECHO_MSG} 'Define WITH_VORBIS to enable libvorbisenc VORBIS codec' @${ECHO_MSG} .endif +.ifndef(WITH_FAAD) + @${ECHO_MSG} 'Define WITH_FAAD to enable libfaad codec' + @${ECHO_MSG} +.endif .if ${ARCH} == "i386" .if !(defined(WITH_BKTR_FORMAT) && defined(WITH_BKTR_DEV)) @${ECHO_MSG} diff --git a/multimedia/ffmpeg-devel/pkg-plist b/multimedia/ffmpeg-devel/pkg-plist index c4eabe8ebd3b..a24e68f4e971 100644 --- a/multimedia/ffmpeg-devel/pkg-plist +++ b/multimedia/ffmpeg-devel/pkg-plist @@ -14,6 +14,8 @@ lib/libavcodec.a lib/libavcodec.so lib/libavcodec.so.%%SHLIB_VERSION%% lib/libavformat.a +lib/libavformat.so +lib/libavformat.so.%%SHLIB_VERSION%% %%VHOOK%%%%DRAWTEXT%%lib/vhook/drawtext.so %%VHOOK%%lib/vhook/fish.so %%VHOOK%%%%IMLIB2%%lib/vhook/imlib2.so |