<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d60e7708eeb0d8aa5f59acd8af9f364558619a22">https://github.com/macports/macports-ports/commit/d60e7708eeb0d8aa5f59acd8af9f364558619a22</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit d60e7708eeb0d8aa5f59acd8af9f364558619a22
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Thu Feb 8 12:51:36 2018 -0800
<span style='display:block; white-space:pre;color:#404040;'> libvpx: update to version 1.7.0, master_sites
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Now builds both static and shared libraries.
</span>---
multimedia/libvpx/Portfile | 28 ++++++++++-----
multimedia/libvpx/files/patch-Makefile.diff | 6 ++--
.../files/patch-build-make-configure.sh.diff | 40 ++++++++--------------
multimedia/libvpx/files/patch-configure.diff | 12 +++----
4 files changed, 42 insertions(+), 44 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/libvpx/Portfile b/multimedia/libvpx/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4cd21ff..0b4025b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/libvpx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/libvpx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,11 +4,8 @@ PortSystem 1.0
</span> PortGroup compiler_blacklist_versions 1.0
PortGroup muniversal 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Since libvpx installs a static library only, increase the revision of
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# dependents when updating libvpx to a new version so they'll be rebuilt.
</span> name libvpx
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.6.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.7.0
</span> categories multimedia
maintainers {devans @dbevans} openmaintainer
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,11 +22,16 @@ long_description The WebM VP8/VP9 codecs are being developed \
</span> The VP9 encoder in this release is not, as yet, feature complete.
homepage http://webmproject.org
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites http://storage.googleapis.com/downloads.webmproject.org/releases/webm/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_bzip2 yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites https://chromium.googlesource.com/webm/${name}/+archive
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 57d10fd011a70b66f10f161eca3462f846fcd650 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 1c2c0c2a97fba9474943be34ee39337dee756780fc12870ba1dc68372586a819
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname v${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 7d3b14dc3891e93bd6253c95d131b23d730f8647 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 52a22a51dabad84c063510697e5e011a51c708e0a0619d835031b40e144e75a2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2675173
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# tarball doesn't include enclosing directory
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+extract.mkdir yes
</span>
# support for non-intel archs removed in version 1.5.0
supported_archs x86_64 i386
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -62,7 +64,7 @@ patchfiles patch-build-make-configure.sh.diff \
</span> # {standard input}:unknown:Undefined local symbol LC2
compiler.blacklist *gcc* {clang < 500}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# As of 1.3.0: doesn't handle shared libraries or debug properly on darwin;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# As of 1.7.0: builds both static and shared libraries
</span> # doesn't install docs or examples correctly, so disable them.
configure.args --enable-vp8 \
--enable-vp9 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -73,6 +75,7 @@ configure.args --enable-vp8 \
</span> --enable-runtime-cpu-detect \
--enable-experimental \
--enable-spatial-svc \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-shared \
</span> --disable-install-docs \
--disable-debug-libs \
--disable-examples \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -126,6 +129,13 @@ if {![variant_isset universal]} {
</span> }
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# shared library uses relative path in install name
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# override with absolute path
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set libname ${prefix}/lib/${name}.5.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "install_name_tool -id ${libname} ${destroot}${libname}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.type regex
livecheck.url https://chromium.googlesource.com/webm/${name}
livecheck.regex "v(\\d+(?:\\.\\d+)*)"
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/libvpx/files/patch-Makefile.diff b/multimedia/libvpx/files/patch-Makefile.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 2f18d05..2dda6ab 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/libvpx/files/patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/libvpx/files/patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,6 +1,6 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- build/make/Makefile.orig 2016-07-20 18:15:41.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ build/make/Makefile 2016-11-28 09:23:37.000000000 -0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -192,7 +192,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- build/make/Makefile.orig 2018-02-06 19:44:37.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ build/make/Makefile 2018-02-08 07:00:14.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -199,7 +199,7 @@
</span> $(qexec)$(AS) $(ASFLAGS) -o $@ $<
.PRECIOUS: %.c.S
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/libvpx/files/patch-build-make-configure.sh.diff b/multimedia/libvpx/files/patch-build-make-configure.sh.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 6733016..c6a9d24 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/libvpx/files/patch-build-make-configure.sh.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/libvpx/files/patch-build-make-configure.sh.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,6 +1,6 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- build/make/configure.sh.orig 2016-07-20 18:15:41.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ build/make/configure.sh 2016-11-28 08:49:54.000000000 -0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -704,29 +704,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- build/make/configure.sh.orig 2018-02-06 19:44:37.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ build/make/configure.sh 2018-02-07 05:49:18.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -729,33 +729,9 @@
</span>
# detect tgt_os
case "$gcctarget" in
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,34 +28,18 @@
</span> - *darwin15*)
- tgt_isa=x86_64
- tgt_os=darwin15
<span style='display:block; white-space:pre;background:#e0ffe0;'>+- ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- *darwin16*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- tgt_isa=x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- tgt_os=darwin16
</span> + tgt_os=darwin
;;
x86_64*mingw32*)
tgt_os=win64
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -793,70 +773,6 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- IOS_VERSION_MIN="6.0"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -848,54 +824,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-- # Handle darwin variants. Newer SDKs allow targeting older
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- # platforms, so use the newest one available.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- case ${toolchain} in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- arm*-darwin*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- add_cflags "-miphoneos-version-min=${IOS_VERSION_MIN}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- iphoneos_sdk_dir="$(show_darwin_sdk_path iphoneos)"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if [ -d "${iphoneos_sdk_dir}" ]; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- add_cflags "-isysroot ${iphoneos_sdk_dir}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- add_ldflags "-isysroot ${iphoneos_sdk_dir}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- x86*-darwin*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- osx_sdk_dir="$(show_darwin_sdk_path macosx)"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if [ -d "${osx_sdk_dir}" ]; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- add_cflags "-isysroot ${osx_sdk_dir}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- add_ldflags "-isysroot ${osx_sdk_dir}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- esac
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span> - case ${toolchain} in
- *-darwin8-*)
- add_cflags "-mmacosx-version-min=10.4"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -89,6 +73,10 @@
</span> - add_cflags "-mmacosx-version-min=10.11"
- add_ldflags "-mmacosx-version-min=10.11"
- ;;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+- *-darwin16-*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- add_cflags "-mmacosx-version-min=10.12"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- add_ldflags "-mmacosx-version-min=10.12"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ;;
</span> - *-iphonesimulator-*)
- add_cflags "-miphoneos-version-min=${IOS_VERSION_MIN}"
- add_ldflags "-miphoneos-version-min=${IOS_VERSION_MIN}"
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/libvpx/files/patch-configure.diff b/multimedia/libvpx/files/patch-configure.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 2d82628..510509e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/libvpx/files/patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/libvpx/files/patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,16 +1,16 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- configure.orig 2016-07-20 18:15:41.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ configure 2016-11-28 09:21:36.000000000 -0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -116,6 +116,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- all_platforms="${all_platforms} mips64-linux-gcc"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2018-02-06 19:44:37.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2018-02-08 07:00:14.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -118,6 +118,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ all_platforms="${all_platforms} ppc64le-linux-gcc"
</span> all_platforms="${all_platforms} sparc-solaris-gcc"
all_platforms="${all_platforms} x86-android-gcc"
+all_platforms="${all_platforms} x86-darwin-gcc"
all_platforms="${all_platforms} x86-darwin8-gcc"
all_platforms="${all_platforms} x86-darwin8-icc"
all_platforms="${all_platforms} x86-darwin9-gcc"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -140,6 +141,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- all_platforms="${all_platforms} x86-win32-vs12"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -141,6 +142,7 @@
</span> all_platforms="${all_platforms} x86-win32-vs14"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ all_platforms="${all_platforms} x86-win32-vs15"
</span> all_platforms="${all_platforms} x86_64-android-gcc"
+all_platforms="${all_platforms} x86_64-darwin-gcc"
all_platforms="${all_platforms} x86_64-darwin9-gcc"
</pre><pre style='margin:0'>
</pre>