summaryrefslogtreecommitdiff
path: root/multimedia/libvpx/Makefile
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-01-06 22:37:59 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-01-06 22:37:59 +0000
commit963bc22e394c2c8a3d03c1d859a68f3727bad300 (patch)
tree23fdfad290e2cfa23a10d67564dad19027886e11 /multimedia/libvpx/Makefile
parentmultimedia/libvpx: enable 10/12-bit profiles (diff)
multimedia/libvpx: convert to _ENABLE option helper
Notes
Notes: svn path=/head/; revision=522291
Diffstat (limited to 'multimedia/libvpx/Makefile')
-rw-r--r--multimedia/libvpx/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/multimedia/libvpx/Makefile b/multimedia/libvpx/Makefile
index 63eaade2c2b2..d5224273f2e1 100644
--- a/multimedia/libvpx/Makefile
+++ b/multimedia/libvpx/Makefile
@@ -36,32 +36,30 @@ OPTIONS_DEFAULT=HI10P MULTIRES POSTPROC RTCPU SHARED SIZE_LIMIT THREADS
OPTIONS_EXCLUDE_powerpcspe=RTCPU
OPTIONS_SUB= yes
-DEBUG_CONFIGURE_ON= --enable-debug
+DEBUG_CONFIGURE_ENABLE= debug
HI10P_DESC= VP9 high bit depth (10/12) profiles
-HI10P_CONFIGURE_ON= --enable-vp9-highbitdepth
+HI10P_CONFIGURE_ENABLE= vp9-highbitdepth
MULTIRES_DESC= Enable multi-resolution encoding
-MULTIRES_CONFIGURE_ON= --enable-multi-res-encoding
+MULTIRES_CONFIGURE_ENABLE= multi-res-encoding
POSTPROC_DESC= Enable postprocessing
-POSTPROC_CONFIGURE_ON= --enable-vp9-postproc \
- --enable-vp9-temporal-denoising
-POSTPROC_CONFIGURE_OFF= --disable-postproc
+POSTPROC_CONFIGURE_ENABLE= postproc vp9-postproc vp9-temporal-denoising
RTCPU_DESC= Detect CPU capabilities at runtime
-RTCPU_CONFIGURE_OFF= --disable-runtime-cpu-detect
+RTCPU_CONFIGURE_ENABLE= runtime-cpu-detect
SHARED_DESC= Enable shared-library support
-SHARED_CONFIGURE_ON= --enable-shared
+SHARED_CONFIGURE_ENABLE=shared
SIZE_LIMIT_DESC= Maximum size allowed by decoder: ${SIZE_LIMIT}
SIZE_LIMIT_CONFIGURE_ON=--size-limit=${SIZE_LIMIT}
SIZE_LIMIT?= 16384x16384 # Chromium; Firefox has 8192x4608
-TEST_CONFIGURE_OFF= --disable-unit-tests
+TEST_CONFIGURE_ENABLE= unit-tests
-THREADS_CONFIGURE_OFF= --disable-multithread
+THREADS_CONFIGURE_ENABLE= multithread
post-patch:
@${REINPLACE_CMD} -E '/gcctarget|link_with_cc/s/gcc[[:>:]]/$${CC}/' \