libmt32emu: fixup path in .pc file

This commit is contained in:
Vladimír Čunát 2022-09-27 18:19:42 +02:00
parent 31b9ecf449
commit 6f69105199
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -28,6 +28,12 @@ stdenv.mkDerivation rec {
"-Dmunt_WITH_MT32EMU_QT=OFF"
];
postFixup = ''
substituteInPlace "$dev"/lib/pkgconfig/mt32emu.pc \
--replace '=''${exec_prefix}//' '=/' \
--replace "$dev/$dev/" "$dev/"
'';
meta = with lib; {
homepage = "http://munt.sourceforge.net/";
description = "A library to emulate Roland MT-32, CM-32L, CM-64 and LAPC-I devices";