mpv: don't advertise smb protocol support that we don't have
This commit is contained in:
parent
ec1855a947
commit
06885ad43c
@ -227,6 +227,10 @@ in stdenv'.mkDerivation (finalAttrs: {
|
||||
cp mpv_identify.sh umpv $out/bin/
|
||||
popd
|
||||
pushd $out/share/applications
|
||||
|
||||
# patch out smb protocol reference, since our ffmpeg can't handle it
|
||||
substituteInPlace mpv.desktop --replace-fail "smb," ""
|
||||
|
||||
sed -e '/Icon=/ ! s|mpv|umpv|g; s|^Exec=.*|Exec=umpv %U|' \
|
||||
mpv.desktop > umpv.desktop
|
||||
printf "NoDisplay=true\n" >> umpv.desktop
|
||||
|
Loading…
Reference in New Issue
Block a user