diff --git a/media-video/ffmpeg/ffmpeg6-6.1.recipe b/media-video/ffmpeg/ffmpeg6-6.1.1.recipe similarity index 94% rename from media-video/ffmpeg/ffmpeg6-6.1.recipe rename to media-video/ffmpeg/ffmpeg6-6.1.1.recipe index f28c65208..6e7685564 100644 --- a/media-video/ffmpeg/ffmpeg6-6.1.recipe +++ b/media-video/ffmpeg/ffmpeg6-6.1.1.recipe @@ -4,11 +4,11 @@ and stream audio and video. It includes libavcodec - the leading audio/video \ codec library." HOMEPAGE="https://ffmpeg.org/" COPYRIGHT="2000-2003 Fabrice Bellard - 2003-2023 the FFmpeg developers" + 2003-2024 the FFmpeg developers" LICENSE="GNU LGPL v3" -REVISION="2" +REVISION="1" SOURCE_URI="https://ffmpeg.org/releases/ffmpeg-$portVersion.tar.xz" -CHECKSUM_SHA256="488c76e57dd9b3bee901f71d5c95eaf1db4a5a31fe46a28654e837144207c270" +CHECKSUM_SHA256="8684f4b00f94b85461884c3719382f1261f0d9eb3d59640a1f4ac0873616f968" PATCHES="ffmpeg-$portVersion.patchset" SOURCE_DIR="ffmpeg-$portVersion" ADDITIONAL_FILES="gcc_runtime.c" @@ -342,5 +342,12 @@ INSTALL() TEST() { + export LIBRARY_PATH="$sourceDir/libavutil${LIBRARY_PATH:+:$LIBRARY_PATH}" + export LIBRARY_PATH="$sourceDir/libavcodec${LIBRARY_PATH:+:$LIBRARY_PATH}" + export LIBRARY_PATH="$sourceDir/libswresample${LIBRARY_PATH:+:$LIBRARY_PATH}" + export LIBRARY_PATH="$sourceDir/libavdevice${LIBRARY_PATH:+:$LIBRARY_PATH}" + export LIBRARY_PATH="$sourceDir/libavfilter${LIBRARY_PATH:+:$LIBRARY_PATH}" + export LIBRARY_PATH="$sourceDir/libavformat${LIBRARY_PATH:+:$LIBRARY_PATH}" + export LIBRARY_PATH="$sourceDir/libswscale${LIBRARY_PATH:+:$LIBRARY_PATH}" make check } diff --git a/media-video/ffmpeg/patches/ffmpeg-6.1.patchset b/media-video/ffmpeg/patches/ffmpeg-6.1.1.patchset similarity index 78% rename from media-video/ffmpeg/patches/ffmpeg-6.1.patchset rename to media-video/ffmpeg/patches/ffmpeg-6.1.1.patchset index a2885a951..9131538cb 100644 --- a/media-video/ffmpeg/patches/ffmpeg-6.1.patchset +++ b/media-video/ffmpeg/patches/ffmpeg-6.1.1.patchset @@ -1,14 +1,14 @@ -From 85e880e21a277ee6afc1b13551aa4860f054d278 Mon Sep 17 00:00:00 2001 +From 98a46d8fdfbe4fa7fe54d175891f6ca57767069b Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Wed, 7 Aug 2019 16:21:12 +0300 Subject: disable ebx on x86. diff --git a/configure b/configure -index 1f0b949..12f64e2 100755 +index a89cfa6..4a291d1 100755 --- a/configure +++ b/configure -@@ -7508,6 +7508,7 @@ case $target_os in +@@ -7510,6 +7510,7 @@ case $target_os in haiku) disable memalign disable posix_memalign @@ -20,7 +20,7 @@ index 1f0b949..12f64e2 100755 2.42.1 -From 59467d4c2ed3868aa22f6941ce837b8ec3528023 Mon Sep 17 00:00:00 2001 +From f5655ed87323c7bcf3e95389cb91693587a2cda0 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Wed, 7 Aug 2019 16:21:32 +0300 Subject: Re-enable memalign for Haiku @@ -32,10 +32,10 @@ If there are still problems with it we should rather fix them on Haiku side. diff --git a/configure b/configure -index 12f64e2..58ad366 100755 +index 4a291d1..57f1944 100755 --- a/configure +++ b/configure -@@ -7506,8 +7506,6 @@ enabled threads && ! enabled pthreads && ! enabled atomics_native && die "non pt +@@ -7508,8 +7508,6 @@ enabled threads && ! enabled pthreads && ! enabled atomics_native && die "non pt case $target_os in haiku)