Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-03-30 18:15:05 +00:00
committed by GitHub
353 changed files with 2868 additions and 1956 deletions

View File

@@ -0,0 +1,35 @@
{ stdenv, lib, fetchgit, libfprint-tod }:
stdenv.mkDerivation {
pname = "libfprint-2-tod1-goodix";
version = "0.0.6";
src = fetchgit {
url = "https://git.launchpad.net/~oem-solutions-engineers/libfprint-2-tod1-goodix/+git/libfprint-2-tod1-goodix";
rev = "882735c6366fbe30149eea5cfd6d0ddff880f0e4"; # droped-lp1880058 on 20202-11-25
sha256 = "sha256-Uv+Rr4V31DyaZFOj79Lpyfl3G6zVWShh20roI0AvMPU=";
};
buildPhase = ''
patchelf \
--set-rpath ${lib.makeLibraryPath [ libfprint-tod ]} \
usr/lib/x86_64-linux-gnu/libfprint-2/tod-1/libfprint-tod-goodix-53xc-0.0.6.so
ldd usr/lib/x86_64-linux-gnu/libfprint-2/tod-1/libfprint-tod-goodix-53xc-0.0.6.so
'';
installPhase = ''
mkdir -p "$out/usr/lib/libfprint-2/tod-1/"
mkdir -p "$out/usr/lib/udev/rules.d/"
cp usr/lib/x86_64-linux-gnu/libfprint-2/tod-1/libfprint-tod-goodix-53xc-$version.so "$out/usr/lib/libfprint-2/tod-1/"
cp lib/udev/rules.d/60-libfprint-2-tod1-goodix.rules "$out/usr/lib/udev/rules.d/"
'';
meta = with lib; {
description = "Goodix driver module for libfprint-2-tod Touch OEM Driver";
homepage = "https://git.launchpad.net/~oem-solutions-engineers/libfprint-2-tod1-goodix/+git/libfprint-2-tod1-goodix/";
license = licenses.unfree;
platforms = platforms.linux;
maintainers = with maintainers; [ grahamc ];
};
}

View File

@@ -0,0 +1,40 @@
{ lib
, libfprint
, fetchFromGitLab
}:
# for the curious, "tod" means "Touch OEM Drivers" meaning it can load
# external .so's.
libfprint.overrideAttrs ({ postPatch ? "", mesonFlags ? [], ... }: let
version = "1.90.7+git20210222+tod1";
in {
pname = "libfprint-tod";
inherit version;
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "3v1n0";
repo = "libfprint";
rev = "v${version}";
sha256 = "0cj7iy5799pchyzqqncpkhibkq012g3bdpn18pfb19nm43svhn4j";
};
mesonFlags = mesonFlags ++ [
"-Dudev_hwdb_dir=${placeholder "out"}/lib/udev/hwdb.d"
];
postPatch = ''
${postPatch}
patchShebangs ./tests/*.py ./tests/*.sh
'';
meta = with lib; {
homepage = "https://gitlab.freedesktop.org/3v1n0/libfprint";
description = "A library designed to make it easy to add support for consumer fingerprint readers, with support for loaded drivers";
license = licenses.lgpl21;
platforms = platforms.linux;
maintainers = with maintainers; [ grahamc ];
};
})

View File

@@ -37,6 +37,7 @@
, libGL
, libGLU
, libintl
, libmanette
, openjpeg
, enableGeoLocation ? true
, geoclue2
@@ -59,7 +60,7 @@ with lib;
stdenv.mkDerivation rec {
pname = "webkitgtk";
version = "2.30.6";
version = "2.32.0";
outputs = [ "out" "dev" ];
@@ -67,7 +68,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "https://webkitgtk.org/releases/${pname}-${version}.tar.xz";
sha256 = "07kwkn7gnlfw4idl5vyyzhzbj2bjzvjrclbikn9vaw0pm73nwwsh";
sha256 = "1w3b0w8izp0i070grhv19j631sdcd0mcqnjnax13k8mdx7dg8zcx";
};
patches = optionals stdenv.isLinux [
@@ -115,6 +116,7 @@ stdenv.mkDerivation rec {
libgcrypt
libidn
libintl
libmanette
libnotify
libpthreadstubs
libsecret