mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
mpv: umpv desktop file
This commit is contained in:
parent
f0c414d510
commit
1596ce4859
@ -196,6 +196,8 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
cp TOOLS/mpv_identify.sh $out/bin
|
||||
cp TOOLS/umpv $out/bin
|
||||
cp $out/share/applications/mpv.desktop $out/share/applications/umpv.desktop
|
||||
sed -i '/Icon=/ ! s/mpv/umpv/g' $out/share/applications/umpv.desktop
|
||||
'' + optionalString stdenv.isDarwin ''
|
||||
mkdir -p $out/Applications
|
||||
cp -r build/mpv.app $out/Applications
|
||||
|
Loading…
Reference in New Issue
Block a user