On Wed, Jun 09, 2010 at 06:35:03PM +0200, David Coppa wrote:
> On Mon, 07 Jun 2010, David Coppa wrote:
> 
> > $ cat pkg/DESCR
> > opencore-amr contains an implementation of the 3GPP TS 26.073 
> > specification for the Adaptive Multi Rate (AMR) speech codec and 
> > an implementation for the 3GPP TS 26.173 specification for the 
> > Adaptive Multi-Rate - Wideband (AMR-WB) speech decoder. The 
> > implementation is derived from the OpenCORE framework, part of the 
> > Google Android project.
> 
> These are the patches for graphics/ffmpeg and x11/mplayer
> 
> Index: graphics/ffmpeg/Makefile
> ===================================================================
> RCS file: /cvs/ports/graphics/ffmpeg/Makefile,v
> retrieving revision 1.52
> diff -u -p -r1.52 Makefile
> --- graphics/ffmpeg/Makefile  26 May 2010 21:38:52 -0000      1.52
> +++ graphics/ffmpeg/Makefile  9 Jun 2010 16:13:40 -0000
> @@ -4,7 +4,7 @@ COMMENT=      audio/video converter and strea
>  
>  V=           20100512
>  DISTNAME=    ffmpeg-svn-${V}
> -PKGNAME=     ffmpeg-${V}
> +PKGNAME=     ffmpeg-${V}p0
>  CATEGORIES=  graphics multimedia
>  MASTER_SITES=        http://comstyle.com/source/
>  
> @@ -37,12 +37,13 @@ LIB_DEPENDS=      SDL.>=4::devel/sdl \
>               speex::audio/speex \
>               gsm::audio/gsm \
>               x264.>=4::multimedia/x264 \
> +             opencore-amrnb,opencore-amrwb::audio/opencore-amr \
>               theora,theoradec,theoraenc::multimedia/libtheora \
>               schroedinger-1.0::multimedia/schroedinger \
>               bz2.>=10::archivers/bzip2
>  
>  # inter-library dependencies for the current configuration
> -LIBavcodec_EXTRALIBS=-L${LOCALBASE}/lib -lfaac -lfaad -lgsm -lm -lmp3lame 
> -logg -loil-0.3 -lschroedinger-1.0 -lspeex -ltheora -lvorbis -lvorbisenc 
> -lx264 -lz -pthread -Wl,-rpath,${LOCALBASE}/lib 
> +LIBavcodec_EXTRALIBS=-L${LOCALBASE}/lib -lfaac -lfaad -lgsm -lm -lmp3lame 
> -logg -loil-0.3 -lopencore-amrnb -lopencore-amrwb -lschroedinger-1.0 -lspeex 
> -ltheora -lvorbis -lvorbisenc -lx264 -lz -pthread -Wl,-rpath,${LOCALBASE}/lib 
>  LIBavdevice_EXTRALIBS=-L${X11BASE}/lib -lX11 -lXext -lXfixes -lm -lsndio 
> -Wl,-rpath,${LOCALBASE}/lib -Wl,-rpath,${X11BASE}/lib
>  LIBavfilter_EXTRALIBS=-lm
>  LIBavformat_EXTRALIBS=-L${LOCALBASE}/lib -lbz2 -lm 
> -Wl,-rpath,${LOCALBASE}/lib
> @@ -71,10 +72,13 @@ CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
>               --disable-optimizations \
>               --disable-outdev=oss \
>               --enable-gpl \
> +             --enable-version3 \

please update the license marker as well if you're going to do this.

>               --enable-libfaac \
>               --enable-libfaad \
>               --enable-libgsm \
>               --enable-libmp3lame \
> +             --enable-libopencore-amrnb \
> +             --enable-libopencore-amrwb \
>               --enable-libschroedinger \
>               --enable-libspeex \
>               --enable-libtheora \
> Index: x11/mplayer/Makefile
> ===================================================================
> RCS file: /cvs/ports/x11/mplayer/Makefile,v
> retrieving revision 1.165
> diff -u -p -r1.165 Makefile
> --- x11/mplayer/Makefile      26 May 2010 21:29:56 -0000      1.165
> +++ x11/mplayer/Makefile      9 Jun 2010 16:14:50 -0000
> @@ -12,7 +12,7 @@ SUBST_VARS+=                PREFIX CONFDIR
>  
>  N=                   mplayer
>  DISTNAME=            mplayer-export-snapshot-${V}
> -PKGNAME=             ${N}-${V}
> +PKGNAME=             ${N}-${V}p0
>  CATEGORIES=          x11 multimedia
>  EXTRACT_SUFX=                .tar.bz2
>  
> @@ -64,7 +64,8 @@ LIB_DEPENDS=        png::graphics/png \
>               faac::audio/faad \
>               faad::audio/faac \
>               a52::audio/liba52 \
> -             x264.>=3::multimedia/x264
> +             x264.>=3::multimedia/x264 \
> +             opencore-amrnb,opencore-amrwb::audio/opencore-amr
>  
>  BUILD_DEPENDS=       ::net/livemedia \
>               :rtunes->=0.8:audio/rtunes \



-- 
[email protected]
SDF Public Access UNIX System - http://sdf.lonestar.org

Reply via email to