Turn release-ver into addin

This commit is contained in:
BtbN 2020-09-27 23:19:54 +02:00
parent b7f606db23
commit 0857cc7da3
11 changed files with 6 additions and 28 deletions

View file

@ -61,7 +61,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
target: [win64] target: [win64]
variant: [gpl,lgpl,gpl vulkan,lgpl vulkan,gpl-4.3,lgpl-4.3,gpl-shared,lgpl-shared,gpl-shared vulkan,lgpl-shared vulkan,gpl-4.3-shared,lgpl-4.3-shared] variant: [gpl,lgpl,gpl vulkan,lgpl vulkan,gpl 4.3,lgpl 4.3,gpl-shared,lgpl-shared,gpl-shared vulkan,lgpl-shared vulkan,gpl-shared 4.3,lgpl-shared 4.3]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -89,7 +89,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
target: [win64] target: [win64]
variant: [gpl,lgpl,gpl vulkan,lgpl vulkan,gpl-4.3,lgpl-4.3,gpl-shared,lgpl-shared,gpl-shared vulkan,lgpl-shared vulkan,gpl-4.3-shared,lgpl-4.3-shared] variant: [gpl,lgpl,gpl vulkan,lgpl vulkan,gpl 4.3,lgpl 4.3,gpl-shared,lgpl-shared,gpl-shared vulkan,lgpl-shared vulkan,gpl-shared 4.3,lgpl-shared 4.3]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2

2
addins/4.3.sh Normal file
View file

@ -0,0 +1,2 @@
#!/bin/bash
GIT_BRANCH="release/4.3"

View file

@ -5,7 +5,7 @@ SVTAV1_COMMIT="0dc2297715861b78577b3790e361af74b6c4bfef"
ffbuild_enabled() { ffbuild_enabled() {
[[ $TARGET == win32 ]] && return -1 [[ $TARGET == win32 ]] && return -1
[[ $VARIANT == *4.3* ]] && return -1 [[ $ADDINS_STR == *4.3* ]] && return -1
return 0 return 0
} }
@ -34,6 +34,6 @@ ffbuild_configure() {
} }
ffbuild_unconfigure() { ffbuild_unconfigure() {
[[ $VARIANT == *4.3* ]] && return 0 [[ $ADDINS_STR == *4.3* ]] && return 0
echo --disable-libsvtav1 echo --disable-libsvtav1
} }

View file

@ -1,3 +0,0 @@
#!/bin/bash
source "$(dirname "$BASH_SOURCE")"/win32-gpl-shared.sh
GIT_BRANCH="release/4.3"

View file

@ -1,3 +0,0 @@
#!/bin/bash
source "$(dirname "$BASH_SOURCE")"/win32-gpl.sh
GIT_BRANCH="release/4.3"

View file

@ -1,3 +0,0 @@
#!/bin/bash
source "$(dirname "$BASH_SOURCE")"/win32-lgpl-shared.sh
GIT_BRANCH="release/4.3"

View file

@ -1,3 +0,0 @@
#!/bin/bash
source "$(dirname "$BASH_SOURCE")"/win32-lgpl.sh
GIT_BRANCH="release/4.3"

View file

@ -1,3 +0,0 @@
#!/bin/bash
source "$(dirname "$BASH_SOURCE")"/win64-gpl-shared.sh
GIT_BRANCH="release/4.3"

View file

@ -1,3 +0,0 @@
#!/bin/bash
source "$(dirname "$BASH_SOURCE")"/win64-gpl.sh
GIT_BRANCH="release/4.3"

View file

@ -1,3 +0,0 @@
#!/bin/bash
source "$(dirname "$BASH_SOURCE")"/win64-lgpl-shared.sh
GIT_BRANCH="release/4.3"

View file

@ -1,3 +0,0 @@
#!/bin/bash
source "$(dirname "$BASH_SOURCE")"/win64-lgpl.sh
GIT_BRANCH="release/4.3"