aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Oliver <protogonoi@gmail.com>2020-09-01 02:34:35 +1000
committerGitHub <noreply@github.com>2020-08-31 09:34:35 -0700
commitb41ce1186a512679e200aa04d10e308a97722478 (patch)
treecac3f03518a93d8c6f7c9fb964f6131373bf32b0
parent19b706c9d403c693b235ed31fee068936d71f346 (diff)
downloadvcpkg-b41ce1186a512679e200aa04d10e308a97722478.tar.gz
vcpkg-b41ce1186a512679e200aa04d10e308a97722478.zip
[libvpx] Update to 1.9.0. (#13213)
-rw-r--r--ports/libvpx/CONTROL3
-rw-r--r--ports/libvpx/portfile.cmake16
2 files changed, 7 insertions, 12 deletions
diff --git a/ports/libvpx/CONTROL b/ports/libvpx/CONTROL
index 82eec705c..8d578a2a1 100644
--- a/ports/libvpx/CONTROL
+++ b/ports/libvpx/CONTROL
@@ -1,6 +1,5 @@
Source: libvpx
-Version: 1.8.1
-Port-Version: 9
+Version: 1.9.0
Homepage: https://github.com/webmproject/libvpx
Description: The reference software implementation for the video coding formats VP8 and VP9.
Supports: !(uwp&arm)
diff --git a/ports/libvpx/portfile.cmake b/ports/libvpx/portfile.cmake
index 7a899c9cb..390d059c7 100644
--- a/ports/libvpx/portfile.cmake
+++ b/ports/libvpx/portfile.cmake
@@ -1,17 +1,13 @@
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
-set(LIBVPX_VERSION 1.8.1)
-set(LIBVPX_HASH 615476a929e46befdd4782a39345ce55cd30176ecb2fcd8a875c31694ae2334b395dcab9c5ba58d53ceb572ed0c022d2a3748ca4bbd36092e22b01cf3c9b2e8e)
+set(LIBVPX_VERSION 1.9.0)
-vcpkg_download_distfile(ARCHIVE
- URLS "https://github.com/webmproject/libvpx/archive/v${LIBVPX_VERSION}/libvpx-${LIBVPX_VERSION}.tar.gz"
- FILENAME "libvpx-${LIBVPX_VERSION}.tar.gz"
- SHA512 ${LIBVPX_HASH}
-)
-
-vcpkg_extract_source_archive_ex(
+vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
- ARCHIVE ${ARCHIVE}
+ REPO webmproject/libvpx
+ REF v${LIBVPX_VERSION}
+ SHA512 8d544552b35000ea5712aec220b78bb5f7dc210704b2f609365214cb95a4f5a0e343b362723d829cb4a9ac203b10d5443700ba84b28fd6b2fefbabb40663e298
+ HEAD_REF master
)
vcpkg_find_acquire_program(YASM)