Date: Sat, 14 Sep 2013 21:44:14 +0000 (UTC) From: Marcus von Appen <mva@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327319 - in head/multimedia: . libav Message-ID: <201309142144.r8ELiEuk096984@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mva Date: Sat Sep 14 21:44:14 2013 New Revision: 327319 URL: http://svnweb.freebsd.org/changeset/ports/327319 Log: Libav provides cross-platform tools and libraries to convert, manipulate and stream a wide range of multimedia formats and protocols. It originates from the FFmpeg codebase, but goes its own way these days, providing its users with reliable releases and a clear vision how to go forward. WWW: http://www.libav.org Added: head/multimedia/libav/ head/multimedia/libav/Makefile (contents, props changed) head/multimedia/libav/distinfo (contents, props changed) head/multimedia/libav/pkg-descr (contents, props changed) head/multimedia/libav/pkg-plist (contents, props changed) Modified: head/multimedia/Makefile Modified: head/multimedia/Makefile ============================================================================== --- head/multimedia/Makefile Sat Sep 14 20:59:44 2013 (r327318) +++ head/multimedia/Makefile Sat Sep 14 21:44:14 2013 (r327319) @@ -159,6 +159,7 @@ SUBDIR += kplayer-kde4 SUBDIR += libaacs SUBDIR += libass + SUBDIR += libav SUBDIR += libbluray SUBDIR += libcec SUBDIR += libdc1394 Added: head/multimedia/libav/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/libav/Makefile Sat Sep 14 21:44:14 2013 (r327319) @@ -0,0 +1,201 @@ +# $FreeBSD$ + +PORTNAME= libav +PORTVERSION= 9.9 +CATEGORIES= multimedia audio ipv6 net +MASTER_SITES= http://libav.org/releases/ + +MAINTAINER= mva@FreeBSD.org +COMMENT= Realtime audio/video conversion library + +BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm \ + texi2html:${PORTSDIR}/textproc/texi2html + +USES= pkgconfig:build gmake +USE_LDCONFIG= yes +HAS_CONFIGURE= yes +WANT_SDL= yes + +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +CONFIGURE_ARGS+= --prefix="${PREFIX}" \ + --mandir="${PREFIX}/man" \ + --datadir="${DATADIR}" \ + --enable-pthreads \ + --enable-shared \ + --enable-runtime-cpudetect \ + --disable-avserver + +MAN1= avprobe.1 avconv.1 + +OPTIONS_DEFINE= ALSA AMR_NB AMR_WB BZIP2 CDIO FAAC FDK_AAC FREETYPE FREI0R \ + GNUTLS GSM ILBC JACK LAME OPENCV OPENJPEG OPENSSL OPUS \ + PULSEAUDIO RTMP SCHROEDINGER SPEEX THEORA V4L2 VAAPI VDPAU \ + VO_AACENC VO_AMRWBENC VORBIS VPX X264 XVID ZLIB + +OPTIONS_DEFAULT= BZIP2 FREETYPE FREI0R GNUTLS OPENCV SCHROEDINGER \ + THEORA VPX X264 XVID + +FDK_AAC_DESC= AAC audio encoding via Fraunhofer FDK +ILBC_DESC= iLBC en/decoding via libilbc +OPUS_DESC= Opus decoding with libopus + +ALSA_LIB_DEPENDS= asound:${PORTSDIR}/audio/alsa-lib +ALSA_CONFIGURE_ON= --enable-indev=alsa --enable-outdev=alsa +ALSA_CONFIGURE_OFF= --disable-indev=alsa --disable-outdev=alsa + +AMR_NB_LIB_DEPENDS= opencore-amrnb:${PORTSDIR}/audio/opencore-amr +AMR_NB_CONFIGURE_ENABLE= libopencore-amrnb + +AMR_WB_LIB_DEPENDS= opencore-amrnb:${PORTSDIR}/audio/opencore-amr +AMR_WB_CONFIGURE_ENABLE= libopencore-amrwb + +BZIP2_CONFIGURE_ENABLE= bzlib + +CDIO_LIB_DEPENDS= cdio:${PORTSDIR}/sysutils/libcdio +CDIO_CONFIGURE_ENABLE= libcdio + +# --enable-libdc1394 +# DC1394_LIB_DEPENDS= dc1394:${PORTSDIR}/multimedia/libdc1394 +# DC1394_CONFIGURE_ENABLE= libdc1394 + +FREI0R_BUILD_DEPENDS= ${LOCALBASE}/include/frei0r.h:${PORTSDIR}/graphics/frei0r +FREI0R_CONFIGURE_ENABLE= frei0r + +FAAC_LIB_DEPENDS= faac:${PORTSDIR}/audio/faac +FAAC_CONFIGURE_ENABLE= libfaac + +FDK_AAC_LIB_DEPENDS= fdk-aac:${PORTSDIR}/audio/fdk-aac +FDK_AAC_CONFIGURE_ENABLE= libfdk-aac + +FREETYPE_LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 +FREETYPE_CONFIGURE_ENABLE= libfreetype + +GNUTLS_LIB_DEPENDS= gnutls:${PORTSDIR}/security/gnutls +GNUTLS_CONFIGURE_ENABLE= gnutls + +GSM_LIB_DEPENDS= gsm:${PORTSDIR}/audio/gsm +GSM_CONFIGURE_ENABLE= libgsm + +ILBC_BUILD_DEPENDS= ${LOCALBASE}/include/ilbc.h:${PORTSDIR}/net/libilbc +ILBC_CONFIGURE_ENABLE= libilbc + +JACK_LIB_DEPENDS= jack:${PORTSDIR}/audio/jack +JACK_CONFIGURE_ENABLE= indev=jack + +LAME_LIB_DEPENDS= mp3lame:${PORTSDIR}/audio/lame +LAME_CONFIGURE_ENABLE= libmp3lame + +OPENCV_LIB_DEPENDS= opencv_imgproc:${PORTSDIR}/graphics/opencv-core \ + opencv_gpu:${PORTSDIR}/graphics/opencv +OPENCV_CONFIGURE_ENABLE= libopencv + +OPENJPEG_LIB_DEPENDS= openjpeg:${PORTSDIR}/graphics/openjpeg +OPENJPEG_CONFIGURE_ENABLE= libopenjpeg + +OPENSSL_CONFIGURE_ENABLE= openssl + +OPUS_LIB_DEPENDS= opus:${PORTSDIR}/audio/opus +OPUS_CONFIGURE_ENABLE= libopus + +PULSEAUDIO_LIB_DEPENDS= pulse:${PORTSDIR}/audio/pulseaudio +PULSEAUDIO_CONFIGURE_ENABLE= libpulse + +RTMP_LIB_DEPENDS= rtmp:${PORTSDIR}/multimedia/rtmpdump +RTMP_CONFIGURE_ENABLE= librtmp + +SCHROEDINGER_LIB_DEPENDS= schroedinger-1.0.11:${PORTSDIR}/multimedia/schroedinger +SCHROEDINGER_CONFIGURE_ENABLE= libschroedinger + +SPEEX_LIB_DEPENDS= speex:${PORTSDIR}/audio/speex +SPEEX_CONFIGURE_ENABLE= libspeex + +THEORA_LIB_DEPENDS= theora:${PORTSDIR}/multimedia/libtheora +THEORA_CONFIGURE_ENABLE= libtheora + +V4L2_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat +V4L2_CONFIGURE_ENABLE= indev=v4l2 + +VAAPI_LIB_DEPENDS= va:${PORTSDIR}/multimedia/libva +VAAPI_CONFIGURE_ENABLE= vaapi + +VDPAU_BUILD_DEPENDS= ${LOCALBASE}/include/vdpau/vdpau.h:${PORTSDIR}/multimedia/libvdpau +VDPAU_CONFIGURE_ENABLE= vdpau + +VO_AACENC_LIB_DEPENDS= vo-aacenc:${PORTSDIR}/audio/vo-aacenc +VO_AACENC_CONFIGURE_ENABLE= libvo-aacenc + +VO_AMRWBENC_LIB_DEPENDS= vo-amrwbenc:${PORTSDIR}/audio/vo-amrwbenc +VO_AMRWBENC_CONFIGURE_ENABLE= libvo-amrwbenc + +VORBIS_LIB_DEPENDS= vorbisenc:${PORTSDIR}/audio/libvorbis +VORBIS_CONFIGURE_ENABLE= libvorbis + +VPX_LIB_DEPENDS= vpx:${PORTSDIR}/multimedia/libvpx +VPX_CONFIGURE_ENABLE= libvpx + +X264_LIB_DEPENDS= x264:${PORTSDIR}/multimedia/x264 +X264_CONFIGURE_ENABLE= libx264 + +XVID_LIB_DEPENDS= xvidcore:${PORTSDIR}/multimedia/xvid +XVID_CONFIGURE_ENABLE= libxvid + +ZLIB_CONFIGURE_ENABLE= zlib + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MOPENSSL} +USE_OPENSSL= yes +.endif + +.include <bsd.port.pre.mk> + +.if ${HAVE_SDL:Msdl} +USE_SDL+= sdl +MAN1+= avplay.1 +CONFIGURE_ARGS+= --enable-avplay +PLIST_SUB+= AVPLAY="" +.else +CONFIGURE_ARGS+= --disable-avplay +PLIST_SUB+= AVPLAY="@comment " +.endif + +# License definitions + +.if ${PORT_OPTIONS:MFAAC} || ${PORT_OPTIONS:MFDK_AAC} || ${PORT_OPTIONS:MOPENSSL} +RESTRICTED= linking to libfaac or libaacplus or using OpenSSL support restricts redistribution +CONFIGURE_ARGS+= --enable-nonfree +AV_NONFREE= true +.endif + +.if ${PORT_OPTIONS:MCDIO} || ${PORT_OPTIONS:MX264} || ${PORT_OPTIONS:MXVID} || ${PORT_OPTIONS:MX11GRAB} +CONFIGURE_ARGS+= --enable-gpl +.if !defined(AV_NONFREE) +LICENSE= GPLv2 +AV_ISGPL= true +.endif +.endif + +.if ${PORT_OPTIONS:MAMR_NB} || ${PORT_OPTIONS:MAMR_WB} || ${PORT_OPTIONS:MVO_AACENC} || ${PORT_OPTIONS:MVO_AMRWBENC} +CONFIGURE_ARGS+= --enable-version3 +.if !defined(AV_NONFREE) +.if defined(AV_ISGPL) +LICENSE= GPLv3 +.else +LICENSE= LGPL3 +.endif +.endif +.endif + +.if !defined(AV_NONFREE) && !defined(AV_ISGPL) && !defined(LICENSE) +LICENSE= LGPL21 +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|gsm/gsm.h|gsm.h|' \ + ${WRKSRC}/configure \ + ${WRKSRC}/libavcodec/libgsm.c + ${REINPLACE_CMD} -e 's|$$(LIBDIR)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \ + ${WRKSRC}/library.mak + +.include <bsd.port.post.mk> Added: head/multimedia/libav/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/libav/distinfo Sat Sep 14 21:44:14 2013 (r327319) @@ -0,0 +1,2 @@ +SHA256 (libav-9.9.tar.gz) = 0d746fe9b88d5a884f2fdcced4558a4c60956846a20fecead3d9063b5f0c1949 +SIZE (libav-9.9.tar.gz) = 5787723 Added: head/multimedia/libav/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/libav/pkg-descr Sat Sep 14 21:44:14 2013 (r327319) @@ -0,0 +1,6 @@ +Libav provides cross-platform tools and libraries to convert, manipulate +and stream a wide range of multimedia formats and protocols. It originates +from the FFmpeg codebase, but goes its own way these days, providing its +users with reliable releases and a clear vision how to go forward. + +WWW: http://www.libav.org Added: head/multimedia/libav/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/libav/pkg-plist Sat Sep 14 21:44:14 2013 (r327319) @@ -0,0 +1,147 @@ +bin/avconv +%%AVPLAY%%bin/avplay +bin/avprobe +include/libavcodec/avcodec.h +include/libavcodec/avfft.h +include/libavcodec/dxva2.h +include/libavcodec/old_codec_ids.h +include/libavcodec/vaapi.h +include/libavcodec/vda.h +include/libavcodec/vdpau.h +include/libavcodec/version.h +include/libavcodec/xvmc.h +include/libavdevice/avdevice.h +include/libavdevice/version.h +include/libavfilter/avfilter.h +include/libavfilter/avfiltergraph.h +include/libavfilter/buffersink.h +include/libavfilter/buffersrc.h +include/libavfilter/version.h +include/libavformat/avformat.h +include/libavformat/avio.h +include/libavformat/version.h +include/libavresample/avresample.h +include/libavresample/version.h +include/libavutil/adler32.h +include/libavutil/aes.h +include/libavutil/attributes.h +include/libavutil/audio_fifo.h +include/libavutil/audioconvert.h +include/libavutil/avassert.h +include/libavutil/avconfig.h +include/libavutil/avstring.h +include/libavutil/avutil.h +include/libavutil/base64.h +include/libavutil/blowfish.h +include/libavutil/bswap.h +include/libavutil/channel_layout.h +include/libavutil/common.h +include/libavutil/cpu.h +include/libavutil/crc.h +include/libavutil/dict.h +include/libavutil/error.h +include/libavutil/eval.h +include/libavutil/fifo.h +include/libavutil/file.h +include/libavutil/imgutils.h +include/libavutil/intfloat.h +include/libavutil/intfloat_readwrite.h +include/libavutil/intreadwrite.h +include/libavutil/lfg.h +include/libavutil/log.h +include/libavutil/lzo.h +include/libavutil/mathematics.h +include/libavutil/md5.h +include/libavutil/mem.h +include/libavutil/old_pix_fmts.h +include/libavutil/opt.h +include/libavutil/parseutils.h +include/libavutil/pixdesc.h +include/libavutil/pixfmt.h +include/libavutil/random_seed.h +include/libavutil/rational.h +include/libavutil/samplefmt.h +include/libavutil/sha.h +include/libavutil/time.h +include/libavutil/version.h +include/libavutil/xtea.h +include/libswscale/swscale.h +include/libswscale/version.h +lib/libavcodec.a +lib/libavcodec.so +lib/libavcodec.so.54 +lib/libavcodec.so.54.35.0 +lib/libavdevice.a +lib/libavdevice.so +lib/libavdevice.so.53 +lib/libavdevice.so.53.2.0 +lib/libavfilter.a +lib/libavfilter.so +lib/libavfilter.so.3 +lib/libavfilter.so.3.3.0 +lib/libavformat.a +lib/libavformat.so +lib/libavformat.so.54 +lib/libavformat.so.54.20.3 +lib/libavresample.a +lib/libavresample.so +lib/libavresample.so.1 +lib/libavresample.so.1.0.1 +lib/libavutil.a +lib/libavutil.so +lib/libavutil.so.52 +lib/libavutil.so.52.3.0 +lib/libswscale.a +lib/libswscale.so +lib/libswscale.so.2 +lib/libswscale.so.2.1.1 +libdata/pkgconfig/libavcodec.pc +libdata/pkgconfig/libavdevice.pc +libdata/pkgconfig/libavfilter.pc +libdata/pkgconfig/libavformat.pc +libdata/pkgconfig/libavresample.pc +libdata/pkgconfig/libavutil.pc +libdata/pkgconfig/libswscale.pc +%%DATADIR%%/libvpx-1080p.avpreset +%%DATADIR%%/libvpx-1080p50_60.avpreset +%%DATADIR%%/libvpx-360p.avpreset +%%DATADIR%%/libvpx-720p.avpreset +%%DATADIR%%/libvpx-720p50_60.avpreset +%%DATADIR%%/libx264-baseline.avpreset +%%DATADIR%%/libx264-fast.avpreset +%%DATADIR%%/libx264-fast_firstpass.avpreset +%%DATADIR%%/libx264-faster.avpreset +%%DATADIR%%/libx264-faster_firstpass.avpreset +%%DATADIR%%/libx264-ipod320.avpreset +%%DATADIR%%/libx264-ipod640.avpreset +%%DATADIR%%/libx264-lossless_fast.avpreset +%%DATADIR%%/libx264-lossless_max.avpreset +%%DATADIR%%/libx264-lossless_medium.avpreset +%%DATADIR%%/libx264-lossless_slow.avpreset +%%DATADIR%%/libx264-lossless_slower.avpreset +%%DATADIR%%/libx264-lossless_ultrafast.avpreset +%%DATADIR%%/libx264-main.avpreset +%%DATADIR%%/libx264-medium.avpreset +%%DATADIR%%/libx264-medium_firstpass.avpreset +%%DATADIR%%/libx264-placebo.avpreset +%%DATADIR%%/libx264-placebo_firstpass.avpreset +%%DATADIR%%/libx264-slow.avpreset +%%DATADIR%%/libx264-slow_firstpass.avpreset +%%DATADIR%%/libx264-slower.avpreset +%%DATADIR%%/libx264-slower_firstpass.avpreset +%%DATADIR%%/libx264-superfast.avpreset +%%DATADIR%%/libx264-superfast_firstpass.avpreset +%%DATADIR%%/libx264-ultrafast.avpreset +%%DATADIR%%/libx264-ultrafast_firstpass.avpreset +%%DATADIR%%/libx264-veryfast.avpreset +%%DATADIR%%/libx264-veryfast_firstpass.avpreset +%%DATADIR%%/libx264-veryslow.avpreset +%%DATADIR%%/libx264-veryslow_firstpass.avpreset +@dirrm %%DATADIR%% +@dirrm include/libswscale +@dirrm include/libavutil +@dirrm include/libavresample +@dirrm include/libavformat +@dirrm include/libavfilter +@dirrm include/libavdevice +@dirrm include/libavcodec
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309142144.r8ELiEuk096984>