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

devans at macports.org devans at macports.org
Tue Oct 29 15:15:31 PDT 2013


Revision: 112712
          https://trac.macports.org/changeset/112712
Author:   devans at macports.org
Date:     2013-10-29 15:15:30 -0700 (Tue, 29 Oct 2013)
Log Message:
-----------
x264: update to current stable build 136 (#41052), use commit specific git snapshot instead of nightlies.

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

Modified: trunk/dports/multimedia/x264/Portfile
===================================================================
--- trunk/dports/multimedia/x264/Portfile	2013-10-29 22:10:51 UTC (rev 112711)
+++ trunk/dports/multimedia/x264/Portfile	2013-10-29 22:15:30 UTC (rev 112712)
@@ -6,7 +6,8 @@
 PortGroup       xcodeversion 1.0
 
 name            x264
-version         20130327
+version         20130823
+set git_branch  3361d59a0a83dcb8b321cc0eb8e6ba68ca49c7d4
 categories      multimedia
 license         GPL-2+
 platforms       darwin
@@ -19,15 +20,20 @@
                 Merritt from scratch. It is released under the terms of the \
                 GPL license.
 homepage        http://www.videolan.org/x264.html
-master_sites    http://download.videolan.org/pub/videolan/x264/snapshots/ \
-                ftp://ftp.videolan.org/pub/videolan/x264/snapshots/
-distname        ${name}-snapshot-${version}-2245-stable
+master_sites    "http://git.videolan.org/gitweb.cgi?p=x264.git;a=snapshot;h=${git_branch};sf=tgz;dummy="
 
-use_bzip2       yes
+dist_subdir     x264
 
-checksums       rmd160  b6d158fb1c1d74ac9b0c6f8578f3f37dfe6648be \
-                sha256  798cb5b58fb4ba7618d9e06ba0e8f9c958fda7e69f3db2ddbbd75c69ffa5c4d3
+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."
+}
 
+checksums        rmd160  6d59dac4066c6cf1f7eb68d42aa25124bec6a765 \
+                 sha256  5d9d5bbbf3db3e3af70dbceecf4b2efd25e59ef8054362f91350fa751670cc5e
+
 minimum_xcodeversions {9 3.1}
 
 configure.args   --enable-pic \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131029/ba687b45/attachment.html>


More information about the macports-changes mailing list