mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 20:02:58 +03:00
bluejeans: New Mozilla plugin
This commit is contained in:
parent
67f3c77fe6
commit
fd6600c809
@ -0,0 +1,56 @@
|
||||
{ stdenv, fetchurl, xorg, gtk, glib, gdk_pixbuf, dpkg, libXext, libXfixes
|
||||
, libXrender, libuuid, libXrandr, libXcomposite
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
let
|
||||
|
||||
rpathInstaller = makeLibraryPath
|
||||
[gtk glib stdenv.cc.cc];
|
||||
|
||||
rpathPlugin = makeLibraryPath
|
||||
[ stdenv.cc.cc gtk glib xorg.libX11 gdk_pixbuf libXext libXfixes libXrender libXrandr libuuid libXcomposite ];
|
||||
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "bluejeans-2.100.41.8";
|
||||
|
||||
version = "2.100.41.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://swdl.bluejeans.com/skinny/bjnplugin_2.100.41.8-1_amd64.deb";
|
||||
sha256 = "013m17lpgi6nhw2df10wvrsnsjxy5n7z41ab69vj5m9h0prw9vd1";
|
||||
};
|
||||
|
||||
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
|
||||
|
||||
unpackPhase = "${dpkg}/bin/dpkg-deb -x $src .";
|
||||
|
||||
installPhase =
|
||||
''
|
||||
mkdir -p $out
|
||||
cp -R usr/lib $out/
|
||||
|
||||
plugins=$out/lib/mozilla/plugins
|
||||
patchelf \
|
||||
--set-rpath "${rpathPlugin}" \
|
||||
$plugins/npbjnplugin_2.100.41.8.so
|
||||
|
||||
patchelf \
|
||||
--set-rpath "${rpathInstaller}" \
|
||||
$plugins/npbjninstallplugin_2.100.41.8.so
|
||||
'';
|
||||
|
||||
dontStrip = true;
|
||||
dontPatchELF = true;
|
||||
|
||||
passthru.mozillaPlugin = "/lib/mozilla/plugins";
|
||||
|
||||
meta = {
|
||||
homepage = http://bluejeans.com;
|
||||
license = stdenv.lib.licenses.unfree;
|
||||
maintainers = [ stdenv.lib.maintainers.ocharles ];
|
||||
};
|
||||
}
|
@ -10610,6 +10610,8 @@ let
|
||||
gtk = gtk3;
|
||||
};
|
||||
|
||||
bluejeans = callPackage ../applications/networking/browsers/mozilla-plugins/bluejeans { };
|
||||
|
||||
bristol = callPackage ../applications/audio/bristol { };
|
||||
|
||||
bspwm = callPackage ../applications/window-managers/bspwm { };
|
||||
@ -12939,6 +12941,7 @@ let
|
||||
++ lib.optional (cfg.enableFriBIDPlugin or false) fribid
|
||||
++ lib.optional (cfg.enableGnomeExtensions or false) gnome3.gnome_shell
|
||||
++ lib.optional (cfg.enableTrezor or false) trezor-bridge
|
||||
++ lib.optional (cfg.enableBluejeans or false) bluejeans
|
||||
);
|
||||
libs = [ gstreamer gst_plugins_base ] ++ lib.optionals (cfg.enableQuakeLive or false)
|
||||
(with xlibs; [ stdenv.cc libX11 libXxf86dga libXxf86vm libXext libXt alsaLib zlib ])
|
||||
|
Loading…
Reference in New Issue
Block a user