aboutsummaryrefslogtreecommitdiff
path: root/ports/speex
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2020-09-03 10:59:31 -0700
committerGitHub <noreply@github.com>2020-09-03 10:59:31 -0700
commite7dc93f2026c171073bc30e3f8235c9caba419bc (patch)
tree9943e73066cca5b1bacd9aeff91b94eaa97732ee /ports/speex
parent619b29470031781e0c787eff32dbc7d8568bdbe6 (diff)
downloadvcpkg-e7dc93f2026c171073bc30e3f8235c9caba419bc.tar.gz
vcpkg-e7dc93f2026c171073bc30e3f8235c9caba419bc.zip
[many ports] Add supports (#12857)
Co-authored-by: Billy Robert O'Neal <bion@microsoft.com>
Diffstat (limited to 'ports/speex')
-rw-r--r--ports/speex/CONTROL3
-rw-r--r--ports/speex/portfile.cmake4
2 files changed, 4 insertions, 3 deletions
diff --git a/ports/speex/CONTROL b/ports/speex/CONTROL
index 1a6b9d149..0185b9b07 100644
--- a/ports/speex/CONTROL
+++ b/ports/speex/CONTROL
@@ -1,5 +1,6 @@
Source: speex
Version: 1.2.0
-Port-Version: 6
+Port-Version: 7
Homepage: https://github.com/xiph/speex
Description: Speex is an Open Source/Free Software patent-free audio compression format designed for speech.
+Supports: !(linux | osx) \ No newline at end of file
diff --git a/ports/speex/portfile.cmake b/ports/speex/portfile.cmake
index f1deabc79..a8431db76 100644
--- a/ports/speex/portfile.cmake
+++ b/ports/speex/portfile.cmake
@@ -1,4 +1,4 @@
-include(vcpkg_common_functions)
+vcpkg_fail_port_install(ON_TARGET "OSX" "Linux")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
@@ -28,4 +28,4 @@ endif()
vcpkg_fixup_pkgconfig()
-file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/speex RENAME copyright)
+file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)