Merge pull request #45934 from utdemir/master

bluejeans-gui: init at 1.6.39
This commit is contained in:
Matthew Bauer 2018-09-26 13:26:53 -05:00 committed by GitHub
commit 07cc937d60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,49 @@
{ stdenv, fetchurl, rpmextract, patchelf, libnotify, libcap, cairo, pango, fontconfig, udev, dbus
, gtk2, atk, expat, gdk_pixbuf, freetype, nspr, glib, nss, gconf, libX11, libXrender, libXtst, libXdamage
, libXi, libXext, libXfixes, libXcomposite, alsaLib, bash
}:
stdenv.mkDerivation rec {
name = "bluejeans-${version}";
version = "1.36.9";
src =
fetchurl {
url = "https://swdl.bluejeans.com/desktop/linux/1.36/${version}/bluejeans-${version}.x86_64.rpm";
sha256 = "0sbv742pzqd2cxn3kq10lfi16jah486i9kyrmi8l1rpb9fhyw2m1";
};
buildInputs = [ patchelf rpmextract ];
libPath =
stdenv.lib.makeLibraryPath
[ libnotify libcap cairo pango fontconfig gtk2 atk expat gdk_pixbuf dbus udev.lib
freetype nspr glib stdenv.cc stdenv.cc.cc.lib nss gconf libX11 libXrender libXtst libXdamage
libXi libXext libXfixes libXcomposite alsaLib
];
buildCommand = ''
mkdir -p $out/bin/
cd $out
rpmextract $src
patchelf \
--set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
opt/bluejeans/bluejeans-bin
patchelf \
--set-rpath ${libPath} \
opt/bluejeans/bluejeans-bin
patchelf \
--replace-needed libudev.so.0 libudev.so.1 \
opt/bluejeans/bluejeans-bin
ln -s $out/opt/bluejeans/bluejeans $out/bin/bluejeans
substituteInPlace $out/bin/bluejeans \
--replace '#!/bin/bash' '#!${bash}/bin/bash'
chmod +x $out/bin/bluejeans
'';
meta = {
description = "Video, audio, and web conferencing that works together with the collaboration tools you use every day.";
license = stdenv.lib.licenses.unfree;
platforms = [ "x86_64-linux" ];
};
}

View File

@ -15684,6 +15684,12 @@ with pkgs;
bluejeans = callPackage ../applications/networking/browsers/mozilla-plugins/bluejeans { };
bluejeans-gui = callPackage ../applications/networking/instant-messengers/bluejeans {
gconf = pkgs.gnome2.GConf;
inherit (pkgs.xorg) libX11 libXrender libXtst libXdamage
libXi libXext libXfixes libXcomposite;
};
bombono = callPackage ../applications/video/bombono {};
bomi = libsForQt5.callPackage ../applications/video/bomi {