Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2014 00:58:05 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341152 - head/multimedia/x264
Message-ID:  <201401260058.s0Q0w5Pj014309@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Sun Jan 26 00:58:05 2014
New Revision: 341152
URL: http://svnweb.freebsd.org/changeset/ports/341152
QAT: https://qat.redports.org/buildarchive/r341152/

Log:
  multimedia/x264: Add OPTION for High 10 Profile 10-bit encoding
  
  - Add OPTION for High 10 Profile 10-bit encoding
  - Bump PORTREVISION
  
  PR:		ports/185381
  Submitted by:	Kenta S <kentas@hush.com>

Modified:
  head/multimedia/x264/Makefile

Modified: head/multimedia/x264/Makefile
==============================================================================
--- head/multimedia/x264/Makefile	Sun Jan 26 00:53:44 2014	(r341151)
+++ head/multimedia/x264/Makefile	Sun Jan 26 00:58:05 2014	(r341152)
@@ -3,7 +3,7 @@
 
 PORTNAME=	x264
 PORTVERSION=	0.${X264_BUILD}.${X264_REV}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	multimedia
 MASTER_SITES=	ftp://ftp.videolan.org/pub/videolan/x264/snapshots/ \
 		http://samples.mplayerhq.hu/yuv4mpeg2/:pgo
@@ -32,10 +32,11 @@ WRKSRC=		${WRKDIR}/${DISTNAME}
 USE_LDCONFIG=	yes
 HAS_CONFIGURE=	yes
 
-OPTIONS_DEFINE=		ASM DEBUG PGO GCC GPAC X11_OUTPUT
-OPTIONS_DEFAULT=	ASM GPAC
+OPTIONS_DEFINE=		ASM DEBUG HI10P PGO GCC GPAC X11_OUTPUT
+OPTIONS_DEFAULT=	ASM GPAC HI10P
 ASM_DESC=		Enable Assembly Optimizations
 GCC_DESC=		Use current GCC
+HI10P_DESC=		Enable High 10 Profile 10-bit encoding
 GPAC_DESC=		Enable MPEG-4 Output
 X11_OUTPUT_DESC=	Enable X11 Output
 
@@ -58,6 +59,10 @@ USE_GCC=	any
 CONFIGURE_ARGS+=	--disable-asm
 .endif
 
+.if ${PORT_OPTIONS:MHI10P}
+CONFIGURE_ARGS+=	--bit-depth=10
+.endif
+
 .if ${PORT_OPTIONS:MDEBUG} || defined(WITH_DEBUG)
 CONFIGURE_ARGS+=	--enable-debug
 .endif



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