aboutsummaryrefslogtreecommitdiff
path: root/ports/avisynthplus
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/avisynthplus
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/avisynthplus')
-rw-r--r--ports/avisynthplus/portfile.cmake4
-rw-r--r--ports/avisynthplus/vcpkg.json3
2 files changed, 4 insertions, 3 deletions
diff --git a/ports/avisynthplus/portfile.cmake b/ports/avisynthplus/portfile.cmake
index d18d548a0..467e8dd91 100644
--- a/ports/avisynthplus/portfile.cmake
+++ b/ports/avisynthplus/portfile.cmake
@@ -1,4 +1,4 @@
-vcpkg_fail_port_install(ON_TARGET "UWP" "arm" "arm64")
+vcpkg_fail_port_install(ON_ARCH "arm" "arm64" ON_LIBRARY_LINKAGE "static" ON_TARGET "UWP" "OSX" "Linux")
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
@@ -20,4 +20,4 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
-file(INSTALL ${SOURCE_PATH}/distrib/gpl.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/avisynthplus RENAME copyright)
+file(INSTALL ${SOURCE_PATH}/distrib/gpl.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
diff --git a/ports/avisynthplus/vcpkg.json b/ports/avisynthplus/vcpkg.json
index c8a8d77b0..b6796ad53 100644
--- a/ports/avisynthplus/vcpkg.json
+++ b/ports/avisynthplus/vcpkg.json
@@ -1,7 +1,8 @@
{
"name": "avisynthplus",
"version-string": "3.6.0",
+ "port-version": 1,
"description": "An improved version of the AviSynth frameserver, with improved features and developer friendliness",
"homepage": "http://avs-plus.net/",
- "supports": "!(uwp | arm | static)"
+ "supports": "windows & !arm & !uwp & !static"
}