Ticket #47907: patch-libvpx-1.4.0.diff
File patch-libvpx-1.4.0.diff, 4.6 KB (added by dbevans (David B. Evans), 9 years ago) |
---|
-
Portfile
6 6 PortGroup muniversal 1.0 7 7 8 8 name libvpx 9 version 1.3.0 10 revision 1 9 version 1.4.0 11 10 categories multimedia 12 11 maintainers devans openmaintainer 13 12 platforms darwin … … 24 23 The VP9 encoder in this release is not, as yet, feature complete. 25 24 26 25 homepage http://webmproject.org 27 master_sites googlecode:webm26 master_sites http://storage.googleapis.com/downloads.webmproject.org/releases/webm/ 28 27 use_bzip2 yes 29 distname ${name}-v${version}30 28 31 checksums rmd160 bf74821ac8f20ed30f44b6e01473ee1f332f721c\32 sha256 d3dcc8d84af51c6c382b214397c62402e37a799e8ebcda6f4217aef0010451a929 checksums rmd160 272b1a9f1687a80337d79ccbada2a344c96d1bf1 \ 30 sha256 f582d9b2d60a592a4a3d8c32965ca2d2167e9ade38c6c30bac8801ff66a118e4 33 31 34 32 depends_build port:yasm 35 33 36 patchfiles patch-build-make-configure.sh.diff \ 37 patch-configure.diff \ 38 patch-Makefile.diff 34 patchfiles patch-Makefile.diff 39 35 40 36 compiler.blacklist macports-clang-2.9 macports-clang-3.0 {clang < 421} 41 37 … … 50 46 --enable-runtime-cpu-detect \ 51 47 --disable-install-docs \ 52 48 --disable-debug-libs \ 53 --disable-examples 49 --disable-examples \ 50 --disable-unit-tests 54 51 55 52 configure.env LD="${configure.cc}" 56 53 … … 61 58 # configure.args-append --enable-install-docs 62 59 #} 63 60 64 platform darwin 8{61 platform darwin { 65 62 # Tiger's make 3.80 experiences "virtual memory exhausted" during destroot 66 depends_build-append port:gmake 67 build.cmd ${prefix}/bin/gmake 63 if {${os.major} == 8} { 64 depends_build-append port:gmake 65 build.cmd ${prefix}/bin/gmake 66 } 67 68 # PPC platforms don't need yasm(#40154) 69 if {[string match "ppc*" ${os.arch}]} { 70 depends_build-delete port:yasm 71 } 72 73 if {${os.major} >= 10} { 74 supported_archs i386 x86_64 75 } 68 76 } 69 77 70 78 build.target … … 83 91 build.args-append CFLAGS_S=-fno-integrated-as 84 92 } 85 93 86 platform darwin { 87 if {${os.major} >= 10} { 88 supported_archs i386 x86_64 89 } 90 } 94 # disable +universal for initial testing 91 95 96 universal_variant no 97 92 98 # set configure parameters depending on if universal or not 93 set my_targets(ppc) ppc3294 set my_targets(ppc64) ppc6495 set my_targets(i386) x8696 set my_targets(x86_64) x86_6497 if {[variant_isset universal]} {99 # set my_targets(ppc) ppc32 100 # set my_targets(ppc64) ppc64 101 # set my_targets(i386) x86 102 # set my_targets(x86_64) x86_64 103 # if {[variant_isset universal]} { 98 104 # clear universal flags; configure will determine them. 99 configure.universal_cppflags100 configure.universal_cflags101 configure.universal_cxxflags102 configure.universal_ldflags103 configure.universal_args-delete --disable-dependency-tracking104 foreach my_arch ${configure.universal_archs} {105 set merger_host(${my_arch}) ""106 if {[info exists my_targets(${my_arch})]} {107 set merger_configure_args(${my_arch}) --target=$my_targets(${my_arch})-${os.platform}-gcc108 }109 }110 } else {105 # configure.universal_cppflags 106 # configure.universal_cflags 107 # configure.universal_cxxflags 108 # configure.universal_ldflags 109 # configure.universal_args-delete --disable-dependency-tracking 110 # foreach my_arch ${configure.universal_archs} { 111 # set merger_host(${my_arch}) "" 112 # if {[info exists my_targets(${my_arch})]} { 113 # set merger_configure_args(${my_arch}) --target=$my_targets(${my_arch})-${os.platform}-gcc 114 # } 115 # } 116 # } else { 111 117 # specify only the single target, otherwise 'configure' will try 112 118 # for a universal install. 113 if {[info exists my_targets(${build_arch})]} {114 configure.args-append --target=$my_targets(${build_arch})-${os.platform}-gcc115 } else {116 configure.args-append --target=${os.arch}-${os.platform}-gcc117 }118 }119 # if {[info exists my_targets(${build_arch})]} { 120 # configure.args-append --target=$my_targets(${build_arch})-${os.platform}-gcc 121 # } else { 122 # configure.args-append --target=${os.arch}-${os.platform}-gcc 123 # } 124 # } 119 125 120 126 livecheck.type regex 121 127 livecheck.url http://downloads.webmproject.org/releases/webm/index.html