aboutsummaryrefslogtreecommitdiff
path: root/ports/avisynthplus/generate-version-3.5.patch
diff options
context:
space:
mode:
authorwangqr <wangqr@users.noreply.github.com>2020-04-16 16:44:18 -0400
committerGitHub <noreply@github.com>2020-04-16 13:44:18 -0700
commitb7ef16861f37a4a2f1e8ea12137b1349133ee5cf (patch)
tree8e205ee42c4defdd306e04cd035c061eb9a6fa73 /ports/avisynthplus/generate-version-3.5.patch
parent959a9eae9a0bcff27903369688d0d7219cc4225f (diff)
downloadvcpkg-b7ef16861f37a4a2f1e8ea12137b1349133ee5cf.tar.gz
vcpkg-b7ef16861f37a4a2f1e8ea12137b1349133ee5cf.zip
[avisynthplus] Add new port (#10496)
* [avisynthplus] Add new port * [avisynthplus] Disable static build Static build is not supported. See https://github.com/AviSynth/AviSynthPlus/issues/130 * [avisynthplus] Ass Supports to CONTROL * [avisynthplus] set static to fail in CI baseline * [avisynthplus] add vcpkg_fail_port_install
Diffstat (limited to 'ports/avisynthplus/generate-version-3.5.patch')
-rw-r--r--ports/avisynthplus/generate-version-3.5.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/ports/avisynthplus/generate-version-3.5.patch b/ports/avisynthplus/generate-version-3.5.patch
new file mode 100644
index 000000000..f29cbf463
--- /dev/null
+++ b/ports/avisynthplus/generate-version-3.5.patch
@@ -0,0 +1,20 @@
+diff --git a/avs_core/Version.cmake b/avs_core/Version.cmake
+index e2be19d2..1d4dd922 100644
+--- a/avs_core/Version.cmake
++++ b/avs_core/Version.cmake
+@@ -1,12 +1,4 @@
+-EXECUTE_PROCESS(
+- COMMAND "${GIT}" --git-dir=${REPO}/.git rev-list --count HEAD
+- OUTPUT_VARIABLE AVS_SEQREV
+- OUTPUT_STRIP_TRAILING_WHITESPACE
+-)
+-EXECUTE_PROCESS(
+- COMMAND "${GIT}" --git-dir=${REPO}/.git rev-parse --abbrev-ref HEAD
+- OUTPUT_VARIABLE AVS_BRANCH
+- OUTPUT_STRIP_TRAILING_WHITESPACE
+-)
++set(AVS_SEQREV 3043)
++set(AVS_BRANCH 3.5)
+ CONFIGURE_FILE(${SRC} ${DST} @ONLY)
+
+\ No newline at end of file