diff options
author | angristan <angristan@pm.me> | 2019-04-30 01:52:45 +0200 |
---|---|---|
committer | angristan <angristan@pm.me> | 2019-04-30 01:52:45 +0200 |
commit | ee303d04ded6b32e36323dc447ff3ee29d4c662b (patch) | |
tree | 6bc6c21e478c069c4d6c31e87168eb1e303040c2 /pkgs/applications/video/plex-media-player | |
parent | 5f4a4e938ff4f87dc048689ef360dd43dea9ac42 (diff) |
plex-media-player: remove custom desktopItem
Diffstat (limited to 'pkgs/applications/video/plex-media-player')
-rw-r--r-- | pkgs/applications/video/plex-media-player/default.nix | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/pkgs/applications/video/plex-media-player/default.nix b/pkgs/applications/video/plex-media-player/default.nix index ceba62b6f6076..28f20ace0d9cc 100644 --- a/pkgs/applications/video/plex-media-player/default.nix +++ b/pkgs/applications/video/plex-media-player/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, fetchurl, makeDesktopItem, pkgconfig, cmake, python3 +{ stdenv, fetchFromGitHub, fetchurl, pkgconfig, cmake, python3 , libX11, libXrandr, qtbase, qtwebchannel, qtwebengine, qtx11extras , libvdpau, SDL2, mpv, libGL }: let @@ -50,16 +50,6 @@ in stdenv.mkDerivation rec { buildInputs = [ libX11 libXrandr qtbase qtwebchannel qtwebengine qtx11extras libvdpau SDL2 mpv libGL ]; - desktopItem = makeDesktopItem { - name = "plex-media-player"; - exec = "plexmediaplayer"; - icon = "plex-media-player"; - comment = "View your media"; - desktopName = "Plex Media Player"; - genericName = "Media Player"; - categories = "AudioVideo;Video;Player;TV;"; - }; - preConfigure = with depSrcs; '' mkdir -p build/dependencies ln -s ${webClient} build/dependencies/buildid-${webClientBuildId}.cmake @@ -72,7 +62,6 @@ in stdenv.mkDerivation rec { postInstall = '' mkdir -p $out/share/{applications,pixmaps} cp ${src}/resources/images/icon.png $out/share/pixmaps/plex-media-player.png - cp ${desktopItem}/share/applications/* $out/share/applications ''; cmakeFlags = [ "-DCMAKE_BUILD_TYPE=RelWithDebInfo" "-DQTROOT=${qtbase}" ]; |