Skip to content

Commit

Permalink
Bump gstreamer for windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumEntangledAndy committed Oct 25, 2024
1 parent 81f77f4 commit fb956c3
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
name: Install Windows deps
run: |
# Gstreamer
choco install -y --no-progress gstreamer --version=1.20.0
choco install -y --no-progress gstreamer-devel --version=1.20.0
choco install -y --no-progress gstreamer --version=1.24.2
choco install -y --no-progress gstreamer-devel --version=1.24.2
$env:GSTREAMER_1_0_ROOT_MSVC_X86_64=$env:SYSTEMDRIVE + '\gstreamer\1.0\msvc_x86_64\'
# Github runners work on both C or D drive and figuring out which was used is difficult
if (-not (Test-Path -Path "$env:GSTREAMER_1_0_ROOT_MSVC_X86_64" -PathType Container)) {
Expand Down Expand Up @@ -71,15 +71,6 @@ jobs:
$env:OPENSSL_DIR='D:\\Program Files\OpenSSL\'
}
# Set up pkgconfig for gstreamer
$env:PKG_CONFIG_PATH += ';' + $env:GSTREAMER_1_0_ROOT_MSVC_X86_64 + '\lib\pkgconfig'
echo "$env:GSTREAMER_1_0_ROOT_MSVC_X86_64"
dir "$env:GSTREAMER_1_0_ROOT_MSVC_X86_64"
echo "$env:GSTREAMER_1_0_ROOT_MSVC_X86_64\\lib"
dir "$env:GSTREAMER_1_0_ROOT_MSVC_X86_64\\lib"
echo "$env:GSTREAMER_1_0_ROOT_MSVC_X86_64\\lib\\pkgconfig"
dir "$env:GSTREAMER_1_0_ROOT_MSVC_X86_64\\lib\\pkgconfig"
# Set github vars
Add-Content -Path $env:GITHUB_ENV -Value "GSTREAMER_1_0_ROOT_MSVC_X86_64=$env:GSTREAMER_1_0_ROOT_MSVC_X86_64"
Add-Content -Path $env:GITHUB_PATH -Value "$env:GSTREAMER_1_0_ROOT_MSVC_X86_64\bin"
Expand Down

0 comments on commit fb956c3

Please sign in to comment.