libcef: 75.1.14 -> 90.6.7
This commit is contained in:
parent
09aaad7c13
commit
41756934db
|
@ -1,26 +1,66 @@
|
||||||
{ lib, stdenv, fetchurl, cmake, alsa-lib, atk, cairo, cups, dbus, expat, fontconfig
|
{ lib, stdenv, fetchurl, cmake
|
||||||
, GConf, gdk-pixbuf, glib, gtk2, libX11, libxcb, libXcomposite, libXcursor
|
, glib
|
||||||
, libXdamage, libXext, libXfixes, libXi, libXrandr, libXrender, libXScrnSaver
|
, nss
|
||||||
, libXtst, nspr, nss, pango, libpulseaudio, systemd, at-spi2-atk, at-spi2-core
|
, nspr
|
||||||
|
, atk
|
||||||
|
, at-spi2-atk
|
||||||
|
, libdrm
|
||||||
|
, expat
|
||||||
|
, libxcb
|
||||||
|
, libxkbcommon
|
||||||
|
, libX11
|
||||||
|
, libXcomposite
|
||||||
|
, libXdamage
|
||||||
|
, libXext
|
||||||
|
, libXfixes
|
||||||
|
, libXrandr
|
||||||
|
, mesa
|
||||||
|
, gtk3
|
||||||
|
, pango
|
||||||
|
, cairo
|
||||||
|
, alsa-lib
|
||||||
|
, dbus
|
||||||
|
, at-spi2-core
|
||||||
|
, cups
|
||||||
|
, libxshmfence
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
libPath =
|
rpath = lib.makeLibraryPath [
|
||||||
lib.makeLibraryPath [
|
glib
|
||||||
alsa-lib atk cairo cups dbus expat fontconfig GConf gdk-pixbuf glib gtk2
|
nss
|
||||||
libX11 libxcb libXcomposite libXcursor libXdamage libXext libXfixes libXi
|
nspr
|
||||||
libXrandr libXrender libXScrnSaver libXtst nspr nss pango libpulseaudio
|
atk
|
||||||
systemd at-spi2-core at-spi2-atk
|
at-spi2-atk
|
||||||
];
|
libdrm
|
||||||
in
|
expat
|
||||||
stdenv.mkDerivation rec {
|
libxcb
|
||||||
|
libxkbcommon
|
||||||
|
libX11
|
||||||
|
libXcomposite
|
||||||
|
libXdamage
|
||||||
|
libXext
|
||||||
|
libXfixes
|
||||||
|
libXrandr
|
||||||
|
mesa
|
||||||
|
gtk3
|
||||||
|
pango
|
||||||
|
cairo
|
||||||
|
alsa-lib
|
||||||
|
dbus
|
||||||
|
at-spi2-core
|
||||||
|
cups
|
||||||
|
libxshmfence
|
||||||
|
];
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
pname = "cef-binary";
|
pname = "cef-binary";
|
||||||
version = "75.1.14-gc81164e";
|
version = "90.6.7";
|
||||||
|
gitRevision = "19ba721";
|
||||||
|
chromiumVersion = "90.0.4430.212";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
name = "cef_binary_75.1.14+gc81164e+chromium-75.0.3770.100_linux64_minimal.tar.bz2";
|
url = "https://cef-builds.spotifycdn.com/cef_binary_${version}+g${gitRevision}+chromium-${chromiumVersion}_linux64_minimal.tar.bz2";
|
||||||
url = "http://opensource.spotify.com/cefbuilds/cef_binary_75.1.14%2Bgc81164e%2Bchromium-75.0.3770.100_linux64_minimal.tar.bz2";
|
sha256 = "1ja711x9fdlf21qw1k9xn3lvjc5zsfgnjga1w1r8sysam73jk7xj";
|
||||||
sha256 = "0985b2bx505j0q693hifjgidzb597wqf5idql5aqxs8lfxhc2pgg";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
@ -32,7 +72,7 @@ stdenv.mkDerivation rec {
|
||||||
mkdir -p $out/lib/ $out/share/cef/
|
mkdir -p $out/lib/ $out/share/cef/
|
||||||
cp libcef_dll_wrapper/libcef_dll_wrapper.a $out/lib/
|
cp libcef_dll_wrapper/libcef_dll_wrapper.a $out/lib/
|
||||||
cp ../Release/libcef.so $out/lib/
|
cp ../Release/libcef.so $out/lib/
|
||||||
patchelf --set-rpath "${libPath}" $out/lib/libcef.so
|
patchelf --set-rpath "${rpath}" $out/lib/libcef.so
|
||||||
cp ../Release/*.bin $out/share/cef/
|
cp ../Release/*.bin $out/share/cef/
|
||||||
cp -r ../Resources/* $out/share/cef/
|
cp -r ../Resources/* $out/share/cef/
|
||||||
cp -r ../include $out/
|
cp -r ../include $out/
|
||||||
|
@ -40,7 +80,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Simple framework for embedding Chromium-based browsers in other applications";
|
description = "Simple framework for embedding Chromium-based browsers in other applications";
|
||||||
homepage = "http://opensource.spotify.com/cefbuilds/index.html";
|
homepage = "https://cef-builds.spotifycdn.com/index.html";
|
||||||
maintainers = with maintainers; [ puffnfresh ];
|
maintainers = with maintainers; [ puffnfresh ];
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
platforms = with platforms; linux;
|
platforms = with platforms; linux;
|
||||||
|
|
|
@ -15915,7 +15915,7 @@ in
|
||||||
|
|
||||||
libcec_platform = callPackage ../development/libraries/libcec/platform.nix { };
|
libcec_platform = callPackage ../development/libraries/libcec/platform.nix { };
|
||||||
|
|
||||||
libcef = callPackage ../development/libraries/libcef { inherit (gnome2) GConf; };
|
libcef = callPackage ../development/libraries/libcef {};
|
||||||
|
|
||||||
libcello = callPackage ../development/libraries/libcello {};
|
libcello = callPackage ../development/libraries/libcello {};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue