[89969] trunk/dports/multimedia/libvpx

jeremyhu at macports.org jeremyhu at macports.org
Fri Feb 17 09:54:45 PST 2012


Revision: 89969
          http://trac.macports.org/changeset/89969
Author:   jeremyhu at macports.org
Date:     2012-02-17 09:54:43 -0800 (Fri, 17 Feb 2012)
Log Message:
-----------
libvpx: Bump to v1.0.0

Modified Paths:
--------------
    trunk/dports/multimedia/libvpx/Portfile
    trunk/dports/multimedia/libvpx/files/patch-build-make-configure.sh.diff
    trunk/dports/multimedia/libvpx/files/patch-configure.diff

Modified: trunk/dports/multimedia/libvpx/Portfile
===================================================================
--- trunk/dports/multimedia/libvpx/Portfile	2012-02-17 17:17:50 UTC (rev 89968)
+++ trunk/dports/multimedia/libvpx/Portfile	2012-02-17 17:54:43 UTC (rev 89969)
@@ -5,7 +5,7 @@
 PortGroup       muniversal 1.0
 
 name            libvpx
-version         0.9.7-p1
+version         1.0.0
 categories      multimedia
 maintainers     nomaintainer
 platforms       darwin
@@ -20,8 +20,8 @@
 use_bzip2       yes
 distname        ${name}-v${version}
 
-checksums       rmd160  8a9e011d1039fee132ecd9f6feb1055815b7b777 \
-                sha256  074583d46955d406cf63c6a8d0d5b0a75c2b98128e6d425ab481f57612e291f0
+checksums           rmd160  2ee5a2e7f4cb2f126c6d0d9a36e8636455f42915 \
+                    sha256  07cedb0a19a44e6d81d75f52eea864f59ef10c6c725cb860431bec6641eafe21
 
 depends_build   port:yasm
 

Modified: trunk/dports/multimedia/libvpx/files/patch-build-make-configure.sh.diff
===================================================================
--- trunk/dports/multimedia/libvpx/files/patch-build-make-configure.sh.diff	2012-02-17 17:17:50 UTC (rev 89968)
+++ trunk/dports/multimedia/libvpx/files/patch-build-make-configure.sh.diff	2012-02-17 17:54:43 UTC (rev 89969)
@@ -1,6 +1,6 @@
---- build/make/configure.sh.orig	2011-03-04 14:40:37.000000000 -0600
-+++ build/make/configure.sh	2011-03-12 15:00:19.000000000 -0600
-@@ -392,10 +392,10 @@
+--- build/make/configure.sh.orig	2012-01-27 10:36:39.000000000 -0800
++++ build/make/configure.sh	2012-02-17 09:40:29.000000000 -0800
+@@ -394,10 +394,10 @@ AS_SFX    = ${AS_SFX:-.asm}
  EOF
  
      if enabled rvct; then cat >> $1 << EOF
@@ -13,37 +13,29 @@
  EOF
      fi
  
-@@ -603,21 +603,27 @@
-     # Handle darwin variants
+@@ -616,17 +616,17 @@ process_common_toolchain() {
+ 
+     # Handle darwin variants. Newer SDKs allow targeting older
+     # platforms, so find the newest SDK available.
+-    if [ -d "/Developer/SDKs/MacOSX10.4u.sdk" ]; then
+-        osx_sdk_dir="/Developer/SDKs/MacOSX10.4u.sdk"
++    if [ -d "@DEVELOPER_DIR@/SDKs/MacOSX10.4u.sdk" ]; then
++        osx_sdk_dir="@DEVELOPER_DIR@/SDKs/MacOSX10.4u.sdk"
+     fi
+-    if [ -d "/Developer/SDKs/MacOSX10.5.sdk" ]; then
+-        osx_sdk_dir="/Developer/SDKs/MacOSX10.5.sdk"
++    if [ -d "@DEVELOPER_DIR@/SDKs/MacOSX10.5.sdk" ]; then
++        osx_sdk_dir="@DEVELOPER_DIR@/SDKs/MacOSX10.5.sdk"
+     fi
+-    if [ -d "/Developer/SDKs/MacOSX10.6.sdk" ]; then
+-        osx_sdk_dir="/Developer/SDKs/MacOSX10.6.sdk"
++    if [ -d "@DEVELOPER_DIR@/SDKs/MacOSX10.6.sdk" ]; then
++        osx_sdk_dir="@DEVELOPER_DIR@/SDKs/MacOSX10.6.sdk"
+     fi
+-    if [ -d "/Developer/SDKs/MacOSX10.7.sdk" ]; then
+-        osx_sdk_dir="/Developer/SDKs/MacOSX10.7.sdk"
++    if [ -d "@DEVELOPER_DIR@/SDKs/MacOSX10.7.sdk" ]; then
++        osx_sdk_dir="@DEVELOPER_DIR@/SDKs/MacOSX10.7.sdk"
+     fi
+ 
      case ${toolchain} in
-         *-darwin8-*)
--            add_cflags  "-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
-+            add_cflags  "-isysroot @DEVELOPER_DIR@/SDKs/MacOSX10.4u.sdk"
-             add_cflags  "-mmacosx-version-min=10.4"
--            add_ldflags "-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
-+            add_ldflags "-isysroot @DEVELOPER_DIR@/SDKs/MacOSX10.4u.sdk"
-             add_ldflags "-mmacosx-version-min=10.4"
-             ;;
-         *-darwin9-*)
--            add_cflags  "-isysroot /Developer/SDKs/MacOSX10.5.sdk"
-+            add_cflags  "-isysroot @DEVELOPER_DIR@/SDKs/MacOSX10.5.sdk"
-             add_cflags  "-mmacosx-version-min=10.5"
--            add_ldflags "-isysroot /Developer/SDKs/MacOSX10.5.sdk"
-+            add_ldflags "-isysroot @DEVELOPER_DIR@/SDKs/MacOSX10.5.sdk"
-             add_ldflags "-mmacosx-version-min=10.5"
-             ;;
-         *-darwin10-*)
--            add_cflags  "-isysroot /Developer/SDKs/MacOSX10.6.sdk"
-+            add_cflags  "-isysroot @DEVELOPER_DIR@/SDKs/MacOSX10.6.sdk"
-             add_cflags  "-mmacosx-version-min=10.6"
--            add_ldflags "-isysroot /Developer/SDKs/MacOSX10.6.sdk"
-+            add_ldflags "-isysroot @DEVELOPER_DIR@/SDKs/MacOSX10.6.sdk"
-             add_ldflags "-mmacosx-version-min=10.6"
-             ;;
-+        *-darwin11-*)
-+            add_cflags  "-isysroot @DEVELOPER_DIR@/SDKs/MacOSX10.7.sdk"
-+            add_cflags  "-mmacosx-version-min=10.7"
-+            add_ldflags "-isysroot @DEVELOPER_DIR@/SDKs/MacOSX10.7.sdk"
-+            add_ldflags "-mmacosx-version-min=10.7"
-+            ;;
-     esac

Modified: trunk/dports/multimedia/libvpx/files/patch-configure.diff
===================================================================
--- trunk/dports/multimedia/libvpx/files/patch-configure.diff	2012-02-17 17:17:50 UTC (rev 89968)
+++ trunk/dports/multimedia/libvpx/files/patch-configure.diff	2012-02-17 17:54:43 UTC (rev 89969)
@@ -1,26 +1,33 @@
---- configure.orig	2011-03-04 14:40:37.000000000 -0600
-+++ configure	2011-03-12 14:44:34.000000000 -0600
-@@ -105,6 +105,10 @@
- all_platforms="${all_platforms} x86-darwin8-icc"
+--- configure.orig	2012-02-17 09:50:13.000000000 -0800
++++ configure	2012-02-17 09:52:07.000000000 -0800
+@@ -107,6 +107,8 @@ all_platforms="${all_platforms} x86-darw
  all_platforms="${all_platforms} x86-darwin9-gcc"
  all_platforms="${all_platforms} x86-darwin9-icc"
-+all_platforms="${all_platforms} x86-darwin10-gcc"
-+all_platforms="${all_platforms} x86-darwin10-icc"
+ all_platforms="${all_platforms} x86-darwin10-gcc"
 +all_platforms="${all_platforms} x86-darwin11-gcc"
-+all_platforms="${all_platforms} x86_64-darwin11-gcc"
++all_platforms="${all_platforms} x86-darwin12-gcc"
  all_platforms="${all_platforms} x86-linux-gcc"
  all_platforms="${all_platforms} x86-linux-icc"
  all_platforms="${all_platforms} x86-solaris-gcc"
-@@ -121,6 +123,8 @@
+@@ -117,6 +119,7 @@ all_platforms="${all_platforms} x86-win3
+ all_platforms="${all_platforms} x86_64-darwin9-gcc"
+ all_platforms="${all_platforms} x86_64-darwin10-gcc"
+ all_platforms="${all_platforms} x86_64-darwin11-gcc"
++all_platforms="${all_platforms} x86_64-darwin12-gcc"
+ all_platforms="${all_platforms} x86_64-linux-gcc"
+ all_platforms="${all_platforms} x86_64-linux-icc"
+ all_platforms="${all_platforms} x86_64-solaris-gcc"
+@@ -125,6 +128,9 @@ all_platforms="${all_platforms} x86_64-w
  all_platforms="${all_platforms} x86_64-win64-vs9"
  all_platforms="${all_platforms} universal-darwin8-gcc"
  all_platforms="${all_platforms} universal-darwin9-gcc"
 +all_platforms="${all_platforms} universal-darwin10-gcc"
 +all_platforms="${all_platforms} universal-darwin11-gcc"
++all_platforms="${all_platforms} universal-darwin12-gcc"
  all_platforms="${all_platforms} generic-gnu"
  
  # all_targets is a list of all targets that can be configured
-@@ -466,12 +469,25 @@
+@@ -483,12 +489,20 @@ process_toolchain() {
      case $toolchain in
          universal-darwin*)
              local darwin_ver=${tgt_os##darwin}
@@ -40,15 +47,10 @@
 +               fat_bin_archs="$fat_bin_archs ppc32-${tgt_os}-${tgt_cc}"
 +               fat_bin_archs="$fat_bin_archs x86-${tgt_os}-${tgt_cc}"
 +            fi
-+            if [ $darwin_ver -eq 10 ]; then
-+               # x86 and x86_64 are defaults for universal on 10.6
++            if [ $darwin_ver -ge 10 ]; then
++               # x86 and x86_64 are defaults for universal on 10.6 and 10.7
 +               fat_bin_archs="$fat_bin_archs x86-${tgt_os}-${tgt_cc}"
 +               fat_bin_archs="$fat_bin_archs x86_64-${tgt_os}-${tgt_cc}"
-+            fi
-+            if [ $darwin_ver -eq 11 ]; then
-+               # x86 and x86_64 are defaults for universal on 10.7
-+               fat_bin_archs="$fat_bin_archs x86-${tgt_os}-${tgt_cc}"
-+               fat_bin_archs="$fat_bin_archs x86_64-${tgt_os}-${tgt_cc}"
              fi
              ;;
      esac
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120217/84023ad2/attachment-0001.html>


More information about the macports-changes mailing list