Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2020 22:39:14 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r522293 - head/multimedia/libvpx
Message-ID:  <202001062239.006MdEDt020433@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Jan  6 22:39:14 2020
New Revision: 522293
URL: https://svnweb.freebsd.org/changeset/ports/522293

Log:
  multimedia/libvpx: kill all options
  
  None of the consumers were tested with non-default options. As
  there're no additional dependencies users are better off with
  Makefile.local which provides access to more e.g.
  
    --enable-better-hw-compatibility
    --enable-onthefly-bitpacking
    --enable-error-concealment
    --enable-coefficient-range-checking
    --enable-postproc-visualizer
  
  Similar to multimedia/aom this reduces maintenance.

Modified:
  head/multimedia/libvpx/Makefile   (contents, props changed)
  head/multimedia/libvpx/pkg-plist   (contents, props changed)

Modified: head/multimedia/libvpx/Makefile
==============================================================================
--- head/multimedia/libvpx/Makefile	Mon Jan  6 22:39:14 2020	(r522292)
+++ head/multimedia/libvpx/Makefile	Mon Jan  6 22:39:14 2020	(r522293)
@@ -27,40 +27,17 @@ SHEBANG_FILES=	build/make/ads2gas.pl
 CONFIGURE_ARGS=	--prefix=${PREFIX} \
 		--disable-install-docs \
 		--disable-install-srcs \
-		--enable-pic
+		--disable-unit-tests \
+		--enable-multi-res-encoding \
+		--enable-pic \
+		--enable-shared \
+		--enable-vp9-highbitdepth \
+		--enable-vp9-postproc \
+		--enable-vp9-temporal-denoising \
+		--size-limit=16384x16384
 MAKE_ARGS+=	verbose=yes
 ALL_TARGET=	# empty
 
-OPTIONS_DEFINE=	DEBUG HI10P MULTIRES POSTPROC RTCPU SHARED SIZE_LIMIT TEST THREADS
-OPTIONS_DEFAULT=HI10P MULTIRES POSTPROC RTCPU SHARED SIZE_LIMIT THREADS
-OPTIONS_EXCLUDE_powerpcspe=RTCPU
-OPTIONS_SUB=		yes
-
-DEBUG_CONFIGURE_ENABLE=	debug
-
-HI10P_DESC=		VP9 high bit depth (10/12) profiles
-HI10P_CONFIGURE_ENABLE=	vp9-highbitdepth
-
-MULTIRES_DESC=		Enable multi-resolution encoding
-MULTIRES_CONFIGURE_ENABLE=	multi-res-encoding
-
-POSTPROC_DESC=		Enable postprocessing
-POSTPROC_CONFIGURE_ENABLE=	postproc vp9-postproc vp9-temporal-denoising
-
-RTCPU_DESC=		Detect CPU capabilities at runtime
-RTCPU_CONFIGURE_ENABLE=	runtime-cpu-detect
-
-SHARED_DESC=		Enable shared-library support
-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_ENABLE=	unit-tests
-
-THREADS_CONFIGURE_ENABLE=	multithread
-
 post-patch:
 	@${REINPLACE_CMD} -E '/gcctarget|link_with_cc/s/gcc[[:>:]]/$${CC}/' \
 		${WRKSRC}/build/make/configure.sh
@@ -70,8 +47,6 @@ post-patch:
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/vpx*
-
-post-install-SHARED-on:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libvpx.so.*.*.*
 
 .include <bsd.port.mk>

Modified: head/multimedia/libvpx/pkg-plist
==============================================================================
--- head/multimedia/libvpx/pkg-plist	Mon Jan  6 22:39:14 2020	(r522292)
+++ head/multimedia/libvpx/pkg-plist	Mon Jan  6 22:39:14 2020	(r522293)
@@ -10,8 +10,8 @@ include/vpx/vpx_frame_buffer.h
 include/vpx/vpx_image.h
 include/vpx/vpx_integer.h
 lib/libvpx.a
-%%SHARED%%lib/libvpx.so
-%%SHARED%%lib/libvpx.so.6
-%%SHARED%%lib/libvpx.so.6.2
-%%SHARED%%lib/libvpx.so.6.2.0
+lib/libvpx.so
+lib/libvpx.so.6
+lib/libvpx.so.6.2
+lib/libvpx.so.6.2.0
 libdata/pkgconfig/vpx.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001062239.006MdEDt020433>