Merge pull request #37190 from kmicklas/zoom-us-desktop-item
zoom-us: add desktop item
This commit is contained in:
commit
ec8c3c82cc
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, system, makeWrapper,
|
{ stdenv, fetchurl, system, makeWrapper, makeDesktopItem,
|
||||||
alsaLib, dbus, glib, gstreamer, fontconfig, freetype, libpulseaudio, libxml2,
|
alsaLib, dbus, glib, gstreamer, fontconfig, freetype, libpulseaudio, libxml2,
|
||||||
libxslt, libGLU_combined, nspr, nss, sqlite, utillinux, zlib, xorg, udev, expat, libv4l }:
|
libxslt, libGLU_combined, nspr, nss, sqlite, utillinux, zlib, xorg, udev, expat, libv4l }:
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ in stdenv.mkDerivation {
|
|||||||
];
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
$preInstallHooks
|
runHook preInstall
|
||||||
|
|
||||||
packagePath=$out/share/zoom-us
|
packagePath=$out/share/zoom-us
|
||||||
mkdir -p $packagePath
|
mkdir -p $packagePath
|
||||||
@ -88,9 +88,19 @@ in stdenv.mkDerivation {
|
|||||||
Prefix = $packagePath
|
Prefix = $packagePath
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
$postInstallHooks
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postInstall = (makeDesktopItem {
|
||||||
|
name = "zoom-us";
|
||||||
|
exec = "$out/bin/zoom-us %U";
|
||||||
|
icon = "$out/share/zoom-us/application-x-zoom.png";
|
||||||
|
desktopName = "Zoom";
|
||||||
|
genericName = "Video Conference";
|
||||||
|
categories = "Network;Application;";
|
||||||
|
mimeType = "x-scheme-handler/zoommtg;";
|
||||||
|
}).buildCommand;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://zoom.us/;
|
homepage = https://zoom.us/;
|
||||||
description = "zoom.us video conferencing application";
|
description = "zoom.us video conferencing application";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user