Ticket #50693: Portfile-baresip-with-patch.diff
File Portfile-baresip-with-patch.diff, 2.3 KB (added by dbevans (David B. Evans), 9 years ago) |
---|
-
Portfile
5 5 PortGroup muniversal 1.0 6 6 7 7 name baresip 8 version 0.4.1 19 revision 18 version 0.4.17 9 revision 0 10 10 categories net 11 11 platforms darwin 12 12 maintainers db.org:aeh … … 20 20 homepage http://www.creytiv.com/ 21 21 master_sites ${homepage}pub/ 22 22 23 checksums rmd160 e2c880fa8983093f8c0fa5edecccd927445836ae\24 sha256 852d8351d510590a36d8987e60d81cc1f446c51a5b80c1d36556264f638285e223 checksums rmd160 893b313d9a22e2874257b2eb86fe09c96dfeebc0 \ 24 sha256 de7e6ff0185290eb50f2956d81a0fcdcf2a2af76432f64f090dd7be5db53d680 25 25 26 26 depends_lib port:libre \ 27 27 port:librem \ … … 29 29 port:x264 \ 30 30 path:lib/libavcodec.dylib:ffmpeg 31 31 32 patchfiles patch-ffmpeg-3.0.diff 33 32 34 use_configure no 33 35 34 36 build.args PREFIX=${prefix} \ … … 36 38 MOD_AUTODETECT= \ 37 39 USE_CONS=1 \ 38 40 USE_COREAUDIO=1 \ 39 USE_ FFMPEG=1 \41 USE_AVCODEC=1 \ 40 42 USE_G711=1 \ 41 43 USE_G722=1 \ 42 44 USE_OPENGL=1 \ 43 45 USE_AVCAPTURE=1 \ 44 46 USE_STDIO=1 \ 45 USE_UUID=1 \46 47 LIBRE_MK=${prefix}/share/re/re.mk \ 47 48 LIBRE_INC=${prefix}/include/re \ 48 49 LIBRE_SO=${prefix}/lib \ -
files/patch-ffmpeg-3.0.diff
1 --- modules/avcodec/encode.c.orig 2016-02-29 16:17:00.000000000 -0800 2 +++ modules/avcodec/encode.c 2016-02-29 16:17:26.000000000 -0800 3 @@ -171,7 +171,7 @@ 4 st->ctx->width = size->w; 5 st->ctx->height = size->h; 6 st->ctx->gop_size = DEFAULT_GOP_SIZE; 7 - st->ctx->pix_fmt = PIX_FMT_YUV420P; 8 + st->ctx->pix_fmt = AV_PIX_FMT_YUV420P; 9 st->ctx->time_base.num = 1; 10 st->ctx->time_base.den = prm->fps; 11