Bug 185212 - [patch] multimedia/libvpx: update to 1.3.0 (using debian distfile)
Summary: [patch] multimedia/libvpx: update to 1.3.0 (using debian distfile)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ashish SHUKLA
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-26 22:10 UTC by Jan Beich
Modified: 2014-01-09 11:40 UTC (History)
0 users

See Also:


Attachments
update.diff (4.14 KB, patch)
2013-12-26 22:10 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2013-12-26 22:10:00 UTC
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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-12-26 22:10:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ashish

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 ashish.is 2013-12-27 08:19:28 UTC
Hi Jan,

Thanks for the update. It seems to build fine on my box. I'm testing the build
on other platforms, and will commit by tomorrow (Saturday), if no problems are
found.

Thanks
-- 
Ashish SHUKLA

âShe dump(8)-ed me without caring to restore(8).â (abbe, 2005)

Sent from my Emacs
Comment 3 Ashish SHUKLA freebsd_committer freebsd_triage 2013-12-27 08:53:11 UTC
Hi Jan,

It seems to build on all platforms except 8.x (amd64). Following is the link
to build log, if you like to look:

https://redports.org/~ashish/20131227081627-08883-165657/libvpx-1.3.0.log

Thanks
-- 
Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
Sent from my Emacs
Comment 4 dfilter service freebsd_committer freebsd_triage 2014-01-09 11:31:07 UTC
Author: ashish
Date: Thu Jan  9 11:30:53 2014
New Revision: 339215
URL: http://svnweb.freebsd.org/changeset/ports/339215

Log:
  - Update to 1.3.0
  - Use distfile provided by Debian
  - Add dependency on GCC from ports when building on 8.x (amd64) due
    to code generation issue with built-in GCC
  
  PR:		ports/185212
  Submitted by:	Jan Beich <jbeich at tormail.org>

Deleted:
  head/multimedia/libvpx/files/patch-build_make_configure.sh
Modified:
  head/multimedia/libvpx/Makefile
  head/multimedia/libvpx/distinfo
  head/multimedia/libvpx/files/patch-configure
  head/multimedia/libvpx/pkg-descr
  head/multimedia/libvpx/pkg-plist

Modified: head/multimedia/libvpx/Makefile
==============================================================================
--- head/multimedia/libvpx/Makefile	Thu Jan  9 10:32:28 2014	(r339214)
+++ head/multimedia/libvpx/Makefile	Thu Jan  9 11:30:53 2014	(r339215)
@@ -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@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/b
 
 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
 
@@ -45,6 +49,12 @@ SHARED_CONFIGURE_ON=	--enable-shared
 
 .include <bsd.port.options.mk>
 
+.if ${OSVERSION}  < 900000
+.if ${ARCH} == "amd64"
+USE_GCC=	yes
+.endif
+.endif
+
 .if ${OSVERSION} >= 1000000
 CONFIGURE_ARGS+=	--disable-unit-tests
 .endif

Modified: head/multimedia/libvpx/distinfo
==============================================================================
--- head/multimedia/libvpx/distinfo	Thu Jan  9 10:32:28 2014	(r339214)
+++ head/multimedia/libvpx/distinfo	Thu Jan  9 11:30:53 2014	(r339215)
@@ -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

Modified: head/multimedia/libvpx/files/patch-configure
==============================================================================
--- head/multimedia/libvpx/files/patch-configure	Thu Jan  9 10:32:28 2014	(r339214)
+++ head/multimedia/libvpx/files/patch-configure	Thu Jan  9 11:30:53 2014	(r339215)
@@ -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"
  

Modified: head/multimedia/libvpx/pkg-descr
==============================================================================
--- head/multimedia/libvpx/pkg-descr	Thu Jan  9 10:32:28 2014	(r339214)
+++ head/multimedia/libvpx/pkg-descr	Thu Jan  9 11:30:53 2014	(r339215)
@@ -1,3 +1,3 @@
-libvpx is the VP8 Codec SDK.
+libvpx is the VP8/VP9 Codec SDK.
 
 WWW: http://www.webmproject.org/

Modified: head/multimedia/libvpx/pkg-plist
==============================================================================
--- head/multimedia/libvpx/pkg-plist	Thu Jan  9 10:32:28 2014	(r339214)
+++ head/multimedia/libvpx/pkg-plist	Thu Jan  9 11:30:53 2014	(r339215)
@@ -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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Ashish SHUKLA freebsd_committer freebsd_triage 2014-01-09 11:31:13 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!