[145586] trunk/dports/multimedia/x264/Portfile

devans at macports.org devans at macports.org
Wed Feb 10 08:16:16 PST 2016


Revision: 145586
          https://trac.macports.org/changeset/145586
Author:   devans at macports.org
Date:     2016-02-10 08:16:16 -0800 (Wed, 10 Feb 2016)
Log Message:
-----------
x264: update to build 148 using stable snapshot as of 20160119, add variant +high10 to enable support for 10-bit encoding (#50584).

Modified Paths:
--------------
    trunk/dports/multimedia/x264/Portfile

Modified: trunk/dports/multimedia/x264/Portfile
===================================================================
--- trunk/dports/multimedia/x264/Portfile	2016-02-10 15:28:28 UTC (rev 145585)
+++ trunk/dports/multimedia/x264/Portfile	2016-02-10 16:16:16 UTC (rev 145586)
@@ -6,9 +6,7 @@
 PortGroup           xcodeversion 1.0
 
 name                x264
-version             20140124
-revision            1
-set git_branch      956c8d8c2a3c2fb1f2f17807532321e492c75efc
+version             20160119
 categories          multimedia
 license             GPL-2+
 platforms           darwin
@@ -20,19 +18,15 @@
                     Merritt from scratch. It is released under the terms of the \
                     GPL license.
 homepage            http://www.videolan.org/x264.html
-master_sites        "http://git.videolan.org/gitweb.cgi?p=x264.git;a=snapshot;h=${git_branch};sf=tgz;dummy="
+master_sites        http://ftp.videolan.org/pub/videolan/x264/snapshots/
 
 dist_subdir         x264
+distname            ${name}-snapshot-${version}-2245-stable
 
-if {[string length "${git_branch}"] >= 7} {
-    set filetag [string range "${git_branch}" 0 6]
-    distname ${name}-${filetag}
-} else {
-    error "git branch hash must be at least 7 characters long."
-}
+use_bzip2           yes
 
-checksums           rmd160  a8d693295ea3f84cdc23b29874d79dd729441e5d \
-                    sha256  ef2ff1c71659dca4712c4a789c3313fa656b413818a00849057fc69e53655b38
+checksums           rmd160  fb4c45164724421e71e9a78e23c0bb97346c841d \
+                    sha256  2861649be7e3da8ce4047b6b13dbe8506b403faaaa52aaf2d397972e23b3efd4
 
 minimum_xcodeversions {9 3.1}
 
@@ -45,9 +39,10 @@
                     --disable-swscale \
                     --disable-lavf \
                     --disable-ffms \
-                    --disable-gpac
+                    --disable-gpac \
+                    --disable-lsmash
 
-# as of this build (142) asm optimizations are believed to work with x86_64 Snow Leopard and up including Mavericks
+# as of this build (148) asm optimizations are believed to work with x86_64 Snow Leopard and up
 # please file a ticket if you have evidence to the contrary
 # i386 clang build issues remain which break i386 build when asm optimizations are enabled
 # assert configure option --disable-asm for all i386 builds
@@ -95,4 +90,8 @@
     }
 }
 
+variant high10 description {Set output bit depth to 10 instead of default 8} {
+    configure.args-append --bit-depth=10
+}
+
 livecheck.type      none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160210/1e786627/attachment.html>


More information about the macports-changes mailing list