@@ -28,6 +28,20 @@ stdenv.mkDerivation rec {
|
||||
postPatch = ''
|
||||
substituteInPlace ebur128/libebur128.pc.cmake \
|
||||
--replace '$'{prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@
|
||||
''
|
||||
# Fix the build with CMake 4.
|
||||
#
|
||||
# See:
|
||||
#
|
||||
# * <https://github.com/jiixyj/libebur128/issues/134>
|
||||
# * <https://github.com/jiixyj/libebur128/pull/135>
|
||||
+ ''
|
||||
for file in CMakeLists.txt test/CMakeLists.txt; do
|
||||
substituteInPlace "$file" \
|
||||
--replace-fail \
|
||||
'cmake_minimum_required(VERSION 2.8.12' \
|
||||
'cmake_minimum_required(VERSION 3.10'
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user