diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-07-29 12:00:13 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-29 12:00:13 +0000 |
commit | ffe265b8bef444da3c9f57d684f0f0853368851f (patch) | |
tree | f799da71348752286cc729be32ae7fc98b5ecfa2 /pkgs/applications/video | |
parent | f374e8c8dc413229f80756699377f1cceea4de5b (diff) | |
parent | 980bc2d470c1b14585bbd44beeecdf6d72d1da43 (diff) |
Merge pull request #131895 from dcbaker/makemkv-add-destktop-file
makemkv: Install .desktop file and icons
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r-- | pkgs/applications/video/makemkv/default.nix | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/pkgs/applications/video/makemkv/default.nix b/pkgs/applications/video/makemkv/default.nix index 54f3d42e7a7e9..180d5e8e8293a 100644 --- a/pkgs/applications/video/makemkv/default.nix +++ b/pkgs/applications/video/makemkv/default.nix @@ -29,6 +29,7 @@ let ]; sha256 = "0ssg3q1z80652d4gkv1z7kpsxx82xcw6kpsw266c8q4y2n8x7c76"; }; + in mkDerivation { pname = "makemkv"; inherit version; @@ -51,9 +52,15 @@ in mkDerivation { installPhase = '' runHook preInstall - install -Dm555 -t $out/bin out/makemkv ../makemkv-bin-${version}/bin/amd64/makemkvcon - install -D -t $out/lib out/lib{driveio,makemkv,mmbd}.so.* - install -D -t $out/share/MakeMKV ../makemkv-bin-${version}/src/share/* + install -Dm555 -t $out/bin out/makemkv ../makemkv-bin-${version}/bin/amd64/makemkvcon + install -D -t $out/lib out/lib{driveio,makemkv,mmbd}.so.* + install -D -t $out/share/MakeMKV ../makemkv-bin-${version}/src/share/* + install -Dm444 -t $out/share/applications ../makemkv-oss-${version}/makemkvgui/share/makemkv.desktop + install -Dm444 -t $out/share/icons/hicolor/16x16 ../makemkv-oss-${version}/makemkvgui/share/icons/16x16/* + install -Dm444 -t $out/share/icons/hicolor/32x32 ../makemkv-oss-${version}/makemkvgui/share/icons/32x32/* + install -Dm444 -t $out/share/icons/hicolor/64x64 ../makemkv-oss-${version}/makemkvgui/share/icons/64x64/* + install -Dm444 -t $out/share/icons/hicolor/128x128 ../makemkv-oss-${version}/makemkvgui/share/icons/128x128/* + install -Dm444 -t $out/share/icons/hicolor/256x256 ../makemkv-oss-${version}/makemkvgui/share/icons/256x256/* runHook postInstall ''; |