Add shared variants

This commit is contained in:
BtbN 2020-09-23 10:29:54 +02:00
parent 869dd78b7b
commit a0e82cca0c
11 changed files with 37 additions and 3 deletions

View file

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

View file

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

View file

@ -0,0 +1,12 @@
#!/bin/bash
package_variant() {
IN="$1"
OUT="$2"
mkdir -p "$OUT"/bin
cp "$IN"/bin/* "$OUT"/bin
mkdir -p "$OUT/doc"
cp -r "$IN"/share/doc/ffmpeg/* "$OUT"/doc
}

View file

@ -0,0 +1,3 @@
#!/bin/bash
source "$(dirname "$BASH_SOURCE")"/defaults-gpl.sh
FF_CONFIGURE+=" --enable-shared --disable-static"

View file

@ -0,0 +1,3 @@
#!/bin/bash
source "$(dirname "$BASH_SOURCE")"/defaults-lgpl.sh
FF_CONFIGURE+=" --enable-shared --disable-static"

View file

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

View file

@ -0,0 +1,3 @@
#!/bin/bash
source "$(dirname "$BASH_SOURCE")"/default-install-shared.sh
source "$(dirname "$BASH_SOURCE")"/defaults-gpl-shared.sh

View file

@ -0,0 +1,2 @@
#!/bin/bash
source "$(dirname "$BASH_SOURCE")"/win64-gpl-shared.sh

View file

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

View file

@ -0,0 +1,3 @@
#!/bin/bash
source "$(dirname "$BASH_SOURCE")"/default-install-shared.sh
source "$(dirname "$BASH_SOURCE")"/defaults-lgpl-shared.sh

View file

@ -0,0 +1,2 @@
#!/bin/bash
source "$(dirname "$BASH_SOURCE")"/win64-lgpl-shared.sh