From 6d00f45e36e4cb670afa4b7754c3344197749a07 Mon Sep 17 00:00:00 2001 From: Emily Date: Mon, 15 Jul 2024 14:27:45 +0100 Subject: [PATCH] goldendict-ng: disable FFmpeg backend MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There is an upstream fix for FFmpeg 7 support, but according to : > We don't actually need the FFmpeg backend anymore. Newer Qt6's > multimedia has FFmpeg backend, the supported formats are the same. > > Maybe this is the time to delete the FFmpeg backend 😅 --- pkgs/applications/misc/goldendict-ng/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/applications/misc/goldendict-ng/default.nix b/pkgs/applications/misc/goldendict-ng/default.nix index 356059d1d9bd..344f3439ef80 100644 --- a/pkgs/applications/misc/goldendict-ng/default.nix +++ b/pkgs/applications/misc/goldendict-ng/default.nix @@ -4,7 +4,6 @@ , pkg-config , cmake , libvorbis -, ffmpeg , libeb , hunspell , opencc @@ -61,7 +60,6 @@ stdenv.mkDerivation (finalAttrs: { libiconv opencc libeb - ffmpeg xapian libzim ]; @@ -76,7 +74,7 @@ stdenv.mkDerivation (finalAttrs: { cmakeFlags = [ "-DWITH_XAPIAN=ON" "-DWITH_ZIM=ON" - "-DWITH_FFMPEG_PLAYER=ON" + "-DWITH_FFMPEG_PLAYER=OFF" "-DWITH_EPWING_SUPPORT=ON" "-DUSE_SYSTEM_FMT=ON" "-DUSE_SYSTEM_TOML=ON"