ffmpeg3: update to 3.4 version 3.4: - deflicker video filter - doubleweave video filter - lumakey video filter - pixscope video filter - oscilloscope video filter - config.log and other configuration files moved into ffbuild/ directory - update cuvid/nvenc headers to Video Codec SDK 8.0.14 - afir audio filter - scale_cuda CUDA based video scale filter - librsvg support for svg rasterization - crossfeed audio filter - spec compliant VP9 muxing support in MP4 - remove the libnut muxer/demuxer wrappers - remove the libschroedinger encoder/decoder wrappers - surround audio filter - sofalizer filter switched to libmysofa - Gremlin Digital Video demuxer and decoder - headphone audio filter - superequalizer audio filter - roberts video filter - The x86 assembler default switched from yasm to nasm, pass --x86asmexe=yasm to configure to restore the old behavior. - additional frame format support for Interplay MVE movies - support for decoding through D3D11VA in ffmpeg - limiter video filter - libvmaf video filter - Dolby E decoder and SMPTE 337M demuxer - unpremultiply video filter - tlut2 video filter - floodfill video filter - pseudocolor video filter - raw G.726 muxer and demuxer, left- and right-justified - NewTek NDI input/output device - Some video filters with several inputs now use a common set of options: blend, libvmaf, lut3d, overlay, psnr, ssim. They must always be used by name. - FITS demuxer and decoder - FITS muxer and encoder - add --disable-autodetect build switch - drop deprecated qtkit input device (use avfoundation instead) - despill video filter - haas audio filter - SUP/PGS subtitle muxer - convolve video filter - VP9 tile threading support - KMS screen grabber - CUDA thumbnail filter - V4L2 mem2mem HW assisted codecs - Rockchip MPP hardware decoding - vmafmotion video filter - use MIME type "G726" for little-endian G.726, "AAL2-G726" for big-endian G.726diff -r1.21 -r1.22 pkgsrc/multimedia/ffmpeg3/Makefile.common
(adam)
@@ -1,18 +1,18 @@ | @@ -1,18 +1,18 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.21 2017/09/12 06:39:31 adam Exp $ | 1 | # $NetBSD: Makefile.common,v 1.22 2017/10/18 20:25:41 adam Exp $ | |
2 | # used by multimedia/ffmpeg3/Makefile | 2 | # used by multimedia/ffmpeg3/Makefile | |
3 | # used by multimedia/ffplay3/Makefile | 3 | # used by multimedia/ffplay3/Makefile | |
4 | 4 | |||
5 | DISTNAME= ffmpeg-3.3.4 | 5 | DISTNAME= ffmpeg-3.4 | |
6 | CATEGORIES= multimedia | 6 | CATEGORIES= multimedia | |
7 | MASTER_SITES= http://www.ffmpeg.org/releases/ | 7 | MASTER_SITES= http://www.ffmpeg.org/releases/ | |
8 | EXTRACT_SUFX= .tar.bz2 | 8 | EXTRACT_SUFX= .tar.bz2 | |
9 | 9 | |||
10 | LICENSE= gnu-lgpl-v2.1 AND gnu-gpl-v2 | 10 | LICENSE= gnu-lgpl-v2.1 AND gnu-gpl-v2 | |
11 | 11 | |||
12 | PATCHDIR= ${.CURDIR}/../../multimedia/ffmpeg3/patches | 12 | PATCHDIR= ${.CURDIR}/../../multimedia/ffmpeg3/patches | |
13 | 13 | |||
14 | USE_LANGUAGES= c99 | 14 | USE_LANGUAGES= c99 | |
15 | USE_LIBTOOL= yes | 15 | USE_LIBTOOL= yes | |
16 | USE_TOOLS+= gmake pod2man perl | 16 | USE_TOOLS+= gmake pod2man perl | |
17 | HAS_CONFIGURE= yes | 17 | HAS_CONFIGURE= yes | |
18 | CONFIGURE_ARGS+= --cc=${CC:Q} | 18 | CONFIGURE_ARGS+= --cc=${CC:Q} | |
@@ -58,27 +58,27 @@ CONFIGURE_ENV+= TMPDIR=${WRKSRC}/tmp | @@ -58,27 +58,27 @@ CONFIGURE_ENV+= TMPDIR=${WRKSRC}/tmp | |||
58 | .include "../../mk/compiler.mk" | 58 | .include "../../mk/compiler.mk" | |
59 | 59 | |||
60 | .if ${OPSYS} == "SunOS" && empty(CC_VERSION:Mgcc*) | 60 | .if ${OPSYS} == "SunOS" && empty(CC_VERSION:Mgcc*) | |
61 | SUBST_CLASSES+= sunwspro | 61 | SUBST_CLASSES+= sunwspro | |
62 | SUBST_MESSAGE.sunwspro= Fixing compiler options for SunStudio C compiler. | 62 | SUBST_MESSAGE.sunwspro= Fixing compiler options for SunStudio C compiler. | |
63 | SUBST_STAGE.sunwspro= post-configure | 63 | SUBST_STAGE.sunwspro= post-configure | |
64 | SUBST_FILES.sunwspro= config.mak | 64 | SUBST_FILES.sunwspro= config.mak | |
65 | SUBST_SED.sunwspro= -e "s/-O /-KPIC -DPIC /" | 65 | SUBST_SED.sunwspro= -e "s/-O /-KPIC -DPIC /" | |
66 | SUBST_SED.sunwspro+= -e "s/-O3/-xO2/g" | 66 | SUBST_SED.sunwspro+= -e "s/-O3/-xO2/g" | |
67 | SUBST_SED.sunwspro+= -e "s/-std=c99/-xc99=all/" | 67 | SUBST_SED.sunwspro+= -e "s/-std=c99/-xc99=all/" | |
68 | SUBST_SED.sunwspro+= -e "s/-Wl,-rpath-link,/-L /g" | 68 | SUBST_SED.sunwspro+= -e "s/-Wl,-rpath-link,/-L /g" | |
69 | .endif | 69 | .endif | |
70 | 70 | |||
71 | BUILD_DEPENDS+= yasm>=0.7.2:../../devel/yasm | 71 | BUILD_DEPENDS+= nasm>=2.13:../../devel/nasm | |
72 | 72 | |||
73 | REPLACE_PERL+= doc/texi2pod.pl | 73 | REPLACE_PERL+= doc/texi2pod.pl | |
74 | REPLACE_SH+= configure version.sh | 74 | REPLACE_SH+= configure version.sh | |
75 | 75 | |||
76 | SUBST_CLASSES+= conf | 76 | SUBST_CLASSES+= conf | |
77 | SUBST_STAGE.conf= post-patch | 77 | SUBST_STAGE.conf= post-patch | |
78 | SUBST_FILES.conf= ffserver.c | 78 | SUBST_FILES.conf= ffserver.c | |
79 | SUBST_SED.conf= -e 's,/etc/ffserver.conf,${PKG_SYSCONFDIR}/ffserver.conf,g' | 79 | SUBST_SED.conf= -e 's,/etc/ffserver.conf,${PKG_SYSCONFDIR}/ffserver.conf,g' | |
80 | SUBST_MESSAGE.conf= Fixing configuration path. | 80 | SUBST_MESSAGE.conf= Fixing configuration path. | |
81 | 81 | |||
82 | PLIST_SRC+= ${PKGDIR}/PLIST | 82 | PLIST_SRC+= ${PKGDIR}/PLIST | |
83 | 83 | |||
84 | MAKE_ENV+= EXTRA_LIBS=${LIBGETOPT:Q} | 84 | MAKE_ENV+= EXTRA_LIBS=${LIBGETOPT:Q} |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.10 2017/07/22 12:29:00 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.11 2017/10/18 20:25:41 adam Exp $ | |
2 | bin/ffmpeg3 | 2 | bin/ffmpeg3 | |
3 | bin/ffprobe3 | 3 | bin/ffprobe3 | |
4 | bin/ffserver3 | 4 | bin/ffserver3 | |
5 | include/ffmpeg3/libavcodec/avcodec.h | 5 | include/ffmpeg3/libavcodec/avcodec.h | |
6 | include/ffmpeg3/libavcodec/avdct.h | 6 | include/ffmpeg3/libavcodec/avdct.h | |
7 | include/ffmpeg3/libavcodec/avfft.h | 7 | include/ffmpeg3/libavcodec/avfft.h | |
8 | include/ffmpeg3/libavcodec/d3d11va.h | 8 | include/ffmpeg3/libavcodec/d3d11va.h | |
9 | include/ffmpeg3/libavcodec/dirac.h | 9 | include/ffmpeg3/libavcodec/dirac.h | |
10 | include/ffmpeg3/libavcodec/dv_profile.h | 10 | include/ffmpeg3/libavcodec/dv_profile.h | |
11 | include/ffmpeg3/libavcodec/dxva2.h | 11 | include/ffmpeg3/libavcodec/dxva2.h | |
12 | include/ffmpeg3/libavcodec/jni.h | 12 | include/ffmpeg3/libavcodec/jni.h | |
13 | include/ffmpeg3/libavcodec/mediacodec.h | 13 | include/ffmpeg3/libavcodec/mediacodec.h | |
14 | include/ffmpeg3/libavcodec/qsv.h | 14 | include/ffmpeg3/libavcodec/qsv.h | |
@@ -55,30 +55,33 @@ include/ffmpeg3/libavutil/des.h | @@ -55,30 +55,33 @@ include/ffmpeg3/libavutil/des.h | |||
55 | include/ffmpeg3/libavutil/dict.h | 55 | include/ffmpeg3/libavutil/dict.h | |
56 | include/ffmpeg3/libavutil/display.h | 56 | include/ffmpeg3/libavutil/display.h | |
57 | include/ffmpeg3/libavutil/downmix_info.h | 57 | include/ffmpeg3/libavutil/downmix_info.h | |
58 | include/ffmpeg3/libavutil/error.h | 58 | include/ffmpeg3/libavutil/error.h | |
59 | include/ffmpeg3/libavutil/eval.h | 59 | include/ffmpeg3/libavutil/eval.h | |
60 | include/ffmpeg3/libavutil/ffversion.h | 60 | include/ffmpeg3/libavutil/ffversion.h | |
61 | include/ffmpeg3/libavutil/fifo.h | 61 | include/ffmpeg3/libavutil/fifo.h | |
62 | include/ffmpeg3/libavutil/file.h | 62 | include/ffmpeg3/libavutil/file.h | |
63 | include/ffmpeg3/libavutil/frame.h | 63 | include/ffmpeg3/libavutil/frame.h | |
64 | include/ffmpeg3/libavutil/hash.h | 64 | include/ffmpeg3/libavutil/hash.h | |
65 | include/ffmpeg3/libavutil/hmac.h | 65 | include/ffmpeg3/libavutil/hmac.h | |
66 | include/ffmpeg3/libavutil/hwcontext.h | 66 | include/ffmpeg3/libavutil/hwcontext.h | |
67 | include/ffmpeg3/libavutil/hwcontext_cuda.h | 67 | include/ffmpeg3/libavutil/hwcontext_cuda.h | |
68 | include/ffmpeg3/libavutil/hwcontext_d3d11va.h | |||
69 | include/ffmpeg3/libavutil/hwcontext_drm.h | |||
68 | include/ffmpeg3/libavutil/hwcontext_dxva2.h | 70 | include/ffmpeg3/libavutil/hwcontext_dxva2.h | |
69 | include/ffmpeg3/libavutil/hwcontext_qsv.h | 71 | include/ffmpeg3/libavutil/hwcontext_qsv.h | |
70 | include/ffmpeg3/libavutil/hwcontext_vaapi.h | 72 | include/ffmpeg3/libavutil/hwcontext_vaapi.h | |
71 | include/ffmpeg3/libavutil/hwcontext_vdpau.h | 73 | include/ffmpeg3/libavutil/hwcontext_vdpau.h | |
74 | include/ffmpeg3/libavutil/hwcontext_videotoolbox.h | |||
72 | include/ffmpeg3/libavutil/imgutils.h | 75 | include/ffmpeg3/libavutil/imgutils.h | |
73 | include/ffmpeg3/libavutil/intfloat.h | 76 | include/ffmpeg3/libavutil/intfloat.h | |
74 | include/ffmpeg3/libavutil/intreadwrite.h | 77 | include/ffmpeg3/libavutil/intreadwrite.h | |
75 | include/ffmpeg3/libavutil/lfg.h | 78 | include/ffmpeg3/libavutil/lfg.h | |
76 | include/ffmpeg3/libavutil/log.h | 79 | include/ffmpeg3/libavutil/log.h | |
77 | include/ffmpeg3/libavutil/lzo.h | 80 | include/ffmpeg3/libavutil/lzo.h | |
78 | include/ffmpeg3/libavutil/macros.h | 81 | include/ffmpeg3/libavutil/macros.h | |
79 | include/ffmpeg3/libavutil/mastering_display_metadata.h | 82 | include/ffmpeg3/libavutil/mastering_display_metadata.h | |
80 | include/ffmpeg3/libavutil/mathematics.h | 83 | include/ffmpeg3/libavutil/mathematics.h | |
81 | include/ffmpeg3/libavutil/md5.h | 84 | include/ffmpeg3/libavutil/md5.h | |
82 | include/ffmpeg3/libavutil/mem.h | 85 | include/ffmpeg3/libavutil/mem.h | |
83 | include/ffmpeg3/libavutil/motion_vector.h | 86 | include/ffmpeg3/libavutil/motion_vector.h | |
84 | include/ffmpeg3/libavutil/murmur3.h | 87 | include/ffmpeg3/libavutil/murmur3.h | |
@@ -106,59 +109,59 @@ include/ffmpeg3/libavutil/timestamp.h | @@ -106,59 +109,59 @@ include/ffmpeg3/libavutil/timestamp.h | |||
106 | include/ffmpeg3/libavutil/tree.h | 109 | include/ffmpeg3/libavutil/tree.h | |
107 | include/ffmpeg3/libavutil/twofish.h | 110 | include/ffmpeg3/libavutil/twofish.h | |
108 | include/ffmpeg3/libavutil/version.h | 111 | include/ffmpeg3/libavutil/version.h | |
109 | include/ffmpeg3/libavutil/xtea.h | 112 | include/ffmpeg3/libavutil/xtea.h | |
110 | include/ffmpeg3/libpostproc/postprocess.h | 113 | include/ffmpeg3/libpostproc/postprocess.h | |
111 | include/ffmpeg3/libpostproc/version.h | 114 | include/ffmpeg3/libpostproc/version.h | |
112 | include/ffmpeg3/libswresample/swresample.h | 115 | include/ffmpeg3/libswresample/swresample.h | |
113 | include/ffmpeg3/libswresample/version.h | 116 | include/ffmpeg3/libswresample/version.h | |
114 | include/ffmpeg3/libswscale/swscale.h | 117 | include/ffmpeg3/libswscale/swscale.h | |
115 | include/ffmpeg3/libswscale/version.h | 118 | include/ffmpeg3/libswscale/version.h | |
116 | lib/ffmpeg3/libavcodec.a | 119 | lib/ffmpeg3/libavcodec.a | |
117 | lib/ffmpeg3/libavcodec.so | 120 | lib/ffmpeg3/libavcodec.so | |
118 | lib/ffmpeg3/libavcodec.so.57 | 121 | lib/ffmpeg3/libavcodec.so.57 | |
119 | lib/ffmpeg3/libavcodec.so.57.89.100 | 122 | lib/ffmpeg3/libavcodec.so.57.107.100 | |
120 | lib/ffmpeg3/libavdevice.a | 123 | lib/ffmpeg3/libavdevice.a | |
121 | lib/ffmpeg3/libavdevice.so | 124 | lib/ffmpeg3/libavdevice.so | |
122 | lib/ffmpeg3/libavdevice.so.57 | 125 | lib/ffmpeg3/libavdevice.so.57 | |
123 | lib/ffmpeg3/libavdevice.so.57.6.100 | 126 | lib/ffmpeg3/libavdevice.so.57.10.100 | |
124 | lib/ffmpeg3/libavfilter.a | 127 | lib/ffmpeg3/libavfilter.a | |
125 | lib/ffmpeg3/libavfilter.so | 128 | lib/ffmpeg3/libavfilter.so | |
126 | lib/ffmpeg3/libavfilter.so.6 | 129 | lib/ffmpeg3/libavfilter.so.6 | |
127 | lib/ffmpeg3/libavfilter.so.6.82.100 | 130 | lib/ffmpeg3/libavfilter.so.6.107.100 | |
128 | lib/ffmpeg3/libavformat.a | 131 | lib/ffmpeg3/libavformat.a | |
129 | lib/ffmpeg3/libavformat.so | 132 | lib/ffmpeg3/libavformat.so | |
130 | lib/ffmpeg3/libavformat.so.57 | 133 | lib/ffmpeg3/libavformat.so.57 | |
131 | lib/ffmpeg3/libavformat.so.57.71.100 | 134 | lib/ffmpeg3/libavformat.so.57.83.100 | |
132 | lib/ffmpeg3/libavresample.a | 135 | lib/ffmpeg3/libavresample.a | |
133 | lib/ffmpeg3/libavresample.so | 136 | lib/ffmpeg3/libavresample.so | |
134 | lib/ffmpeg3/libavresample.so.3 | 137 | lib/ffmpeg3/libavresample.so.3 | |
135 | lib/ffmpeg3/libavresample.so.3.5.0 | 138 | lib/ffmpeg3/libavresample.so.3.7.0 | |
136 | lib/ffmpeg3/libavutil.a | 139 | lib/ffmpeg3/libavutil.a | |
137 | lib/ffmpeg3/libavutil.so | 140 | lib/ffmpeg3/libavutil.so | |
138 | lib/ffmpeg3/libavutil.so.55 | 141 | lib/ffmpeg3/libavutil.so.55 | |
139 | lib/ffmpeg3/libavutil.so.55.58.100 | 142 | lib/ffmpeg3/libavutil.so.55.78.100 | |
140 | lib/ffmpeg3/libpostproc.a | 143 | lib/ffmpeg3/libpostproc.a | |
141 | lib/ffmpeg3/libpostproc.so | 144 | lib/ffmpeg3/libpostproc.so | |
142 | lib/ffmpeg3/libpostproc.so.54 | 145 | lib/ffmpeg3/libpostproc.so.54 | |
143 | lib/ffmpeg3/libpostproc.so.54.5.100 | 146 | lib/ffmpeg3/libpostproc.so.54.7.100 | |
144 | lib/ffmpeg3/libswresample.a | 147 | lib/ffmpeg3/libswresample.a | |
145 | lib/ffmpeg3/libswresample.so | 148 | lib/ffmpeg3/libswresample.so | |
146 | lib/ffmpeg3/libswresample.so.2 | 149 | lib/ffmpeg3/libswresample.so.2 | |
147 | lib/ffmpeg3/libswresample.so.2.7.100 | 150 | lib/ffmpeg3/libswresample.so.2.9.100 | |
148 | lib/ffmpeg3/libswscale.a | 151 | lib/ffmpeg3/libswscale.a | |
149 | lib/ffmpeg3/libswscale.so | 152 | lib/ffmpeg3/libswscale.so | |
150 | lib/ffmpeg3/libswscale.so.4 | 153 | lib/ffmpeg3/libswscale.so.4 | |
151 | lib/ffmpeg3/libswscale.so.4.6.100 | 154 | lib/ffmpeg3/libswscale.so.4.8.100 | |
152 | lib/ffmpeg3/pkgconfig/libavcodec.pc | 155 | lib/ffmpeg3/pkgconfig/libavcodec.pc | |
153 | lib/ffmpeg3/pkgconfig/libavdevice.pc | 156 | lib/ffmpeg3/pkgconfig/libavdevice.pc | |
154 | lib/ffmpeg3/pkgconfig/libavfilter.pc | 157 | lib/ffmpeg3/pkgconfig/libavfilter.pc | |
155 | lib/ffmpeg3/pkgconfig/libavformat.pc | 158 | lib/ffmpeg3/pkgconfig/libavformat.pc | |
156 | lib/ffmpeg3/pkgconfig/libavresample.pc | 159 | lib/ffmpeg3/pkgconfig/libavresample.pc | |
157 | lib/ffmpeg3/pkgconfig/libavutil.pc | 160 | lib/ffmpeg3/pkgconfig/libavutil.pc | |
158 | lib/ffmpeg3/pkgconfig/libpostproc.pc | 161 | lib/ffmpeg3/pkgconfig/libpostproc.pc | |
159 | lib/ffmpeg3/pkgconfig/libswresample.pc | 162 | lib/ffmpeg3/pkgconfig/libswresample.pc | |
160 | lib/ffmpeg3/pkgconfig/libswscale.pc | 163 | lib/ffmpeg3/pkgconfig/libswscale.pc | |
161 | man/man1/ffmpeg-all3.1 | 164 | man/man1/ffmpeg-all3.1 | |
162 | man/man1/ffmpeg-bitstream-filters3.1 | 165 | man/man1/ffmpeg-bitstream-filters3.1 | |
163 | man/man1/ffmpeg-codecs3.1 | 166 | man/man1/ffmpeg-codecs3.1 | |
164 | man/man1/ffmpeg-devices3.1 | 167 | man/man1/ffmpeg-devices3.1 | |
@@ -213,42 +216,44 @@ ${PLIST.doc}share/doc/ffmpeg3/libavforma | @@ -213,42 +216,44 @@ ${PLIST.doc}share/doc/ffmpeg3/libavforma | |||
213 | ${PLIST.doc}share/doc/ffmpeg3/libavutil.html | 216 | ${PLIST.doc}share/doc/ffmpeg3/libavutil.html | |
214 | ${PLIST.doc}share/doc/ffmpeg3/libswresample.html | 217 | ${PLIST.doc}share/doc/ffmpeg3/libswresample.html | |
215 | ${PLIST.doc}share/doc/ffmpeg3/libswscale.html | 218 | ${PLIST.doc}share/doc/ffmpeg3/libswscale.html | |
216 | share/doc/ffmpeg3/mips.txt | 219 | share/doc/ffmpeg3/mips.txt | |
217 | share/doc/ffmpeg3/multithreading.txt | 220 | share/doc/ffmpeg3/multithreading.txt | |
218 | ${PLIST.doc}share/doc/ffmpeg3/nut.html | 221 | ${PLIST.doc}share/doc/ffmpeg3/nut.html | |
219 | share/doc/ffmpeg3/optimization.txt | 222 | share/doc/ffmpeg3/optimization.txt | |
220 | ${PLIST.doc}share/doc/ffmpeg3/platform.html | 223 | ${PLIST.doc}share/doc/ffmpeg3/platform.html | |
221 | share/doc/ffmpeg3/rate_distortion.txt | 224 | share/doc/ffmpeg3/rate_distortion.txt | |
222 | share/doc/ffmpeg3/snow.txt | 225 | share/doc/ffmpeg3/snow.txt | |
223 | share/doc/ffmpeg3/swresample.txt | 226 | share/doc/ffmpeg3/swresample.txt | |
224 | share/doc/ffmpeg3/swscale.txt | 227 | share/doc/ffmpeg3/swscale.txt | |
225 | share/doc/ffmpeg3/tablegen.txt | 228 | share/doc/ffmpeg3/tablegen.txt | |
229 | share/doc/ffmpeg3/undefined.txt | |||
226 | share/doc/ffmpeg3/writing_filters.txt | 230 | share/doc/ffmpeg3/writing_filters.txt | |
227 | share/examples/ffmpeg3/ffserver.conf | 231 | share/examples/ffmpeg3/ffserver.conf | |
228 | share/ffmpeg3/examples/Makefile | 232 | share/ffmpeg3/examples/Makefile | |
229 | share/ffmpeg3/examples/README | 233 | share/ffmpeg3/examples/README | |
230 | share/ffmpeg3/examples/avio_dir_cmd.c | 234 | share/ffmpeg3/examples/avio_dir_cmd.c | |
231 | share/ffmpeg3/examples/avio_reading.c | 235 | share/ffmpeg3/examples/avio_reading.c | |
232 | share/ffmpeg3/examples/decode_audio.c | 236 | share/ffmpeg3/examples/decode_audio.c | |
233 | share/ffmpeg3/examples/decode_video.c | 237 | share/ffmpeg3/examples/decode_video.c | |
234 | share/ffmpeg3/examples/demuxing_decoding.c | 238 | share/ffmpeg3/examples/demuxing_decoding.c | |
235 | share/ffmpeg3/examples/encode_audio.c | 239 | share/ffmpeg3/examples/encode_audio.c | |
236 | share/ffmpeg3/examples/encode_video.c | 240 | share/ffmpeg3/examples/encode_video.c | |
237 | share/ffmpeg3/examples/extract_mvs.c | 241 | share/ffmpeg3/examples/extract_mvs.c | |
238 | share/ffmpeg3/examples/filter_audio.c | 242 | share/ffmpeg3/examples/filter_audio.c | |
239 | share/ffmpeg3/examples/filtering_audio.c | 243 | share/ffmpeg3/examples/filtering_audio.c | |
240 | share/ffmpeg3/examples/filtering_video.c | 244 | share/ffmpeg3/examples/filtering_video.c | |
241 | share/ffmpeg3/examples/http_multiclient.c | 245 | share/ffmpeg3/examples/http_multiclient.c | |
246 | share/ffmpeg3/examples/hw_decode.c | |||
242 | share/ffmpeg3/examples/metadata.c | 247 | share/ffmpeg3/examples/metadata.c | |
243 | share/ffmpeg3/examples/muxing.c | 248 | share/ffmpeg3/examples/muxing.c | |
244 | share/ffmpeg3/examples/qsvdec.c | 249 | share/ffmpeg3/examples/qsvdec.c | |
245 | share/ffmpeg3/examples/remuxing.c | 250 | share/ffmpeg3/examples/remuxing.c | |
246 | share/ffmpeg3/examples/resampling_audio.c | 251 | share/ffmpeg3/examples/resampling_audio.c | |
247 | share/ffmpeg3/examples/scaling_video.c | 252 | share/ffmpeg3/examples/scaling_video.c | |
248 | share/ffmpeg3/examples/transcode_aac.c | 253 | share/ffmpeg3/examples/transcode_aac.c | |
249 | share/ffmpeg3/examples/transcoding.c | 254 | share/ffmpeg3/examples/transcoding.c | |
250 | share/ffmpeg3/ffprobe.xsd | 255 | share/ffmpeg3/ffprobe.xsd | |
251 | share/ffmpeg3/libvpx-1080p.ffpreset | 256 | share/ffmpeg3/libvpx-1080p.ffpreset | |
252 | share/ffmpeg3/libvpx-1080p50_60.ffpreset | 257 | share/ffmpeg3/libvpx-1080p50_60.ffpreset | |
253 | share/ffmpeg3/libvpx-360p.ffpreset | 258 | share/ffmpeg3/libvpx-360p.ffpreset | |
254 | share/ffmpeg3/libvpx-720p.ffpreset | 259 | share/ffmpeg3/libvpx-720p.ffpreset |
@@ -1,26 +1,26 @@ | @@ -1,26 +1,26 @@ | |||
1 | # $NetBSD: buildlink3.mk,v 1.6 2017/02/24 21:48:08 maya Exp $ | 1 | # $NetBSD: buildlink3.mk,v 1.7 2017/10/18 20:25:41 adam Exp $ | |
2 | 2 | |||
3 | BUILDLINK_TREE+= ffmpeg3 | 3 | BUILDLINK_TREE+= ffmpeg3 | |
4 | 4 | |||
5 | .if !defined(FFMPEG3_BUILDLINK3_MK) | 5 | .if !defined(FFMPEG3_BUILDLINK3_MK) | |
6 | FFMPEG3_BUILDLINK3_MK:= | 6 | FFMPEG3_BUILDLINK3_MK:= | |
7 | 7 | |||
8 | BUILDLINK_API_DEPENDS.ffmpeg3+= ffmpeg3>=3.0 | 8 | BUILDLINK_API_DEPENDS.ffmpeg3+= ffmpeg3>=3.0 | |
9 | BUILDLINK_ABI_DEPENDS.ffmpeg3+= ffmpeg3>=3.2.2nb1 | 9 | BUILDLINK_ABI_DEPENDS.ffmpeg3+= ffmpeg3>=3.2.2nb1 | |
10 | BUILDLINK_PKGSRCDIR.ffmpeg3?= ../../multimedia/ffmpeg3 | 10 | BUILDLINK_PKGSRCDIR.ffmpeg3?= ../../multimedia/ffmpeg3 | |
11 | 11 | |||
12 | pkgbase := ffmpeg3 | 12 | pkgbase := ffmpeg3 | |
13 | . include "../../mk/pkg-build-options.mk" | 13 | .include "../../mk/pkg-build-options.mk" | |
14 | 14 | |||
15 | .include "../../mk/bsd.fast.prefs.mk" | 15 | .include "../../mk/bsd.fast.prefs.mk" | |
16 | 16 | |||
17 | .if !empty(PKG_BUILD_OPTIONS.ffmpeg3:Mfreetype) | 17 | .if !empty(PKG_BUILD_OPTIONS.ffmpeg3:Mfreetype) | |
18 | . include "../../graphics/freetype2/buildlink3.mk" | 18 | . include "../../graphics/freetype2/buildlink3.mk" | |
19 | .endif | 19 | .endif | |
20 | 20 | |||
21 | .if !empty(PKG_BUILD_OPTIONS.ffmpeg3:Mfontconfig) | 21 | .if !empty(PKG_BUILD_OPTIONS.ffmpeg3:Mfontconfig) | |
22 | . include "../../fonts/fontconfig/buildlink3.mk" | 22 | . include "../../fonts/fontconfig/buildlink3.mk" | |
23 | .endif | 23 | .endif | |
24 | 24 | |||
25 | .if !empty(PKG_BUILD_OPTIONS.ffmpeg3:Mtheora) | 25 | .if !empty(PKG_BUILD_OPTIONS.ffmpeg3:Mtheora) | |
26 | . include "../../multimedia/libtheora/buildlink3.mk" | 26 | . include "../../multimedia/libtheora/buildlink3.mk" |
@@ -1,12 +1,12 @@ | @@ -1,12 +1,12 @@ | |||
1 | $NetBSD: distinfo,v 1.22 2017/09/12 06:39:31 adam Exp $ | 1 | $NetBSD: distinfo,v 1.23 2017/10/18 20:25:41 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (ffmpeg-3.3.4.tar.bz2) = 6cf8f6d927d705b1844f601d93dd4036bd8d5b5d | 3 | SHA1 (ffmpeg-3.4.tar.bz2) = 6cfb7f4549a5b2dce6a8442ce16c76739c09dd6d | |
4 | RMD160 (ffmpeg-3.3.4.tar.bz2) = 652ce9876a21b68e7da76b47debb8c39b542a461 | 4 | RMD160 (ffmpeg-3.4.tar.bz2) = ea510945e0d28f7df27a22b00bd68e85ee093414 | |
5 | SHA512 (ffmpeg-3.3.4.tar.bz2) = d2257a71f9ae7856390b807d70bf643d4360fe4f2ad7c76af3ac5332cda353a1a543cdcdea0c510dbb6141f7a3a36ffbf26ae87b0ffc9ce4b3b7641814a40e3a | 5 | SHA512 (ffmpeg-3.4.tar.bz2) = 43a8825140efdd41e2dd53fb0475adeb74e003842690cbc189aea0f1af696eec675951db30f9742d063f4e31ae6883256bdceaf2cc73d1dab0d144f72a0741e0 | |
6 | Size (ffmpeg-3.3.4.tar.bz2) = 9944256 bytes | 6 | Size (ffmpeg-3.4.tar.bz2) = 10171702 bytes | |
7 | SHA1 (patch-Makefile) = acbb261efbb87e0ddacb827b3484033180b9fb83 | 7 | SHA1 (patch-Makefile) = 0c35f53878b0420aeea49d8ccb249279e705eb40 | |
8 | SHA1 (patch-configure) = 9ab46d77e8368011d098de3fae36127cdbfd6627 | 8 | SHA1 (patch-configure) = ed50009ff973844427af7b5720af6493ebfce298 | |
9 | SHA1 (patch-doc_Makefile) = 50ee7aaf74f8a5c439b11f141b5408322659543a | 9 | SHA1 (patch-doc_Makefile) = 50ee7aaf74f8a5c439b11f141b5408322659543a | |
10 | SHA1 (patch-libavutil_common.h) = d0f1093bc82567807b39dde990ee347f90a082c9 | 10 | SHA1 (patch-libavutil_common.h) = d0f1093bc82567807b39dde990ee347f90a082c9 | |
11 | SHA1 (patch-libavutil_x86_asm.h) = 8f48f9e8ec08b5176bb40fc0021f3bb913dbef22 | 11 | SHA1 (patch-libavutil_x86_asm.h) = 8f48f9e8ec08b5176bb40fc0021f3bb913dbef22 | |
12 | SHA1 (patch-libavutil_x86_cpu.c) = 9c97e68fde0fcb19741e034a803d509040ea4487 | 12 | SHA1 (patch-libavutil_x86_cpu.c) = 9c97e68fde0fcb19741e034a803d509040ea4487 |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: options.mk,v 1.9 2017/10/03 12:39:42 wiz Exp $ | 1 | # $NetBSD: options.mk,v 1.10 2017/10/18 20:25:41 adam Exp $ | |
2 | 2 | |||
3 | # Global and legacy options | 3 | # Global and legacy options | |
4 | 4 | |||
5 | PKG_OPTIONS_VAR= PKG_OPTIONS.ffmpeg3 | 5 | PKG_OPTIONS_VAR= PKG_OPTIONS.ffmpeg3 | |
6 | PKG_SUPPORTED_OPTIONS= ass doc fdk-aac fontconfig freetype gnutls \ | 6 | PKG_SUPPORTED_OPTIONS= ass doc fdk-aac fontconfig freetype gnutls \ | |
7 | lame libvpx opencore-amr openssl opus rpi \ | 7 | lame libvpx opencore-amr openssl opus rpi \ | |
8 | rtmp theora vorbis x11 x264 x265 xcb xvid | 8 | rtmp theora vorbis x11 x264 x265 xcb xvid | |
9 | PKG_SUGGESTED_OPTIONS= lame ass freetype fontconfig libvpx openssl \ | 9 | PKG_SUGGESTED_OPTIONS= lame ass freetype fontconfig libvpx openssl \ | |
10 | theora vorbis x11 x264 xvid | 10 | theora vorbis x11 x264 xvid | |
11 | 11 | |||
12 | PLIST_VARS+= doc | 12 | PLIST_VARS+= doc | |
13 | 13 | |||
14 | # Add VDPAU if it is available | 14 | # Add VDPAU if it is available | |
@@ -131,34 +131,36 @@ CONFIGURE_ARGS+= --enable-libvorbis | @@ -131,34 +131,36 @@ CONFIGURE_ARGS+= --enable-libvorbis | |||
131 | BUILDLINK_ABI_DEPENDS.lame+= lame>=3.98.2nb1 | 131 | BUILDLINK_ABI_DEPENDS.lame+= lame>=3.98.2nb1 | |
132 | CONFIGURE_ARGS+= --enable-libmp3lame | 132 | CONFIGURE_ARGS+= --enable-libmp3lame | |
133 | .include "../../audio/lame/buildlink3.mk" | 133 | .include "../../audio/lame/buildlink3.mk" | |
134 | .endif | 134 | .endif | |
135 | 135 | |||
136 | # OPUS support | 136 | # OPUS support | |
137 | .if !empty(PKG_OPTIONS:Mopus) | 137 | .if !empty(PKG_OPTIONS:Mopus) | |
138 | CONFIGURE_ARGS+= --enable-libopus | 138 | CONFIGURE_ARGS+= --enable-libopus | |
139 | .include "../../audio/libopus/buildlink3.mk" | 139 | .include "../../audio/libopus/buildlink3.mk" | |
140 | .endif | 140 | .endif | |
141 | 141 | |||
142 | # Raspberry Pi support | 142 | # Raspberry Pi support | |
143 | .if !empty(PKG_OPTIONS:Mrpi) | 143 | .if !empty(PKG_OPTIONS:Mrpi) | |
144 | .include "../../misc/raspberrypi-userland/buildlink3.mk" | 144 | CONFIGURE_ARGS+= --disable-xvmc | |
145 | CONFIGURE_ARGS+= --enable-omx-rpi | |||
146 | CONFIGURE_ARGS+= --enable-mmal | |||
145 | SUBST_CLASSES+= vc | 147 | SUBST_CLASSES+= vc | |
146 | SUBST_STAGE.vc= pre-configure | 148 | SUBST_STAGE.vc= pre-configure | |
147 | SUBST_MESSAGE.vc= Fixing path to VideoCore libraries. | 149 | SUBST_MESSAGE.vc= Fixing path to VideoCore libraries. | |
148 | SUBST_FILES.vc= configure | 150 | SUBST_FILES.vc= configure | |
149 | SUBST_SED.vc+= -e 's;-isystem/opt/vc;-I${PREFIX};g' | 151 | SUBST_SED.vc+= -e 's;-isystem/opt/vc;-I${PREFIX};g' | |
150 | SUBST_SED.vc+= -e 's;/opt/vc;${PREFIX};g' | 152 | SUBST_SED.vc+= -e 's;/opt/vc;${PREFIX};g' | |
151 | CONFIGURE_ARGS+= --enable-omx-rpi --enable-mmal --disable-xvmc | 153 | .include "../../misc/raspberrypi-userland/buildlink3.mk" | |
152 | .endif | 154 | .endif | |
153 | 155 | |||
154 | # XviD support | 156 | # XviD support | |
155 | .if !empty(PKG_OPTIONS:Mxvid) | 157 | .if !empty(PKG_OPTIONS:Mxvid) | |
156 | CONFIGURE_ARGS+= --enable-libxvid | 158 | CONFIGURE_ARGS+= --enable-libxvid | |
157 | .include "../../multimedia/xvidcore/buildlink3.mk" | 159 | .include "../../multimedia/xvidcore/buildlink3.mk" | |
158 | .endif | 160 | .endif | |
159 | 161 | |||
160 | # x264 support | 162 | # x264 support | |
161 | .if !empty(PKG_OPTIONS:Mx264) | 163 | .if !empty(PKG_OPTIONS:Mx264) | |
162 | # ABI change between 20090326 and 20100201 | 164 | # ABI change between 20090326 and 20100201 | |
163 | BUILDLINK_API_DEPENDS.x264-devel+= x264-devel>=20111207 | 165 | BUILDLINK_API_DEPENDS.x264-devel+= x264-devel>=20111207 | |
164 | CONFIGURE_ARGS+= --enable-libx264 | 166 | CONFIGURE_ARGS+= --enable-libx264 |
@@ -1,17 +1,15 @@ | @@ -1,17 +1,15 @@ | |||
1 | $NetBSD: patch-Makefile,v 1.2 2017/05/17 15:28:51 he Exp $ | 1 | $NetBSD: patch-Makefile,v 1.3 2017/10/18 20:25:41 adam Exp $ | |
2 | 2 | |||
3 | Do "install -c". | 3 | Do "install -c". | |
4 | 4 | |||
5 | --- Makefile.orig 2016-01-15 16:58:32.000000000 +0000 | 5 | --- Makefile.orig 2017-10-15 15:59:36.000000000 +0000 | |
6 | +++ Makefile | 6 | +++ Makefile | |
7 | @@ -159,8 +159,8 @@ install-progs: install-progs-yes $(AVPRO | 7 | @@ -126,7 +126,7 @@ install-libs: install-libs-yes | |
8 | 8 | |||
9 | install-data: $(DATA_FILES) $(EXAMPLES_FILES) | 9 | install-data: $(DATA_FILES) | |
10 | $(Q)mkdir -p "$(DATADIR)/examples" | 10 | $(Q)mkdir -p "$(DATADIR)" | |
11 | - $(INSTALL) -m 644 $(DATA_FILES) "$(DATADIR)" | 11 | - $(INSTALL) -m 644 $(DATA_FILES) "$(DATADIR)" | |
12 | - $(INSTALL) -m 644 $(EXAMPLES_FILES) "$(DATADIR)/examples" | |||
13 | + $(INSTALL) -c -m 644 $(DATA_FILES) "$(DATADIR)" | 12 | + $(INSTALL) -c -m 644 $(DATA_FILES) "$(DATADIR)" | |
14 | + $(INSTALL) -c -m 644 $(EXAMPLES_FILES) "$(DATADIR)/examples" | |||
15 | 13 | |||
16 | uninstall: uninstall-libs uninstall-headers uninstall-progs uninstall-data | 14 | uninstall: uninstall-libs uninstall-headers uninstall-data | |
17 | 15 |
@@ -1,44 +1,35 @@ | @@ -1,44 +1,35 @@ | |||
1 | $NetBSD: patch-configure,v 1.4 2017/05/17 15:28:51 he Exp $ | 1 | $NetBSD: patch-configure,v 1.5 2017/10/18 20:25:41 adam Exp $ | |
2 | 2 | |||
3 | Enable PIC on non-i386 NetBSD. | 3 | Enable PIC on non-i386 NetBSD. | |
4 | 4 | |||
5 | --- configure.orig 2016-10-27 16:17:39.000000000 +0000 | 5 | --- configure.orig 2017-10-15 15:59:36.000000000 +0000 | |
6 | +++ configure | 6 | +++ configure | |
7 | @@ -4676,6 +4676,11 @@ case $target_os in | 7 | @@ -4939,6 +4939,11 @@ case $target_os in | |
8 | ;; | 8 | ;; | |
9 | netbsd) | 9 | netbsd) | |
10 | disable symver | 10 | disable symver | |
11 | + # NetBSD/macppc *really* needs PIC enabled. ffmpeg has repeatedly | 11 | + # NetBSD/macppc *really* needs PIC enabled. ffmpeg has repeatedly | |
12 | + # broken time and time again because PIC support has been removed | 12 | + # broken time and time again because PIC support has been removed | |
13 | + # from architectures that need it. So, if you touch this, please | 13 | + # from architectures that need it. So, if you touch this, please | |
14 | + # be careful and make sure that your changes work. | 14 | + # be careful and make sure that your changes work. | |
15 | + test "${subarch}" != "x86_32" && enable pic | 15 | + test "${subarch}" != "x86_32" && enable pic | |
16 | oss_indev_extralibs="-lossaudio" | 16 | oss_indev_extralibs="-lossaudio" | |
17 | oss_outdev_extralibs="-lossaudio" | 17 | oss_outdev_extralibs="-lossaudio" | |
18 | enabled gcc || check_ldflags -Wl,-zmuldefs | 18 | enabled gcc || check_ldflags -Wl,-zmuldefs | |
19 | @@ -5138,10 +5143,13 @@ check_cc <<EOF && enable attribute_may_a | 19 | @@ -5359,10 +5364,13 @@ check_cc <<EOF && enable attribute_may_a | |
20 | union { int x; } __attribute__((may_alias)) x; | 20 | union { int x; } __attribute__((may_alias)) x; | |
21 | EOF | 21 | EOF | |
22 | 22 | |||
23 | -check_cc <<EOF || die "endian test failed" | 23 | -check_cc <<EOF || die "endian test failed" | |
24 | -unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E'; | 24 | -unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E'; | |
25 | +check_exec <<EOF || enable bigendian | 25 | +check_exec <<EOF || enable bigendian | |
26 | +int main() | 26 | +int main() | |
27 | +{ | 27 | +{ | |
28 | + long one = 1; | 28 | + long one = 1; | |
29 | + return !(*((char *)(&one))); | 29 | + return !(*((char *)(&one))); | |
30 | +} | 30 | +} | |
31 | EOF | 31 | EOF | |
32 | -od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian | 32 | -od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian | |
33 | 33 | |||
34 | if ! enabled ppc64 || enabled bigendian; then | 34 | check_cc <<EOF && enable const_nan | |
35 | disable vsx | 35 | #include <math.h> | |
36 | @@ -6805,7 +6814,7 @@ Version: $version | |||
37 | Requires: $(enabled shared || echo $requires) | |||
38 | Requires.private: $(enabled shared && echo $requires) | |||
39 | Conflicts: | |||
40 | -Libs: -L\${libdir} $(enabled rpath && echo "-Wl,-rpath,\${libdir}") -l${shortname} $(enabled shared || echo $libs) | |||
41 | +Libs: -L\${libdir} -Wl,-R\${libdir} $(enabled rpath && echo "-Wl,-rpath,\${libdir}") -l${shortname} $(enabled shared || echo $libs) | |||
42 | Libs.private: $(enabled shared && echo $libs) | |||
43 | Cflags: -I\${includedir} | |||
44 | EOF |