mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-09 16:18:34 +01:00
aften: fix build with CMake 4
This commit is contained in:
parent
34c4f1cc20
commit
781543fce4
|
|
@ -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/";
|
||||
|
|
|
|||
Loading…
Reference in a new issue