mpvScripts.mpris: support cross compilation
This commit is contained in:
parent
ead1dc9913
commit
df622909ad
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue