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,94 +1,94 @@ | @@ -1,94 +1,94 @@ | |||
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} | |
19 | CONFIGURE_ARGS+= --disable-debug | 19 | CONFIGURE_ARGS+= --disable-debug | |
20 | CONFIGURE_ARGS+= --disable-optimizations | 20 | CONFIGURE_ARGS+= --disable-optimizations | |
21 | CONFIGURE_ARGS+= --disable-stripping | 21 | CONFIGURE_ARGS+= --disable-stripping | |
22 | CONFIGURE_ARGS+= --enable-shared | 22 | CONFIGURE_ARGS+= --enable-shared | |
23 | CONFIGURE_ARGS+= --enable-pthreads | 23 | CONFIGURE_ARGS+= --enable-pthreads | |
24 | CONFIGURE_ARGS+= --enable-gpl | 24 | CONFIGURE_ARGS+= --enable-gpl | |
25 | CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} | 25 | CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} | |
26 | CONFIGURE_ARGS+= --prefix=${PREFIX} | 26 | CONFIGURE_ARGS+= --prefix=${PREFIX} | |
27 | 27 | |||
28 | CONFIGURE_ARGS+= --progs-suffix=3 | 28 | CONFIGURE_ARGS+= --progs-suffix=3 | |
29 | CONFIGURE_ARGS+= --datadir=${PREFIX}/share/ffmpeg3 | 29 | CONFIGURE_ARGS+= --datadir=${PREFIX}/share/ffmpeg3 | |
30 | CONFIGURE_ARGS+= --docdir=${PREFIX}/share/doc/ffmpeg3 | 30 | CONFIGURE_ARGS+= --docdir=${PREFIX}/share/doc/ffmpeg3 | |
31 | CONFIGURE_ARGS+= --incdir=${PREFIX}/include/ffmpeg3 | 31 | CONFIGURE_ARGS+= --incdir=${PREFIX}/include/ffmpeg3 | |
32 | CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/ffmpeg3 | 32 | CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/ffmpeg3 | |
33 | CONFIGURE_ARGS+= --shlibdir=${PREFIX}/lib/ffmpeg3 | 33 | CONFIGURE_ARGS+= --shlibdir=${PREFIX}/lib/ffmpeg3 | |
34 | LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/ffmpeg3 | 34 | LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/ffmpeg3 | |
35 | 35 | |||
36 | PLIST_VARS+= opencl | 36 | PLIST_VARS+= opencl | |
37 | 37 | |||
38 | .if !empty(MACHINE_PLATFORM:MDarwin-1[2-9].*-*) | 38 | .if !empty(MACHINE_PLATFORM:MDarwin-1[2-9].*-*) | |
39 | CONFIGURE_ARGS+= --enable-opencl | 39 | CONFIGURE_ARGS+= --enable-opencl | |
40 | PLIST.opencl= yes | 40 | PLIST.opencl= yes | |
41 | .endif | 41 | .endif | |
42 | 42 | |||
43 | .if ${OPSYS} == "SunOS" | 43 | .if ${OPSYS} == "SunOS" | |
44 | USE_TOOLS+= bash:build | 44 | USE_TOOLS+= bash:build | |
45 | CONFIG_SHELL= ${TOOLS_PATH.bash} | 45 | CONFIG_SHELL= ${TOOLS_PATH.bash} | |
46 | .endif | 46 | .endif | |
47 | 47 | |||
48 | CONFIGURE_ARGS+= --enable-runtime-cpudetect | 48 | CONFIGURE_ARGS+= --enable-runtime-cpudetect | |
49 | 49 | |||
50 | # No posix_memalign() in NetBSD 4.0 and earlier | 50 | # No posix_memalign() in NetBSD 4.0 and earlier | |
51 | .if !empty(MACHINE_PLATFORM:MNetBSD-[1-4].*-*) | 51 | .if !empty(MACHINE_PLATFORM:MNetBSD-[1-4].*-*) | |
52 | CONFIGURE_ARGS+= --enable-memalign-hack | 52 | CONFIGURE_ARGS+= --enable-memalign-hack | |
53 | .endif | 53 | .endif | |
54 | 54 | |||
55 | # Let's not put garbage into /tmp | 55 | # Let's not put garbage into /tmp | |
56 | CONFIGURE_ENV+= TMPDIR=${WRKSRC}/tmp | 56 | CONFIGURE_ENV+= TMPDIR=${WRKSRC}/tmp | |
57 | 57 | |||
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} | |
85 | 85 | |||
86 | pre-configure: | 86 | pre-configure: | |
87 | mkdir ${WRKSRC}/tmp | 87 | mkdir ${WRKSRC}/tmp | |
88 | 88 | |||
89 | .include "../../archivers/bzip2/buildlink3.mk" | 89 | .include "../../archivers/bzip2/buildlink3.mk" | |
90 | .include "../../archivers/xz/buildlink3.mk" | 90 | .include "../../archivers/xz/buildlink3.mk" | |
91 | .include "../../devel/libgetopt/buildlink3.mk" | 91 | .include "../../devel/libgetopt/buildlink3.mk" | |
92 | .include "../../devel/zlib/buildlink3.mk" | 92 | .include "../../devel/zlib/buildlink3.mk" | |
93 | .include "../../mk/pthread.buildlink3.mk" | 93 | .include "../../mk/pthread.buildlink3.mk" | |
94 | .include "../../mk/bsd.pkg.mk" | 94 | .include "../../mk/bsd.pkg.mk" |
@@ -1,255 +1,260 @@ | @@ -1,255 +1,260 @@ | |||
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 | |
15 | include/ffmpeg3/libavcodec/vaapi.h | 15 | include/ffmpeg3/libavcodec/vaapi.h | |
16 | include/ffmpeg3/libavcodec/vda.h | 16 | include/ffmpeg3/libavcodec/vda.h | |
17 | include/ffmpeg3/libavcodec/vdpau.h | 17 | include/ffmpeg3/libavcodec/vdpau.h | |
18 | include/ffmpeg3/libavcodec/version.h | 18 | include/ffmpeg3/libavcodec/version.h | |
19 | include/ffmpeg3/libavcodec/videotoolbox.h | 19 | include/ffmpeg3/libavcodec/videotoolbox.h | |
20 | include/ffmpeg3/libavcodec/vorbis_parser.h | 20 | include/ffmpeg3/libavcodec/vorbis_parser.h | |
21 | include/ffmpeg3/libavcodec/xvmc.h | 21 | include/ffmpeg3/libavcodec/xvmc.h | |
22 | include/ffmpeg3/libavdevice/avdevice.h | 22 | include/ffmpeg3/libavdevice/avdevice.h | |
23 | include/ffmpeg3/libavdevice/version.h | 23 | include/ffmpeg3/libavdevice/version.h | |
24 | include/ffmpeg3/libavfilter/avfilter.h | 24 | include/ffmpeg3/libavfilter/avfilter.h | |
25 | include/ffmpeg3/libavfilter/avfiltergraph.h | 25 | include/ffmpeg3/libavfilter/avfiltergraph.h | |
26 | include/ffmpeg3/libavfilter/buffersink.h | 26 | include/ffmpeg3/libavfilter/buffersink.h | |
27 | include/ffmpeg3/libavfilter/buffersrc.h | 27 | include/ffmpeg3/libavfilter/buffersrc.h | |
28 | include/ffmpeg3/libavfilter/version.h | 28 | include/ffmpeg3/libavfilter/version.h | |
29 | include/ffmpeg3/libavformat/avformat.h | 29 | include/ffmpeg3/libavformat/avformat.h | |
30 | include/ffmpeg3/libavformat/avio.h | 30 | include/ffmpeg3/libavformat/avio.h | |
31 | include/ffmpeg3/libavformat/version.h | 31 | include/ffmpeg3/libavformat/version.h | |
32 | include/ffmpeg3/libavresample/avresample.h | 32 | include/ffmpeg3/libavresample/avresample.h | |
33 | include/ffmpeg3/libavresample/version.h | 33 | include/ffmpeg3/libavresample/version.h | |
34 | include/ffmpeg3/libavutil/adler32.h | 34 | include/ffmpeg3/libavutil/adler32.h | |
35 | include/ffmpeg3/libavutil/aes.h | 35 | include/ffmpeg3/libavutil/aes.h | |
36 | include/ffmpeg3/libavutil/aes_ctr.h | 36 | include/ffmpeg3/libavutil/aes_ctr.h | |
37 | include/ffmpeg3/libavutil/attributes.h | 37 | include/ffmpeg3/libavutil/attributes.h | |
38 | include/ffmpeg3/libavutil/audio_fifo.h | 38 | include/ffmpeg3/libavutil/audio_fifo.h | |
39 | include/ffmpeg3/libavutil/avassert.h | 39 | include/ffmpeg3/libavutil/avassert.h | |
40 | include/ffmpeg3/libavutil/avconfig.h | 40 | include/ffmpeg3/libavutil/avconfig.h | |
41 | include/ffmpeg3/libavutil/avstring.h | 41 | include/ffmpeg3/libavutil/avstring.h | |
42 | include/ffmpeg3/libavutil/avutil.h | 42 | include/ffmpeg3/libavutil/avutil.h | |
43 | include/ffmpeg3/libavutil/base64.h | 43 | include/ffmpeg3/libavutil/base64.h | |
44 | include/ffmpeg3/libavutil/blowfish.h | 44 | include/ffmpeg3/libavutil/blowfish.h | |
45 | include/ffmpeg3/libavutil/bprint.h | 45 | include/ffmpeg3/libavutil/bprint.h | |
46 | include/ffmpeg3/libavutil/bswap.h | 46 | include/ffmpeg3/libavutil/bswap.h | |
47 | include/ffmpeg3/libavutil/buffer.h | 47 | include/ffmpeg3/libavutil/buffer.h | |
48 | include/ffmpeg3/libavutil/camellia.h | 48 | include/ffmpeg3/libavutil/camellia.h | |
49 | include/ffmpeg3/libavutil/cast5.h | 49 | include/ffmpeg3/libavutil/cast5.h | |
50 | include/ffmpeg3/libavutil/channel_layout.h | 50 | include/ffmpeg3/libavutil/channel_layout.h | |
51 | include/ffmpeg3/libavutil/common.h | 51 | include/ffmpeg3/libavutil/common.h | |
52 | include/ffmpeg3/libavutil/cpu.h | 52 | include/ffmpeg3/libavutil/cpu.h | |
53 | include/ffmpeg3/libavutil/crc.h | 53 | include/ffmpeg3/libavutil/crc.h | |
54 | include/ffmpeg3/libavutil/des.h | 54 | 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 | |
85 | ${PLIST.opencl}include/ffmpeg3/libavutil/opencl.h | 88 | ${PLIST.opencl}include/ffmpeg3/libavutil/opencl.h | |
86 | include/ffmpeg3/libavutil/opt.h | 89 | include/ffmpeg3/libavutil/opt.h | |
87 | include/ffmpeg3/libavutil/parseutils.h | 90 | include/ffmpeg3/libavutil/parseutils.h | |
88 | include/ffmpeg3/libavutil/pixdesc.h | 91 | include/ffmpeg3/libavutil/pixdesc.h | |
89 | include/ffmpeg3/libavutil/pixelutils.h | 92 | include/ffmpeg3/libavutil/pixelutils.h | |
90 | include/ffmpeg3/libavutil/pixfmt.h | 93 | include/ffmpeg3/libavutil/pixfmt.h | |
91 | include/ffmpeg3/libavutil/random_seed.h | 94 | include/ffmpeg3/libavutil/random_seed.h | |
92 | include/ffmpeg3/libavutil/rational.h | 95 | include/ffmpeg3/libavutil/rational.h | |
93 | include/ffmpeg3/libavutil/rc4.h | 96 | include/ffmpeg3/libavutil/rc4.h | |
94 | include/ffmpeg3/libavutil/replaygain.h | 97 | include/ffmpeg3/libavutil/replaygain.h | |
95 | include/ffmpeg3/libavutil/ripemd.h | 98 | include/ffmpeg3/libavutil/ripemd.h | |
96 | include/ffmpeg3/libavutil/samplefmt.h | 99 | include/ffmpeg3/libavutil/samplefmt.h | |
97 | include/ffmpeg3/libavutil/sha.h | 100 | include/ffmpeg3/libavutil/sha.h | |
98 | include/ffmpeg3/libavutil/sha512.h | 101 | include/ffmpeg3/libavutil/sha512.h | |
99 | include/ffmpeg3/libavutil/spherical.h | 102 | include/ffmpeg3/libavutil/spherical.h | |
100 | include/ffmpeg3/libavutil/stereo3d.h | 103 | include/ffmpeg3/libavutil/stereo3d.h | |
101 | include/ffmpeg3/libavutil/tea.h | 104 | include/ffmpeg3/libavutil/tea.h | |
102 | include/ffmpeg3/libavutil/threadmessage.h | 105 | include/ffmpeg3/libavutil/threadmessage.h | |
103 | include/ffmpeg3/libavutil/time.h | 106 | include/ffmpeg3/libavutil/time.h | |
104 | include/ffmpeg3/libavutil/timecode.h | 107 | include/ffmpeg3/libavutil/timecode.h | |
105 | include/ffmpeg3/libavutil/timestamp.h | 108 | 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 | |
165 | man/man1/ffmpeg-filters3.1 | 168 | man/man1/ffmpeg-filters3.1 | |
166 | man/man1/ffmpeg-formats3.1 | 169 | man/man1/ffmpeg-formats3.1 | |
167 | man/man1/ffmpeg-protocols3.1 | 170 | man/man1/ffmpeg-protocols3.1 | |
168 | man/man1/ffmpeg-resampler3.1 | 171 | man/man1/ffmpeg-resampler3.1 | |
169 | man/man1/ffmpeg-scaler3.1 | 172 | man/man1/ffmpeg-scaler3.1 | |
170 | man/man1/ffmpeg-utils3.1 | 173 | man/man1/ffmpeg-utils3.1 | |
171 | man/man1/ffmpeg3.1 | 174 | man/man1/ffmpeg3.1 | |
172 | man/man1/ffprobe-all3.1 | 175 | man/man1/ffprobe-all3.1 | |
173 | man/man1/ffprobe3.1 | 176 | man/man1/ffprobe3.1 | |
174 | man/man1/ffserver-all3.1 | 177 | man/man1/ffserver-all3.1 | |
175 | man/man1/ffserver3.1 | 178 | man/man1/ffserver3.1 | |
176 | man/man3/libavcodec3.3 | 179 | man/man3/libavcodec3.3 | |
177 | man/man3/libavdevice3.3 | 180 | man/man3/libavdevice3.3 | |
178 | man/man3/libavfilter3.3 | 181 | man/man3/libavfilter3.3 | |
179 | man/man3/libavformat3.3 | 182 | man/man3/libavformat3.3 | |
180 | man/man3/libavutil3.3 | 183 | man/man3/libavutil3.3 | |
181 | man/man3/libswresample3.3 | 184 | man/man3/libswresample3.3 | |
182 | man/man3/libswscale3.3 | 185 | man/man3/libswscale3.3 | |
183 | share/doc/ffmpeg3/build_system.txt | 186 | share/doc/ffmpeg3/build_system.txt | |
184 | ${PLIST.doc}share/doc/ffmpeg3/developer.html | 187 | ${PLIST.doc}share/doc/ffmpeg3/developer.html | |
185 | share/doc/ffmpeg3/errno.txt | 188 | share/doc/ffmpeg3/errno.txt | |
186 | ${PLIST.doc}share/doc/ffmpeg3/faq.html | 189 | ${PLIST.doc}share/doc/ffmpeg3/faq.html | |
187 | ${PLIST.doc}share/doc/ffmpeg3/fate.html | 190 | ${PLIST.doc}share/doc/ffmpeg3/fate.html | |
188 | ${PLIST.doc}share/doc/ffmpeg3/ffmpeg-all.html | 191 | ${PLIST.doc}share/doc/ffmpeg3/ffmpeg-all.html | |
189 | ${PLIST.doc}share/doc/ffmpeg3/ffmpeg-bitstream-filters.html | 192 | ${PLIST.doc}share/doc/ffmpeg3/ffmpeg-bitstream-filters.html | |
190 | ${PLIST.doc}share/doc/ffmpeg3/ffmpeg-codecs.html | 193 | ${PLIST.doc}share/doc/ffmpeg3/ffmpeg-codecs.html | |
191 | ${PLIST.doc}share/doc/ffmpeg3/ffmpeg-devices.html | 194 | ${PLIST.doc}share/doc/ffmpeg3/ffmpeg-devices.html | |
192 | ${PLIST.doc}share/doc/ffmpeg3/ffmpeg-filters.html | 195 | ${PLIST.doc}share/doc/ffmpeg3/ffmpeg-filters.html | |
193 | ${PLIST.doc}share/doc/ffmpeg3/ffmpeg-formats.html | 196 | ${PLIST.doc}share/doc/ffmpeg3/ffmpeg-formats.html | |
194 | ${PLIST.doc}share/doc/ffmpeg3/ffmpeg-protocols.html | 197 | ${PLIST.doc}share/doc/ffmpeg3/ffmpeg-protocols.html | |
195 | ${PLIST.doc}share/doc/ffmpeg3/ffmpeg-resampler.html | 198 | ${PLIST.doc}share/doc/ffmpeg3/ffmpeg-resampler.html | |
196 | ${PLIST.doc}share/doc/ffmpeg3/ffmpeg-scaler.html | 199 | ${PLIST.doc}share/doc/ffmpeg3/ffmpeg-scaler.html | |
197 | ${PLIST.doc}share/doc/ffmpeg3/ffmpeg-utils.html | 200 | ${PLIST.doc}share/doc/ffmpeg3/ffmpeg-utils.html | |
198 | ${PLIST.doc}share/doc/ffmpeg3/ffmpeg.html | 201 | ${PLIST.doc}share/doc/ffmpeg3/ffmpeg.html | |
199 | share/doc/ffmpeg3/ffmpeg.txt | 202 | share/doc/ffmpeg3/ffmpeg.txt | |
200 | ${PLIST.doc}share/doc/ffmpeg3/ffprobe-all.html | 203 | ${PLIST.doc}share/doc/ffmpeg3/ffprobe-all.html | |
201 | ${PLIST.doc}share/doc/ffmpeg3/ffprobe.html | 204 | ${PLIST.doc}share/doc/ffmpeg3/ffprobe.html | |
202 | ${PLIST.doc}share/doc/ffmpeg3/ffserver-all.html | 205 | ${PLIST.doc}share/doc/ffmpeg3/ffserver-all.html | |
203 | ${PLIST.doc}share/doc/ffmpeg3/ffserver.html | 206 | ${PLIST.doc}share/doc/ffmpeg3/ffserver.html | |
204 | share/doc/ffmpeg3/filter_design.txt | 207 | share/doc/ffmpeg3/filter_design.txt | |
205 | ${PLIST.doc}share/doc/ffmpeg3/general.html | 208 | ${PLIST.doc}share/doc/ffmpeg3/general.html | |
206 | ${PLIST.doc}share/doc/ffmpeg3/git-howto.html | 209 | ${PLIST.doc}share/doc/ffmpeg3/git-howto.html | |
207 | share/doc/ffmpeg3/issue_tracker.txt | 210 | share/doc/ffmpeg3/issue_tracker.txt | |
208 | share/doc/ffmpeg3/libav-merge.txt | 211 | share/doc/ffmpeg3/libav-merge.txt | |
209 | ${PLIST.doc}share/doc/ffmpeg3/libavcodec.html | 212 | ${PLIST.doc}share/doc/ffmpeg3/libavcodec.html | |
210 | ${PLIST.doc}share/doc/ffmpeg3/libavdevice.html | 213 | ${PLIST.doc}share/doc/ffmpeg3/libavdevice.html | |
211 | ${PLIST.doc}share/doc/ffmpeg3/libavfilter.html | 214 | ${PLIST.doc}share/doc/ffmpeg3/libavfilter.html | |
212 | ${PLIST.doc}share/doc/ffmpeg3/libavformat.html | 215 | ${PLIST.doc}share/doc/ffmpeg3/libavformat.html | |
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 | |
255 | share/ffmpeg3/libvpx-720p50_60.ffpreset | 260 | share/ffmpeg3/libvpx-720p50_60.ffpreset |
@@ -1,59 +1,59 @@ | @@ -1,59 +1,59 @@ | |||
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" | |
27 | .endif | 27 | .endif | |
28 | 28 | |||
29 | .if !empty(PKG_BUILD_OPTIONS.ffmpeg3:Mxvid) | 29 | .if !empty(PKG_BUILD_OPTIONS.ffmpeg3:Mxvid) | |
30 | . include "../../multimedia/xvidcore/buildlink3.mk" | 30 | . include "../../multimedia/xvidcore/buildlink3.mk" | |
31 | .endif | 31 | .endif | |
32 | 32 | |||
33 | .if !empty(PKG_BUILD_OPTIONS.ffmpeg3:Mx264) | 33 | .if !empty(PKG_BUILD_OPTIONS.ffmpeg3:Mx264) | |
34 | . include "../../multimedia/x264-devel/buildlink3.mk" | 34 | . include "../../multimedia/x264-devel/buildlink3.mk" | |
35 | .endif | 35 | .endif | |
36 | 36 | |||
37 | .if !empty(PKG_BUILD_OPTIONS.ffmpeg3:Mlibvpx) | 37 | .if !empty(PKG_BUILD_OPTIONS.ffmpeg3:Mlibvpx) | |
38 | . include "../../multimedia/libvpx/buildlink3.mk" | 38 | . include "../../multimedia/libvpx/buildlink3.mk" | |
39 | .endif | 39 | .endif | |
40 | 40 | |||
41 | .if !empty(PKG_BUILD_OPTIONS.ffmpeg3:Mvaapi) | 41 | .if !empty(PKG_BUILD_OPTIONS.ffmpeg3:Mvaapi) | |
42 | . include "../../multimedia/libva/buildlink3.mk" | 42 | . include "../../multimedia/libva/buildlink3.mk" | |
43 | .endif | 43 | .endif | |
44 | 44 | |||
45 | .if !empty(PKG_BUILD_OPTIONS.ffmpeg3:Mvdpau) | 45 | .if !empty(PKG_BUILD_OPTIONS.ffmpeg3:Mvdpau) | |
46 | . include "../../multimedia/libvdpau/buildlink3.mk" | 46 | . include "../../multimedia/libvdpau/buildlink3.mk" | |
47 | .endif | 47 | .endif | |
48 | 48 | |||
49 | BUILDLINK_INCDIRS.ffmpeg3+= include/ffmpeg3 | 49 | BUILDLINK_INCDIRS.ffmpeg3+= include/ffmpeg3 | |
50 | BUILDLINK_LIBDIRS.ffmpeg3+= lib/ffmpeg3 | 50 | BUILDLINK_LIBDIRS.ffmpeg3+= lib/ffmpeg3 | |
51 | BUILDLINK_FNAME_TRANSFORM.ffmpeg3+= -e 's|lib/ffmpeg3/pkgconfig/|lib/pkgconfig/|' | 51 | BUILDLINK_FNAME_TRANSFORM.ffmpeg3+= -e 's|lib/ffmpeg3/pkgconfig/|lib/pkgconfig/|' | |
52 | 52 | |||
53 | .include "../../archivers/bzip2/buildlink3.mk" | 53 | .include "../../archivers/bzip2/buildlink3.mk" | |
54 | .include "../../archivers/xz/buildlink3.mk" | 54 | .include "../../archivers/xz/buildlink3.mk" | |
55 | .include "../../devel/libgetopt/buildlink3.mk" | 55 | .include "../../devel/libgetopt/buildlink3.mk" | |
56 | .include "../../devel/zlib/buildlink3.mk" | 56 | .include "../../devel/zlib/buildlink3.mk" | |
57 | .endif # FFMPEG3_BUILDLINK3_MK | 57 | .endif # FFMPEG3_BUILDLINK3_MK | |
58 | 58 | |||
59 | BUILDLINK_TREE+= -ffmpeg3 | 59 | BUILDLINK_TREE+= -ffmpeg3 |
@@ -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,211 +1,213 @@ | @@ -1,211 +1,213 @@ | |||
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 | |
15 | .include "../../multimedia/libvdpau/available.mk" | 15 | .include "../../multimedia/libvdpau/available.mk" | |
16 | .if ${VDPAU_AVAILABLE} == "yes" | 16 | .if ${VDPAU_AVAILABLE} == "yes" | |
17 | PKG_SUPPORTED_OPTIONS+= vdpau | 17 | PKG_SUPPORTED_OPTIONS+= vdpau | |
18 | PKG_SUGGESTED_OPTIONS+= vdpau | 18 | PKG_SUGGESTED_OPTIONS+= vdpau | |
19 | .endif | 19 | .endif | |
20 | 20 | |||
21 | # Add VAAPI if it is available | 21 | # Add VAAPI if it is available | |
22 | .include "../../multimedia/libva/available.mk" | 22 | .include "../../multimedia/libva/available.mk" | |
23 | .if ${VAAPI_AVAILABLE} == "yes" | 23 | .if ${VAAPI_AVAILABLE} == "yes" | |
24 | PKG_SUPPORTED_OPTIONS+= vaapi | 24 | PKG_SUPPORTED_OPTIONS+= vaapi | |
25 | PKG_SUGGESTED_OPTIONS+= vaapi | 25 | PKG_SUGGESTED_OPTIONS+= vaapi | |
26 | .endif | 26 | .endif | |
27 | 27 | |||
28 | .include "../../mk/bsd.options.mk" | 28 | .include "../../mk/bsd.options.mk" | |
29 | 29 | |||
30 | # Fontconfig | 30 | # Fontconfig | |
31 | .if !empty(PKG_OPTIONS:Mfontconfig) | 31 | .if !empty(PKG_OPTIONS:Mfontconfig) | |
32 | USE_TOOLS+= pkg-config | 32 | USE_TOOLS+= pkg-config | |
33 | CONFIGURE_ARGS+= --enable-fontconfig | 33 | CONFIGURE_ARGS+= --enable-fontconfig | |
34 | .include "../../fonts/fontconfig/buildlink3.mk" | 34 | .include "../../fonts/fontconfig/buildlink3.mk" | |
35 | .else | 35 | .else | |
36 | CONFIGURE_ARGS+= --disable-fontconfig | 36 | CONFIGURE_ARGS+= --disable-fontconfig | |
37 | .endif | 37 | .endif | |
38 | 38 | |||
39 | # freetype option | 39 | # freetype option | |
40 | .if !empty(PKG_OPTIONS:Mfreetype) | 40 | .if !empty(PKG_OPTIONS:Mfreetype) | |
41 | USE_TOOLS+= pkg-config | 41 | USE_TOOLS+= pkg-config | |
42 | CONFIGURE_ARGS+= --enable-libfreetype | 42 | CONFIGURE_ARGS+= --enable-libfreetype | |
43 | .include "../../graphics/freetype2/buildlink3.mk" | 43 | .include "../../graphics/freetype2/buildlink3.mk" | |
44 | .else | 44 | .else | |
45 | CONFIGURE_ARGS+= --disable-libfreetype | 45 | CONFIGURE_ARGS+= --disable-libfreetype | |
46 | .endif | 46 | .endif | |
47 | 47 | |||
48 | # ass option | 48 | # ass option | |
49 | .if !empty(PKG_OPTIONS:Mass) | 49 | .if !empty(PKG_OPTIONS:Mass) | |
50 | USE_TOOLS+= pkg-config | 50 | USE_TOOLS+= pkg-config | |
51 | CONFIGURE_ARGS+= --enable-libass | 51 | CONFIGURE_ARGS+= --enable-libass | |
52 | .include "../../multimedia/libass/buildlink3.mk" | 52 | .include "../../multimedia/libass/buildlink3.mk" | |
53 | .else | 53 | .else | |
54 | CONFIGURE_ARGS+= --disable-libass | 54 | CONFIGURE_ARGS+= --disable-libass | |
55 | .endif | 55 | .endif | |
56 | 56 | |||
57 | # doc option | 57 | # doc option | |
58 | .if !empty(PKG_OPTIONS:Mdoc) | 58 | .if !empty(PKG_OPTIONS:Mdoc) | |
59 | PLIST.doc= yes | 59 | PLIST.doc= yes | |
60 | USE_TOOLS+= texi2html | 60 | USE_TOOLS+= texi2html | |
61 | CONFIGURE_ARGS+= --enable-htmlpages | 61 | CONFIGURE_ARGS+= --enable-htmlpages | |
62 | .else | 62 | .else | |
63 | CONFIGURE_ARGS+= --disable-htmlpages | 63 | CONFIGURE_ARGS+= --disable-htmlpages | |
64 | .endif | 64 | .endif | |
65 | 65 | |||
66 | # Fraunhofer FDK AAC codec support | 66 | # Fraunhofer FDK AAC codec support | |
67 | .if !empty(PKG_OPTIONS:Mfdk-aac) | 67 | .if !empty(PKG_OPTIONS:Mfdk-aac) | |
68 | RESTRICTED= This software may require the payment of patent royalties | 68 | RESTRICTED= This software may require the payment of patent royalties | |
69 | NO_BIN_ON_CDROM= ${RESTRICTED} | 69 | NO_BIN_ON_CDROM= ${RESTRICTED} | |
70 | NO_BIN_ON_FTP= ${RESTRICTED} | 70 | NO_BIN_ON_FTP= ${RESTRICTED} | |
71 | CONFIGURE_ARGS+= --enable-libfdk_aac | 71 | CONFIGURE_ARGS+= --enable-libfdk_aac | |
72 | CONFIGURE_ARGS+= --enable-nonfree | 72 | CONFIGURE_ARGS+= --enable-nonfree | |
73 | .include "../../audio/fdk-aac/buildlink3.mk" | 73 | .include "../../audio/fdk-aac/buildlink3.mk" | |
74 | .endif | 74 | .endif | |
75 | 75 | |||
76 | # GnuTLS support | 76 | # GnuTLS support | |
77 | .if !empty(PKG_OPTIONS:Mgnutls) | 77 | .if !empty(PKG_OPTIONS:Mgnutls) | |
78 | CONFIGURE_ARGS+= --enable-gnutls | 78 | CONFIGURE_ARGS+= --enable-gnutls | |
79 | .include "../../security/gnutls/buildlink3.mk" | 79 | .include "../../security/gnutls/buildlink3.mk" | |
80 | .else | 80 | .else | |
81 | CONFIGURE_ARGS+= --disable-gnutls | 81 | CONFIGURE_ARGS+= --disable-gnutls | |
82 | .endif | 82 | .endif | |
83 | 83 | |||
84 | # opencore-amr option | 84 | # opencore-amr option | |
85 | .if !empty(PKG_OPTIONS:Mopencore-amr) | 85 | .if !empty(PKG_OPTIONS:Mopencore-amr) | |
86 | CONFIGURE_ARGS+= --enable-libopencore-amrnb | 86 | CONFIGURE_ARGS+= --enable-libopencore-amrnb | |
87 | CONFIGURE_ARGS+= --enable-libopencore-amrwb | 87 | CONFIGURE_ARGS+= --enable-libopencore-amrwb | |
88 | # "The OpenCORE external libraries are under the Apache License | 88 | # "The OpenCORE external libraries are under the Apache License | |
89 | # 2.0. That license is incompatible with the LGPL v2.1 and the GPL | 89 | # 2.0. That license is incompatible with the LGPL v2.1 and the GPL | |
90 | # v2, but not with version 3 of those licenses. So to combine the | 90 | # v2, but not with version 3 of those licenses. So to combine the | |
91 | # OpenCORE libraries with FFmpeg, the license version needs to be | 91 | # OpenCORE libraries with FFmpeg, the license version needs to be | |
92 | # upgraded by passing --enable-version3 to configure." | 92 | # upgraded by passing --enable-version3 to configure." | |
93 | CONFIGURE_ARGS+= --enable-version3 | 93 | CONFIGURE_ARGS+= --enable-version3 | |
94 | # TODO: LICENSE | 94 | # TODO: LICENSE | |
95 | .include "../../audio/opencore-amr/buildlink3.mk" | 95 | .include "../../audio/opencore-amr/buildlink3.mk" | |
96 | .else | 96 | .else | |
97 | CONFIGURE_ARGS+= --disable-libopencore-amrnb | 97 | CONFIGURE_ARGS+= --disable-libopencore-amrnb | |
98 | CONFIGURE_ARGS+= --disable-libopencore-amrwb | 98 | CONFIGURE_ARGS+= --disable-libopencore-amrwb | |
99 | .endif | 99 | .endif | |
100 | 100 | |||
101 | # OpenSSL support | 101 | # OpenSSL support | |
102 | .if !empty(PKG_OPTIONS:Mopenssl) | 102 | .if !empty(PKG_OPTIONS:Mopenssl) | |
103 | CONFIGURE_ARGS+= --enable-nonfree | 103 | CONFIGURE_ARGS+= --enable-nonfree | |
104 | CONFIGURE_ARGS+= --enable-openssl | 104 | CONFIGURE_ARGS+= --enable-openssl | |
105 | .include "../../security/openssl/buildlink3.mk" | 105 | .include "../../security/openssl/buildlink3.mk" | |
106 | .else | 106 | .else | |
107 | CONFIGURE_ARGS+= --disable-openssl | 107 | CONFIGURE_ARGS+= --disable-openssl | |
108 | .endif | 108 | .endif | |
109 | 109 | |||
110 | # RTMP support via librtmp | 110 | # RTMP support via librtmp | |
111 | .if !empty(PKG_OPTIONS:Mrtmp) | 111 | .if !empty(PKG_OPTIONS:Mrtmp) | |
112 | CONFIGURE_ARGS+= --enable-librtmp | 112 | CONFIGURE_ARGS+= --enable-librtmp | |
113 | .include "../../net/rtmpdump/buildlink3.mk" | 113 | .include "../../net/rtmpdump/buildlink3.mk" | |
114 | .endif | 114 | .endif | |
115 | 115 | |||
116 | # OGG Theora support | 116 | # OGG Theora support | |
117 | .if !empty(PKG_OPTIONS:Mtheora) | 117 | .if !empty(PKG_OPTIONS:Mtheora) | |
118 | CONFIGURE_ARGS+= --enable-libtheora | 118 | CONFIGURE_ARGS+= --enable-libtheora | |
119 | .include "../../multimedia/libtheora/buildlink3.mk" | 119 | .include "../../multimedia/libtheora/buildlink3.mk" | |
120 | .endif | 120 | .endif | |
121 | 121 | |||
122 | # OGG Vorbis support | 122 | # OGG Vorbis support | |
123 | .if !empty(PKG_OPTIONS:Mvorbis) | 123 | .if !empty(PKG_OPTIONS:Mvorbis) | |
124 | CONFIGURE_ARGS+= --enable-libvorbis | 124 | CONFIGURE_ARGS+= --enable-libvorbis | |
125 | .include "../../audio/libvorbis/buildlink3.mk" | 125 | .include "../../audio/libvorbis/buildlink3.mk" | |
126 | .endif | 126 | .endif | |
127 | 127 | |||
128 | # LAME MP3 encoder | 128 | # LAME MP3 encoder | |
129 | .if !empty(PKG_OPTIONS:Mlame) | 129 | .if !empty(PKG_OPTIONS:Mlame) | |
130 | # "lame-3.98" isn't compatible with "ffmpeg" which breaks audio encoding. | 130 | # "lame-3.98" isn't compatible with "ffmpeg" which breaks audio encoding. | |
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 | |
165 | .include "../../multimedia/x264-devel/buildlink3.mk" | 167 | .include "../../multimedia/x264-devel/buildlink3.mk" | |
166 | .else | 168 | .else | |
167 | CONFIGURE_ARGS+= --disable-libx264 | 169 | CONFIGURE_ARGS+= --disable-libx264 | |
168 | .endif | 170 | .endif | |
169 | 171 | |||
170 | # x265 support | 172 | # x265 support | |
171 | .if !empty(PKG_OPTIONS:Mx265) | 173 | .if !empty(PKG_OPTIONS:Mx265) | |
172 | CONFIGURE_ARGS+= --enable-libx265 | 174 | CONFIGURE_ARGS+= --enable-libx265 | |
173 | .include "../../multimedia/x265/buildlink3.mk" | 175 | .include "../../multimedia/x265/buildlink3.mk" | |
174 | .else | 176 | .else | |
175 | CONFIGURE_ARGS+= --disable-libx265 | 177 | CONFIGURE_ARGS+= --disable-libx265 | |
176 | .endif | 178 | .endif | |
177 | 179 | |||
178 | # VDPAU support | 180 | # VDPAU support | |
179 | .if !empty(PKG_OPTIONS:Mvdpau) && !empty(PKG_OPTIONS:Mx11) | 181 | .if !empty(PKG_OPTIONS:Mvdpau) && !empty(PKG_OPTIONS:Mx11) | |
180 | CONFIGURE_ARGS+= --enable-vdpau | 182 | CONFIGURE_ARGS+= --enable-vdpau | |
181 | .include "../../multimedia/libvdpau/buildlink3.mk" | 183 | .include "../../multimedia/libvdpau/buildlink3.mk" | |
182 | .else | 184 | .else | |
183 | CONFIGURE_ARGS+= --disable-vdpau | 185 | CONFIGURE_ARGS+= --disable-vdpau | |
184 | .endif | 186 | .endif | |
185 | 187 | |||
186 | # VAAPI support | 188 | # VAAPI support | |
187 | .if !empty(PKG_OPTIONS:Mvaapi) && !empty(PKG_OPTIONS:Mx11) | 189 | .if !empty(PKG_OPTIONS:Mvaapi) && !empty(PKG_OPTIONS:Mx11) | |
188 | CONFIGURE_ARGS+= --enable-vaapi | 190 | CONFIGURE_ARGS+= --enable-vaapi | |
189 | .include "../../multimedia/libva/buildlink3.mk" | 191 | .include "../../multimedia/libva/buildlink3.mk" | |
190 | .else | 192 | .else | |
191 | CONFIGURE_ARGS+= --disable-vaapi | 193 | CONFIGURE_ARGS+= --disable-vaapi | |
192 | .endif | 194 | .endif | |
193 | 195 | |||
194 | # VPX support | 196 | # VPX support | |
195 | .if !empty(PKG_OPTIONS:Mlibvpx) | 197 | .if !empty(PKG_OPTIONS:Mlibvpx) | |
196 | CONFIGURE_ARGS+= --enable-libvpx | 198 | CONFIGURE_ARGS+= --enable-libvpx | |
197 | .include "../../multimedia/libvpx/buildlink3.mk" | 199 | .include "../../multimedia/libvpx/buildlink3.mk" | |
198 | .else | 200 | .else | |
199 | CONFIGURE_ARGS+= --disable-libvpx | 201 | CONFIGURE_ARGS+= --disable-libvpx | |
200 | .endif | 202 | .endif | |
201 | 203 | |||
202 | # X11 screen capture support using libxcb | 204 | # X11 screen capture support using libxcb | |
203 | .if !empty(PKG_OPTIONS:Mxcb) | 205 | .if !empty(PKG_OPTIONS:Mxcb) | |
204 | CONFIGURE_ARGS+= --enable-libxcb | 206 | CONFIGURE_ARGS+= --enable-libxcb | |
205 | CONFIGURE_ARGS+= --enable-libxcb-shape | 207 | CONFIGURE_ARGS+= --enable-libxcb-shape | |
206 | CONFIGURE_ARGS+= --enable-libxcb-shm | 208 | CONFIGURE_ARGS+= --enable-libxcb-shm | |
207 | CONFIGURE_ARGS+= --enable-libxcb-xfixes | 209 | CONFIGURE_ARGS+= --enable-libxcb-xfixes | |
208 | .include "../../x11/libxcb/buildlink3.mk" | 210 | .include "../../x11/libxcb/buildlink3.mk" | |
209 | .else | 211 | .else | |
210 | CONFIGURE_ARGS+= --disable-libxcb | 212 | CONFIGURE_ARGS+= --disable-libxcb | |
211 | .endif | 213 | .endif |
@@ -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 |