aften: fix build with CMake 4

This commit is contained in:
Emily 2025-09-10 02:32:16 +01:00
parent 34c4f1cc20
commit 781543fce4

View file

@ -23,6 +23,14 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DSHARED=ON" ];
# Fix the build with CMake 4.
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail \
'CMAKE_MINIMUM_REQUIRED(VERSION 2.4)' \
'CMAKE_MINIMUM_REQUIRED(VERSION 3.10)'
'';
meta = {
description = "Audio encoder which generates compressed audio streams based on ATSC A/52 specification";
homepage = "https://aften.sourceforge.net/";