From 4a241aec597d1693cb214589291127d3749b17a2 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Tue, 5 Sep 2017 09:44:52 +0100 Subject: [PATCH] ffmpeg: fix version script to produce correct ffmpeg version Currently it outputs the LibreELEC git version (eg. 7.95.1-1538-g077ed6e) and not ffmpeg version (eg. 3.3.2-30554d7). --- .../ffmpeg-00.0000-fix-version-script.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 packages/multimedia/ffmpeg/patches/ffmpeg-00.0000-fix-version-script.patch diff --git a/packages/multimedia/ffmpeg/patches/ffmpeg-00.0000-fix-version-script.patch b/packages/multimedia/ffmpeg/patches/ffmpeg-00.0000-fix-version-script.patch new file mode 100644 index 0000000000..87f01a1c8c --- /dev/null +++ b/packages/multimedia/ffmpeg/patches/ffmpeg-00.0000-fix-version-script.patch @@ -0,0 +1,14 @@ +diff --git a/version.sh b/version.sh +index edc4dd3..d2b90a9 100755 +--- a/version.sh ++++ b/version.sh +@@ -16,6 +16,9 @@ fi + test "$revision" || revision=$(cd "$1" && + git log -1 --pretty=format:"git-%cd-%h" --date=short 2> /dev/null) + ++# ignore any current revision, which is just that of the LibreELEC repository ++revision= ++ + # Snapshots from gitweb are in a directory called ffmpeg-hhhhhhh or + # ffmpeg-HEAD-hhhhhhh. + if [ -z "$revision" ]; then