Bug 185381 - [patch] enable hi10p encoding in multimedia/x264
Summary: [patch] enable hi10p encoding in multimedia/x264
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: Kubilay Kocak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-01 04:20 UTC by Kenta Suzumoto
Modified: 2014-01-26 01:00 UTC (History)
0 users

See Also:


Attachments
file.diff (716 bytes, patch)
2014-01-01 04:20 UTC, Kenta Suzumoto
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kenta Suzumoto 2014-01-01 04:20:00 UTC
The multimedia/x264 is currently forcing 8bit encoding.
This patch lets the user decide which one to use.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-01-01 04:47:49 UTC
Responsible Changed
From-To: freebsd-ports-bugs->koobs

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-01-26 00:58:18 UTC
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
_______________________________________________
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 3 Kubilay Kocak freebsd_committer freebsd_triage 2014-01-26 00:58:54 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!