Skip to content

Commit

Permalink
deps.ffmpeg: Disable Windows x86 build slice for FFmpeg dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
PatTheMav committed Aug 21, 2024
1 parent 83a7287 commit 8ea352b
Show file tree
Hide file tree
Showing 16 changed files with 28 additions and 12 deletions.
3 changes: 2 additions & 1 deletion deps.ffmpeg/10-zlib.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ param(
PatchFile = "${PSScriptRoot}/patches/zlib/0001-fix-unistd-detection.patch"
HashSum = "2114ff9ebfc79765019353b06915a09f4dc4802ce722d2df6e640a59666dd875"
}
)
),
[array] $Targets = @('x64')
)

function Setup {
Expand Down
3 changes: 2 additions & 1 deletion deps.ffmpeg/20-libpng.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ param(
[string] $Name = 'libpng',
[string] $Version = '1.6.43',
[string] $Uri = 'https://sourceforge.net/projects/libpng/files/libpng16/1.6.43/lpng1643.zip',
[string] $Hash = "${PSScriptRoot}/checksums/lpng1643.zip.sha256"
[string] $Hash = "${PSScriptRoot}/checksums/lpng1643.zip.sha256",
[array] $Targets = @('x64')
)

function Setup {
Expand Down
3 changes: 2 additions & 1 deletion deps.ffmpeg/20-opus.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ param(
[string] $Name = 'opus',
[string] $Version = '1.5.2',
[string] $Uri = 'https://github.com/xiph/opus.git',
[string] $Hash = "ddbe48383984d56acd9e1ab6a090c54ca6b735a6"
[string] $Hash = "ddbe48383984d56acd9e1ab6a090c54ca6b735a6",
[array] $Targets = @('x64')
)

function Setup {
Expand Down
3 changes: 2 additions & 1 deletion deps.ffmpeg/30-libogg.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ param(
[string] $Name = 'libogg',
[string] $Version = '1.3.5',
[string] $Uri = 'https://github.com/xiph/ogg/releases/download/v1.3.5/libogg-1.3.5.zip',
[string] $Hash = "${PSScriptRoot}/checksums/libogg-1.3.5.zip.sha256"
[string] $Hash = "${PSScriptRoot}/checksums/libogg-1.3.5.zip.sha256",
[array] $Targets = @('x64')
)

function Setup {
Expand Down
3 changes: 2 additions & 1 deletion deps.ffmpeg/30-libvorbis.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ param(
[string] $Name = 'libvorbis',
[string] $Version = '1.3.7',
[string] $Uri = 'https://github.com/xiph/vorbis.git',
[string] $Hash = "84c023699cdf023a32fa4ded32019f194afcdad0"
[string] $Hash = "84c023699cdf023a32fa4ded32019f194afcdad0",
[array] $Targets = @('x64')
)

function Setup {
Expand Down
3 changes: 2 additions & 1 deletion deps.ffmpeg/30-libvpx.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ param(
[string] $Name = 'libvpx',
[string] $Version = '1.14.0',
[string] $Uri = 'https://github.com/webmproject/libvpx/archive/refs/tags/v1.14.0.zip',
[string] $Hash = "${PSScriptRoot}/checksums/v1.14.0.zip.sha256"
[string] $Hash = "${PSScriptRoot}/checksums/v1.14.0.zip.sha256",
[array] $Targets = @('x64')
)

function Setup {
Expand Down
1 change: 1 addition & 0 deletions deps.ffmpeg/40-x264.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ param(
[string] $Version = 'r3106',
[string] $Uri = 'https://github.com/mirror/x264.git',
[string] $Hash = 'eaa68fad9e5d201d42fde51665f2d137ae96baf0',
[array] $Targets = @('x64'),
[switch] $ForceShared = $true
)

Expand Down
3 changes: 2 additions & 1 deletion deps.ffmpeg/50-libtheora.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ param(
PatchFile = "${PSScriptRoot}/patches/libtheora/0001-add-windows-cmake.patch"
HashSum = "9F7554581AABC81F360D040E95C1CBF935E9CD80019526B1A6951A1179524D50"
}
)
),
[array] $Targets = @('x64')
)

function Setup {
Expand Down
3 changes: 2 additions & 1 deletion deps.ffmpeg/60-lame.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ param(
PatchFile = "${PSScriptRoot}/patches/lame/0001-fix-nmake-64-bit-builds.patch"
HashSum = "0772e07d3d0c484d281e3bfdb4f93e81adf303623fe57d955b98196795725f39"
}
)
),
[array] $Targets = @('x64')
)

function Setup {
Expand Down
3 changes: 2 additions & 1 deletion deps.ffmpeg/60-mbedtls.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ param(
PatchFile = "${PSScriptRoot}/patches/mbedtls/0001-enable-dtls-srtp-support-windows.patch"
HashSum = "38dbaff859242c5a4f8196a08e35f0251d2966b22e1d9547ecaaea2aec4aae1b"
}
)
),
[array] $Targets = @('x64')
)

function Setup {
Expand Down
1 change: 1 addition & 0 deletions deps.ffmpeg/60-srt.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ param(
[string] $Version = '1.5.2',
[string] $Uri = 'https://github.com/Haivision/srt/archive/refs/tags/v1.5.2.zip',
[string] $Hash = "${PSScriptRoot}/checksums/v1.5.2.zip.sha256",
[array] $Targets = @('x64'),
[switch] $ForceShared = $true
)

Expand Down
1 change: 1 addition & 0 deletions deps.ffmpeg/70-libdatachannel.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ param(
[string] $Version = 'v0.21.0',
[string] $Uri = 'https://github.com/paullouisageneau/libdatachannel.git',
[string] $Hash = '9d5c46b8f506943727104d766e5dad0693c5a223',
[array] $Targets = @('x64'),
[switch] $ForceShared = $true
)

Expand Down
1 change: 1 addition & 0 deletions deps.ffmpeg/70-librist.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ param(
HashSum = "804B845BC66ED180B6C2F962ECF29D55190AA92248FE25F4478C68AE2A91DFFC"
}
),
[array] $Targets = @('x64'),
[switch] $ForceShared = $true
)

Expand Down
3 changes: 2 additions & 1 deletion deps.ffmpeg/70-nv-codec.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ param(
[string] $Name = 'nv-codec-headers',
[string] $Version = '12.2.72.0',
[string] $Uri = 'https://github.com/FFmpeg/nv-codec-headers.git',
[string] $Hash = 'c69278340ab1d5559c7d7bf0edf615dc33ddbba7'
[string] $Hash = 'c69278340ab1d5559c7d7bf0edf615dc33ddbba7',
[array] $Targets = @('x64')
)

function Setup {
Expand Down
3 changes: 2 additions & 1 deletion deps.ffmpeg/80-amf.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ param(
[string] $Name = 'amf',
[string] $Version = '1.4.33',
[string] $Uri = 'https://github.com/GPUOpen-LibrariesAndSDKs/AMF.git',
[string] $Hash = 'e8c7cd7c10d4e05c1913aa8dfd2be9f9dbdb03d6'
[string] $Hash = 'e8c7cd7c10d4e05c1913aa8dfd2be9f9dbdb03d6',
[array] $Targets = @('x64')
)

function Setup {
Expand Down
3 changes: 2 additions & 1 deletion deps.ffmpeg/99-ffmpeg.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ param(
PatchFile = "${PSScriptRoot}/patches/FFmpeg/0002-libaomenc-presets-Windows.patch"
HashSum = "cec898b957fc289512094fc2c4e6a61d6872f716e4a643fb970c599a453a33f4"
}
)
),
[array] $Targets = @('x64')
)

function Setup {
Expand Down

0 comments on commit 8ea352b

Please sign in to comment.