ports/185381: [patch] enable hi10p encoding in multimedia/x264
Kenta S
kentas at hush.com
Wed Jan 1 04:20:01 UTC 2014
>Number: 185381
>Category: ports
>Synopsis: [patch] enable hi10p encoding in multimedia/x264
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 01 04:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Kenta S
>Release: 9.2-RELEASE
>Organization:
>Environment:
>Description:
The multimedia/x264 is currently forcing 8bit encoding.
This patch lets the user decide which one to use.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
--- Makefile.orig 2013-12-31 23:09:14.000000000 -0500
+++ Makefile 2013-12-31 23:08:38.000000000 -0500
@@ -32,10 +32,11 @@
USE_LDCONFIG= yes
HAS_CONFIGURE= yes
-OPTIONS_DEFINE= ASM DEBUG PGO GCC GPAC X11_OUTPUT
+OPTIONS_DEFINE= ASM DEBUG HI10P PGO GCC GPAC X11_OUTPUT
OPTIONS_DEFAULT= ASM GPAC
ASM_DESC= Enable Assembly Optimizations
GCC_DESC= Use current GCC
+HI10P_DESC= Enable Hi10P 10-bit encoding
GPAC_DESC= Enable MPEG-4 Output
X11_OUTPUT_DESC= Enable X11 Output
@@ -58,6 +59,10 @@
CONFIGURE_ARGS+= --disable-asm
.endif
+.if !${PORT_OPTIONS:HI10P}
+CONFIGURE_ARGS+= --bit-depth=10
+.endif
+
.if ${PORT_OPTIONS:MDEBUG} || defined(WITH_DEBUG)
CONFIGURE_ARGS+= --enable-debug
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list