1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
5 KEYWORDS= multimedia audio net
7 SDESC[standard]= Play, record, convert, and stream audio and video
8 HOMEPAGE= https://www.ffmpeg.org/
12 SITES[main]= http://ffmpeg.org/releases/
13 DISTFILE[1]= ffmpeg-4.0.1.tar.xz:main
15 SPKGS[standard]= complete
20 OPTIONS_AVAILABLE= none
21 OPTIONS_STANDARD= none
23 BUILD_DEPENDS= nasm:primary:standard
24 video4linux:headers:standard
26 BUILDRUN_DEPENDS= gmp:shared:standard
27 libass:single:standard
28 fontconfig:primary:standard
29 freetype:primary:standard
30 frei0r:single:standard
31 fribidi:single:standard
32 libgcrypt:single:standard
33 gnutls:single:standard
34 video4linux:primary:standard
35 rtmpdump:library:standard
36 libtheora:single:standard
38 libvdpau:single:standard
39 libvorbis:primary:standard
40 libvpx:single:standard
41 libdrm:single:standard
42 librsvg:primary:standard
43 wavpack:single:standard
49 USES= cpe gmake iconv perl:build pkgconfig shebangfix
50 GNOME_COMPONENTS= libxml2
53 LICENSE= LGPL3+:primary GPLv3+:primary
54 LICENSE_TERMS= primary:{{WRKSRC}}/LICENSE.md
55 LICENSE_FILE= LGPL3+:{{WRKSRC}}/COPYING.LGPLv3
56 GPLv3+:{{WRKSRC}}/COPYING.GPLv3
59 FPC_EQUIVALENT= multimedia/ffmpeg
60 SHEBANG_FILES= doc/texi2pod.pl
63 CONFIGURE_ARGS= --cc="{{CC}}"
65 --mandir="{{MANPREFIX}}/man"
66 --datadir="{{PREFIX}}/share/ffmpeg"
67 --pkgconfigdir="{{PREFIX}}/lib/pkgconfig"
77 --disable-libopencore-amrnb
78 --disable-libopencore-amrwb
100 --disable-libopenh264
101 --disable-libopenjpeg
105 --disable-librubberband
106 --disable-libsmbclient
112 --disable-libtesseract
114 --disable-libvo-amrwbenc
132 --enable-optimizations
133 --enable-runtime-cpudetect
150 INSTALL_TARGET= install-progs install-doc install-data install-libs
151 install-headers install-examples
152 PLIST_SUB= AVCODEC_SO=58.18.100
158 AVFORMAT_SO=58.12.100
166 SWRESAMPLE_SO=3.1.100
170 RC_SUBR= ffserver:primary
173 @${MKDIR} ${STAGEDIR}${STD_DOCDIR}
174 .for DF in CREDITS LICENSE.md MAINTAINERS README.md RELEASE_NOTES
175 ${INSTALL_DATA} ${WRKSRC}/${DF} ${STAGEDIR}${STD_DOCDIR}
177 ${INSTALL_DATA} ${WRKSRC}/doc/APIchanges ${STAGEDIR}${STD_DOCDIR}
178 ${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${STAGEDIR}${STD_DOCDIR}
180 [FILE:843:descriptions/desc.primary]
181 FFmpeg is the leading multimedia framework, able to decode, encode,
182 transcode, mux, demux, stream, filter and play pretty much anything that
183 humans and machines have created. It supports the most obscure ancient
184 formats up to the cutting edge. No matter if they were designed by some
185 standards committee, the community or a corporation. It is also highly
186 portable: FFmpeg compiles, runs, and passes our testing infrastructure
187 FATE across Linux, Mac OS X, Microsoft Windows, the BSDs, Solaris, etc.
188 under a wide variety of build environments, machine architectures, and
191 It contains libavcodec, libavutil, libavformat, libavfilter, libavdevice,
192 libswscale and libswresample which can be used by applications. As well
193 as ffmpeg, ffserver, ffplay and ffprobe which can be used by end users
194 for transcoding, streaming and playing.
198 605f5c01c60db35d3b617a79cabb2c7032412be243554602eeed1b628125c0ee 8663660 ffmpeg-4.0.1.tar.xz
201 [FILE:3280:manifests/plist.primary]
237 include/libavresample/
279 hwcontext_mediacodec.h
283 hwcontext_videotoolbox.h
291 mastering_display_metadata.h
324 include/libswresample/
333 libavcodec.so.%%AVCODEC_MAJOR%%
334 libavcodec.so.%%AVCODEC_SO%%
337 libavdevice.so.%%AVDEVICE_MAJOR%%
338 libavdevice.so.%%AVDEVICE_SO%%
341 libavfilter.so.%%AVFILTER_MAJOR%%
342 libavfilter.so.%%AVFILTER_SO%%
345 libavformat.so.%%AVFORMAT_MAJOR%%
346 libavformat.so.%%AVFORMAT_SO%%
349 libavresample.so.%%AVRESAMPLE_MAJOR%%
350 libavresample.so.%%AVRESAMPLE_SO%%
353 libavutil.so.%%AVUTIL_MAJOR%%
354 libavutil.so.%%AVUTIL_SO%%
357 libpostproc.so.%%POSTPROC_MAJOR%%
358 libpostproc.so.%%POSTPROC_SO%%
361 libswresample.so.%%SWRESAMPLE_MAJOR%%
362 libswresample.so.%%SWRESAMPLE_SO%%
365 libswscale.so.%%SCALE_MAJOR%%
366 libswscale.so.%%SCALE_SO%%
379 libvpx-1080p.ffpreset
380 libvpx-1080p50_60.ffpreset
383 libvpx-720p50_60.ffpreset
384 share/ffmpeg/examples/
389 ffmpeg-bitstream-filters.1.gz
394 ffmpeg-protocols.1.gz
395 ffmpeg-resampler.1.gz
413 [FILE:373:manifests/plist.examples]
414 share/ffmpeg/examples/
440 [FILE:707:patches/patch-configure]
441 --- configure.orig 2018-04-20 10:02:55 UTC
443 @@ -492,7 +492,7 @@ log(){
447 - pr -n -t $1 >> $logfile
452 @@ -3516,12 +3516,7 @@ target_os_default=$(tolower $(uname -s))
453 host_os=$target_os_default
456 -if test "$target_os_default" = aix; then
457 - arch_default=$(uname -p)
458 - strip_default="strip -X32_64"
460 - arch_default=$(uname -m)
462 +arch_default=$(uname -p)
466 @@ -3701,7 +3696,7 @@ die_unknown(){
469 cols=$(expr $ncols / 24)
470 - cat | tr ' ' '\n' | sort | pr -r "-$cols" -w $ncols -t
471 + cat | tr ' ' '\n' | sort
477 [FILE:287:patches/patch-doc_Makefile]
478 --- doc/Makefile.orig 2018-04-20 10:02:55 UTC
480 @@ -119,7 +119,7 @@ install-html: $(HTMLPAGES)
483 ifdef CONFIG_MANPAGES
484 -install-progs-$(CONFIG_DOC): install-man
485 +#install-progs-$(CONFIG_DOC): install-man
487 install-man: $(MANPAGES)
488 $(Q)mkdir -p "$(MANDIR)/man1"
491 [FILE:199:patches/patch-ffbuild_libversion.sh]
492 --- ffbuild/libversion.sh.orig 2018-04-20 10:02:55 UTC
493 +++ ffbuild/libversion.sh
498 echo "$@" | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ
502 [FILE:1842:patches/patch-libavformat_rtsp.c]
503 --- libavformat/rtsp.c.orig 2018-04-20 10:02:58 UTC
504 +++ libavformat/rtsp.c
505 @@ -1618,7 +1618,12 @@ int ff_rtsp_make_setup_request(AVFormatC
508 snprintf(optbuf, sizeof(optbuf), "?ttl=%d", ttl);
509 - getnameinfo((struct sockaddr*) &addr, sizeof(addr),
510 + getnameinfo((struct sockaddr*) &addr,
511 +#if HAVE_STRUCT_SOCKADDR_SA_LEN
512 + ((struct sockaddr*) &addr)->sa_len,
516 namebuf, sizeof(namebuf), NULL, 0, NI_NUMERICHOST);
517 ff_url_join(url, sizeof(url), "rtp", NULL, namebuf,
519 @@ -1834,8 +1839,13 @@ redirect:
522 if (!getpeername(tcp_fd, (struct sockaddr*) &peer, &peer_len)) {
523 - getnameinfo((struct sockaddr*) &peer, peer_len, host, sizeof(host),
524 - NULL, 0, NI_NUMERICHOST);
525 + getnameinfo((struct sockaddr*) &peer,
526 +#if HAVE_STRUCT_SOCKADDR_SA_LEN
527 + ((struct sockaddr*) &peer)->sa_len,
531 + host, sizeof(host), NULL, 0, NI_NUMERICHOST);
534 /* request options supported by the server; this also detects server
535 @@ -2348,7 +2358,11 @@ static int sdp_read_header(AVFormatConte
536 AVDictionary *opts = map_to_opts(rt);
538 err = getnameinfo((struct sockaddr*) &rtsp_st->sdp_ip,
539 +#if HAVE_STRUCT_SOCKADDR_SA_LEN
540 + ((struct sockaddr*) &rtsp_st->sdp_ip)->sa_len,
542 sizeof(rtsp_st->sdp_ip),
544 namebuf, sizeof(namebuf), NULL, 0, NI_NUMERICHOST);
546 av_log(s, AV_LOG_ERROR, "getnameinfo: %s\n", gai_strerror(err));
549 [FILE:331:patches/patch-libavutil_common.h]
550 --- libavutil/common.h.orig 2018-04-20 10:02:58 UTC
551 +++ libavutil/common.h
553 # define AV_NE(be, le) (le)
557 +#define UINT64_C(c) (c ## UL)
560 //rounded division & shift
561 #define RSHIFT(a,b) ((a) > 0 ? ((a) + ((1<<(b))>>1))>>(b) : ((a) + ((1<<(b))>>1)-1)>>(b))
565 [FILE:398:files/ffserver.in]
569 # REQUIRE: NETWORKING
573 # Add the following lines to /etc/rc.conf to enable ffserver:
575 #ffserver_enable="YES"
577 ffserver_enable="${ffserver_enable-NO}"
582 rcvar=ffserver_enable
584 command="%%PREFIX%%/bin/${name}"
586 required_files=%%PREFIX%%/etc/ffserver.conf
588 load_rc_config ${name}