diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/x264/version.diff.in | |
Diffstat (limited to 'vcpkg/ports/x264/version.diff.in')
| -rw-r--r-- | vcpkg/ports/x264/version.diff.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/x264/version.diff.in b/vcpkg/ports/x264/version.diff.in new file mode 100644 index 0000000..3f13fda --- /dev/null +++ b/vcpkg/ports/x264/version.diff.in @@ -0,0 +1,15 @@ +diff --git a/version.sh b/version.sh +index 178fc952..06728796 100755 +--- a/version.sh ++++ b/version.sh +@@ -3,8 +3,8 @@ + cd "$(dirname "$0")" >/dev/null && [ -f x264.h ] || exit 1 + + api="$(grep '#define X264_BUILD' < x264.h | sed 's/^.* \([1-9][0-9]*\).*$/\1/')" +-ver="x" +-version="" ++ver="@revision@ @short_ref@" ++version=" r${ver} vcpkg" + + if [ -d .git ] && command -v git >/dev/null 2>&1 ; then + localver="$(($(git rev-list HEAD | wc -l)))" |