[x264] fix configuration on systems without /bin/bash (#26563)

* [x264] fix configuration on systems without /bin/bash

* Update version database

* Update x264.json

Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
This commit is contained in:
ReplayCoding 2022-08-31 17:01:43 -04:00 committed by GitHub
parent 8510361424
commit 2738b0efed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 1 deletions

View File

@ -10,6 +10,9 @@ vcpkg_from_github(
allow-clang-cl.patch
configure-as.patch # Ignore ':' from `vcpkg_configure_make`
)
vcpkg_replace_string("${SOURCE_PATH}/configure" [[/bin/bash]] [[/usr/bin/env bash]])
# Note on x264 versioning:
# The pc file exports "0.164.<N>" where is the number of commits.
# This must be fixed here because vcpkg uses a GH tarball instead of cloning the source.

View File

@ -1,6 +1,7 @@
{
"name": "x264",
"version": "0.164.3095",
"port-version": 1,
"description": "x264 is a free software library and application for encoding video streams into the H.264/MPEG-4 AVC compression format",
"homepage": "https://www.videolan.org/developers/x264.html",
"license": "GPL-2.0-or-later",

View File

@ -7786,7 +7786,7 @@
},
"x264": {
"baseline": "0.164.3095",
"port-version": 0
"port-version": 1
},
"x265": {
"baseline": "3.4",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "16be87b659ccfeaba052e561f3f0a8b1b927c5d0",
"version": "0.164.3095",
"port-version": 1
},
{
"git-tree": "e369a0924f6b28e965b0e0c8f35264b7fd5efb7f",
"version": "0.164.3095",