mpvScripts.mpris: support cross compilation

This commit is contained in:
Colin 2023-08-01 06:30:15 +00:00 committed by Artturin
parent ead1dc9913
commit df622909ad

View File

@ -15,6 +15,10 @@ stdenv.mkDerivation rec {
buildInputs = [ glib mpv-unwrapped ];
postPatch = ''
substituteInPlace Makefile --replace 'PKG_CONFIG =' 'PKG_CONFIG ?='
'';
installFlags = [ "SCRIPTS_DIR=$(out)/share/mpv/scripts" ];
# Otherwise, the shared object isn't `strip`ped. See: