pkgsrc/multimedia/ffmpeg2/buildlink3.mk

56 lines
1.5 KiB
Makefile
Raw Normal View History

# $NetBSD: buildlink3.mk,v 1.13 2018/03/12 11:15:40 wiz Exp $
BUILDLINK_TREE+= ffmpeg2
.if !defined(FFMPEG2_BUILDLINK3_MK)
FFMPEG2_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ffmpeg2+= ffmpeg2>=2.0
BUILDLINK_ABI_DEPENDS.ffmpeg2+= ffmpeg2>=2.8.14nb2
BUILDLINK_PKGSRCDIR.ffmpeg2?= ../../multimedia/ffmpeg2
pkgbase := ffmpeg2
version 2.8.12: - avcodec/mjpegdec: Check that reference frame matches the current frame - avcodec/tiff: Avoid loosing allocated geotag values - avcodec/cavs: Fix runtime error: signed integer overflow: -12648062 * 256 cannot be represented in type 'int' - avformat/hls: Check local file extensions - avcodec/qdrw: Fix null pointer dereference - avutil/softfloat: Fix sign error in and improve documentation of av_int2sf() - avcodec/hevc_ps: Fix runtime error: index 32 out of bounds for type 'uint8_t [32]' - avcodec/pafvideo: Check packet size and frame code before ff_reget_buffer() - avcodec/ac3dec_fixed: Fix runtime error: left shift of 419 by 23 places cannot be represented in type 'int' - avcodec/aacps: Fix runtime error: left shift of 1073741824 by 1 places cannot be represented in type 'INTFLOAT' (aka 'int') - avcodec/wavpack: Fix runtime error: shift exponent 32 is too large for 32-bit type 'int' - avcodec/wavpack: Fix runtime error: signed integer overflow: 2013265955 - -134217694 cannot be represented in type 'int' - avcodec/cinepak: Check input packet size before frame reallocation - avcodec/hevc_ps: Fix runtime error: signed integer overflow: 2147483628 + 256 cannot be represented in type 'int' - avcodec/ra144: Fixes runtime error: signed integer overflow: 7160 * 327138 cannot be represented in type 'int' - avcodec/pnm: Use ff_set_dimensions() - avcodec/cavsdec: Fix runtime error: signed integer overflow: 59 + 2147483600 cannot be represented in type 'int' - avformat/avidec: Limit formats in gab2 to srt and ass/ssa - avcodec/acelp_pitch_delay: Fix runtime error: value 4.83233e+39 is outside the range of representable values of type 'float' - avcodec/wavpack: Check float_shift - avcodec/wavpack: Fix runtime error: signed integer overflow: 24 * -2147483648 cannot be represented in type 'int' - avcodec/ansi: Fix frame memleak - avcodec/jpeg2000dec: Use ff_set_dimensions() - avcodec/truemotion2: Fix passing null pointer to memset() - avcodec/truemotion2: Fix runtime error: left shift of 1 by 31 places cannot be represented in type 'int' - avcodec/ra144: Fix runtime error: signed integer overflow: -2449 * 1398101 cannot be represented in type 'int' - avcodec/ra144: Fix runtime error: signed integer overflow: 11184810 * 404 cannot be represented in type 'int' - avcodec/aac_defines: Add missing () to AAC_HALF_SUM() macro - avcodec/webp: Fixes null pointer dereference - avcodec/aacdec_fixed: Fix runtime error: left shift of 1 by 31 places cannot be represented in type 'int' - avcodec/snow: Fix runtime error: signed integer overflow: 1086573993 + 1086573994 cannot be represented in type 'int' - avcodec/jpeg2000: Fix runtime error: signed integer overflow: 4185 + 2147483394 cannot be represented in type 'int' - avcodec/jpeg2000dec: Check tile offsets more completely - avcodec/aacdec_fixed: Fix multiple runtime error: shift exponent 127 is too large for 32-bit type 'int' - avcodec/wnv1: More strict buffer size check - avcodec/libfdk-aacdec: Correct buffer_size parameter - avcodec/sbrdsp_template: Fix: runtime error: signed integer overflow: 849815297 + 1315389781 cannot be represented in type 'int' - avcodec/ivi_dsp: Fix runtime error: left shift of negative value -2 - doc/filters: Clarify scale2ref example - avcodec/mlpdec: Do not leave invalid values in matrix_out_ch[] on error - avcodec/ra144dec: Fix runtime error: left shift of negative value -17 - avformat/mux: Fix copy an paste typo - avutil/internal: Do not enable CHECKED with DEBUG more...
2017-06-19 10:22:47 +02:00
.include "../../mk/pkg-build-options.mk"
.include "../../mk/bsd.fast.prefs.mk"
.if !empty(PKG_BUILD_OPTIONS.ffmpeg2:Mfreetype)
. include "../../graphics/freetype2/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.ffmpeg2:Mfontconfig)
. include "../../fonts/fontconfig/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.ffmpeg2:Mtheora)
. include "../../multimedia/libtheora/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.ffmpeg2:Mxvid)
. include "../../multimedia/xvidcore/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.ffmpeg2:Mx264)
. include "../../multimedia/x264-devel/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.ffmpeg2:Mfaac)
. include "../../audio/faac/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.ffmpeg2:Mlibvpx)
. include "../../multimedia/libvpx/buildlink3.mk"
.endif
BUILDLINK_INCDIRS.ffmpeg2+= include/ffmpeg2
BUILDLINK_LIBDIRS.ffmpeg2+= lib/ffmpeg2
BUILDLINK_FNAME_TRANSFORM.ffmpeg2+= -e 's|lib/ffmpeg2/pkgconfig/|lib/pkgconfig/|'
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../archivers/xz/buildlink3.mk"
.include "../../devel/libgetopt/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.endif # FFMPEG2_BUILDLINK3_MK
BUILDLINK_TREE+= -ffmpeg2