mpvScripts.mpris: use patch sent upstream for make DESTDIR=

Make sure mpris.so is stripped.
mpv-with-scripts: use a standard location for scripts in $out.
mpvScripts.convert: install to the new location of mpv scripts.
Replaced gobject-introspection dependency with glib.
This commit is contained in:
Doron Behar
2020-05-06 10:30:20 +03:00
parent f388ca8ac8
commit b0ac6a009b
3 changed files with 22 additions and 9 deletions
+1 -1
View File
@@ -9,6 +9,6 @@ symlinkJoin {
postBuild = ''
wrapProgram $out/bin/mpv \
--add-flags "${stdenv.lib.concatMapStringsSep " " (x: "--script=" + x) scripts}"
--add-flags "${stdenv.lib.concatMapStringsSep " " (x: "--script=${x}/share/mpv/scripts/${x.scriptName}") scripts}"
'';
}