| 6 | |
| 7 | Basically, this is what needs to be done - and I don't know who did this but It's already here and just needs to be incorporated: |
| 8 | |
| 9 | https://p.dnnr.de/ga2IAr7WWE4qiMbS |
| 10 | |
| 11 | |
| 12 | {{{ |
| 13 | diff --git a/multimedia/x265/Portfile b/multimedia/x265/Portfile |
| 14 | index 99e435c5635..3a6a94f7c27 100644 |
| 15 | --- a/multimedia/x265/Portfile |
| 16 | +++ b/multimedia/x265/Portfile |
| 17 | @@ -55,6 +55,9 @@ platform darwin 10 { |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | +configure.args-append \ |
| 22 | + -DENABLE_HDR10_PLUS=On |
| 23 | + |
| 24 | if {${universal_possible} && [variant_isset universal] && ![variant_isset highdepth]} { |
| 25 | |
| 26 | if {"x86_64" in ${configure.universal_archs} || "i386" in ${configure.universal_archs}} { |
| 27 | @@ -99,15 +102,15 @@ variant highdepth conflicts universal description {Enable 10-bit and 12-bit enco |
| 28 | configure { |
| 29 | |
| 30 | set configure.dir ${workpath}/10bit |
| 31 | - configure.args -DHIGH_BIT_DEPTH=ON -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=OFF |
| 32 | + configure.args -DENABLE_HDR10_PLUS=ON -DHIGH_BIT_DEPTH=ON -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=OFF |
| 33 | portconfigure::configure_main |
| 34 | |
| 35 | set configure.dir ${workpath}/12bit |
| 36 | - configure.args -DHIGH_BIT_DEPTH=ON -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=OFF -DMAIN12=ON |
| 37 | + configure.args -DENABLE_HDR10_PLUS=ON -DHIGH_BIT_DEPTH=ON -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=OFF -DMAIN12=ON |
| 38 | portconfigure::configure_main |
| 39 | |
| 40 | set configure.dir ${workpath}/build |
| 41 | - configure.args -DEXTRA_LIB="x265_main10.a\;x265_main12.a" -DEXTRA_LINK_FLAGS=-L. -DLINKED_10BIT=ON -DLINKED_12BIT=ON |
| 42 | + configure.args -DENABLE_HDR10_PLUS=ON -DEXTRA_LIB="x265_main10.a\;x265_main12.a" -DEXTRA_LINK_FLAGS=-L. -DLINKED_10BIT=ON -DLINKED_12BIT=ON |
| 43 | portconfigure::configure_main |
| 44 | |
| 45 | } |
| 46 | }}} |