mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-10 01:33:11 +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" ];
|
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 = {
|
meta = {
|
||||||
description = "Audio encoder which generates compressed audio streams based on ATSC A/52 specification";
|
description = "Audio encoder which generates compressed audio streams based on ATSC A/52 specification";
|
||||||
homepage = "https://aften.sourceforge.net/";
|
homepage = "https://aften.sourceforge.net/";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue