diff options
author | jbeich <jbeich@FreeBSD.org> | 2015-11-11 06:24:48 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2015-11-11 06:24:48 +0800 |
commit | 80bcfbb7e41d28d18553cb27150ac270c0b8d721 (patch) | |
tree | 879770405f2d7b8241b7f4c8ddf3203e2a867ebf /multimedia | |
parent | c14615bc50ff46bcb0de6c666f14936ea414d486 (diff) | |
download | freebsd-ports-graphics-80bcfbb7e41d28d18553cb27150ac270c0b8d721.tar.gz freebsd-ports-graphics-80bcfbb7e41d28d18553cb27150ac270c0b8d721.tar.zst freebsd-ports-graphics-80bcfbb7e41d28d18553cb27150ac270c0b8d721.zip |
multimedia/libvpx: bring more Chromium defaults
- Add SIZE_LIMIT to work around CVE-2015-4506
- Add MULTIRES and extend POSTPROC
- Sort options
PR: 203410
Approved by: maintainer timeout (6 weeks)
MFH: 2015Q4
Security: 6ca7eddd-d436-486a-b169-b948436bcf14
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/libvpx/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/multimedia/libvpx/Makefile b/multimedia/libvpx/Makefile index 845fcee9c7f..47f51369a82 100644 --- a/multimedia/libvpx/Makefile +++ b/multimedia/libvpx/Makefile @@ -5,6 +5,7 @@ PORTNAME= libvpx DISTVERSIONPREFIX= v DISTVERSION= 1.4.0-488 # tracking www/firefox DISTVERSIONSUFFIX= -ge67d45d +PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= ashish@FreeBSD.org @@ -24,12 +25,14 @@ HAS_CONFIGURE= yes USE_PERL5= build USE_LDCONFIG= yes -OPTIONS_DEFINE= DEBUG POSTPROC RUNTIME THREADS SHARED -OPTIONS_DEFAULT= POSTPROC RUNTIME THREADS SHARED +OPTIONS_DEFINE= DEBUG MULTIRES POSTPROC RUNTIME SHARED SIZE_LIMIT THREADS +OPTIONS_DEFAULT=MULTIRES POSTPROC RUNTIME SHARED SIZE_LIMIT THREADS OPTIONS_EXCLUDE_armv6= RUNTIME +MULTIRES_DESC= Enable multi-resolution encoding POSTPROC_DESC= Enable postprocessing RUNTIME_DESC= Enable runtime CPU detection SHARED_DESC= Enable shared-library support +SIZE_LIMIT_DESC=Maximum size allowed by decoder: ${SIZE_LIMIT} ALL_TARGET= CONFIGURE_ARGS+=--prefix=${PREFIX} \ @@ -44,10 +47,14 @@ MAKE_ENV= LC_ALL=C OPTIONS_SUB= SHARED DEBUG_CONFIGURE_ON= --enable-debug -POSTPROC_CONFIGURE_ON= --enable-postproc +MULTIRES_CONFIGURE_ON= --enable-multi-res-encoding +POSTPROC_CONFIGURE_ON= --enable-postproc --enable-vp9-postproc \ + --enable-vp9-temporal-denoising RUNTIME_CONFIGURE_ON= --enable-runtime-cpu-detect -THREADS_CONFIGURE_OFF= --disable-multithread SHARED_CONFIGURE_ON= --enable-shared +SIZE_LIMIT_CONFIGURE_ON=--size-limit=${SIZE_LIMIT} +SIZE_LIMIT?= 16384x16384 # Chromium; Firefox has 4000x3000 +THREADS_CONFIGURE_OFF= --disable-multithread SHEBANG_FILES= build/make/ads2gas.pl |