ports/185212: [patch] multimedia/libvpx: update to 1.3.0 (using debian distfile)

Jan Beich jbeich at tormail.org
Thu Dec 26 22:10:00 UTC 2013


>Number:         185212
>Category:       ports
>Synopsis:       [patch] multimedia/libvpx: update to 1.3.0 (using debian distfile)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 26 22:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jan Beich
>Release:        
>Organization:
>Environment:
tested on firefox 29.0 against ffmpeg-encoded sample

>Description:
For the upcoming www/firefox 28.0 to continue using --with-system-libvpx
the port has to be updated to 1.3.0 which provides --enable-vp9.
www/chromium 27.0 likely switched to internal libvpx for the same reason.

https://git.chromium.org/gitweb/?p=webm/libvpx.git;a=tag;h=v1.3.0

>How-To-Repeat:

>Fix:
--- update.diff begins here ---
Index: multimedia/libvpx/Makefile
===================================================================
--- multimedia/libvpx/Makefile	(revision 337313)
+++ multimedia/libvpx/Makefile	(working copy)
@@ -2,14 +2,13 @@
 # $FreeBSD$
 
 PORTNAME=	libvpx
-PORTVERSION=	1.2.0
-PORTREVISION=	1
+PORTVERSION=	1.3.0
 CATEGORIES=	multimedia
-MASTER_SITES=	GOOGLE_CODE
-DISTNAME=	${PORTNAME}-v${PORTVERSION}
+MASTER_SITES=	DEBIAN
+DISTNAME=	${PORTNAME}_${DISTVERSION}.orig
 
 MAINTAINER=	ashish at FreeBSD.org
-COMMENT=	VP8 Codec SDK
+COMMENT=	VP8/VP9 Codec SDK
 
 LICENSE=	BSD
 LICENSE_FILE=	${WRKSRC}/LICENSE
@@ -19,7 +18,6 @@ BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash \
 
 USES=		gmake perl5
 USE_BZIP2=	yes
-PROJECTHOST=	webm
 HAS_CONFIGURE=	yes
 USE_PERL5=	build
 USE_LDCONFIG=	yes
@@ -30,8 +28,14 @@ POSTPROC_DESC=	Enable postprocessing
 RUNTIME_DESC=	Enable runtime CPU detection
 SHARED_DESC=	Enable shared-library support
 
+WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
 ALL_TARGET=
-CONFIGURE_ARGS+=	--enable-pic --disable-install-srcs --enable-vp8 --disable-install-docs --prefix=${PREFIX}
+CONFIGURE_ARGS+=--prefix=${PREFIX} \
+		--disable-install-docs \
+		--disable-install-srcs \
+		--enable-pic \
+		--enable-vp8 \
+		--enable-vp9
 MAKE_ARGS+=	verbose=yes
 MAKE_ENV=	LC_ALL=C
 
Index: multimedia/libvpx/distinfo
===================================================================
--- multimedia/libvpx/distinfo	(revision 337313)
+++ multimedia/libvpx/distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (libvpx-v1.2.0.tar.bz2) = 5ef0c650b2daa62085eb8105a7a4273f3e987db53c5ec97fd51d1b6511e5aa06
-SIZE (libvpx-v1.2.0.tar.bz2) = 1714121
+SHA256 (libvpx_1.3.0.orig.tar.bz2) = bd5af97b74d53a111b48852dfcd1791b2c758f1fe972833b363fe34a83a7750a
+SIZE (libvpx_1.3.0.orig.tar.bz2) = 2077846
Index: multimedia/libvpx/files/patch-build_make_configure.sh
===================================================================
--- multimedia/libvpx/files/patch-build_make_configure.sh	(revision 337313)
+++ multimedia/libvpx/files/patch-build_make_configure.sh	(working copy)
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- build/make/configure.sh.orig
-+++ build/make/configure.sh
-@@ -1135,7 +1135,7 @@
- print_webm_license() {
-     local destination=$1
-     local prefix=$2
--    local suffix=$3
-+    local suffix="$3"
-     shift 3
-     cat <<EOF > ${destination}
- ${prefix} Copyright (c) 2011 The WebM project authors. All Rights Reserved.${suffix}
Index: multimedia/libvpx/files/patch-configure
===================================================================
--- multimedia/libvpx/files/patch-configure	(revision 337313)
+++ multimedia/libvpx/files/patch-configure	(working copy)
@@ -3,10 +3,10 @@ $FreeBSD$
 
 --- configure.orig
 +++ configure
-@@ -134,6 +134,7 @@
- all_platforms="${all_platforms} universal-darwin10-gcc"
+@@ -149,6 +149,7 @@
  all_platforms="${all_platforms} universal-darwin11-gcc"
  all_platforms="${all_platforms} universal-darwin12-gcc"
+ all_platforms="${all_platforms} universal-darwin13-gcc"
 +all_platforms="${all_platforms} ia64-linux-gcc"
  all_platforms="${all_platforms} generic-gnu"
  
Index: multimedia/libvpx/pkg-descr
===================================================================
--- multimedia/libvpx/pkg-descr	(revision 337313)
+++ multimedia/libvpx/pkg-descr	(working copy)
@@ -1,3 +1,3 @@
-libvpx is the VP8 Codec SDK.
+libvpx is the VP8/VP9 Codec SDK.
 
 WWW: http://www.webmproject.org/
Index: multimedia/libvpx/pkg-plist
===================================================================
--- multimedia/libvpx/pkg-plist	(revision 337313)
+++ multimedia/libvpx/pkg-plist	(working copy)
@@ -1,12 +1,12 @@
 bin/vpxdec
 bin/vpxenc
 bin/vp8_scalable_patterns
+bin/vp9_spatial_scalable_encoder
+include/vpx/svc_context.h
 include/vpx/vp8.h
 include/vpx/vp8cx.h
 include/vpx/vp8dx.h
 include/vpx/vpx_codec.h
-include/vpx/vpx_codec_impl_bottom.h
-include/vpx/vpx_codec_impl_top.h
 include/vpx/vpx_decoder.h
 include/vpx/vpx_encoder.h
 include/vpx/vpx_image.h
@@ -15,6 +15,6 @@ lib/libvpx.a
 libdata/pkgconfig/vpx.pc
 %%SHARED%%lib/libvpx.so
 %%SHARED%%lib/libvpx.so.1
-%%SHARED%%lib/libvpx.so.1.2
-%%SHARED%%lib/libvpx.so.1.2.0
+%%SHARED%%lib/libvpx.so.1.3
+%%SHARED%%lib/libvpx.so.1.3.0
 @dirrm include/vpx
--- update.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list