From 490b68c1214bd06d4a59633900ddd451d4f538a5 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sat, 16 Oct 2021 23:51:12 -0400 Subject: Import fprint stuff from tatsh-overlay. --- sys-auth/libfprint/Manifest | 2 ++ sys-auth/libfprint/libfprint-1.94.1.ebuild | 50 ++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 sys-auth/libfprint/Manifest create mode 100644 sys-auth/libfprint/libfprint-1.94.1.ebuild (limited to 'sys-auth/libfprint') diff --git a/sys-auth/libfprint/Manifest b/sys-auth/libfprint/Manifest new file mode 100644 index 0000000..882f8e5 --- /dev/null +++ b/sys-auth/libfprint/Manifest @@ -0,0 +1,2 @@ +DIST libfprint-1.94.1.tar.gz 10405046 BLAKE2B a46af62d3f7f8ad7f0815cecbd2a8c68c212e13785b968b0f0304473db5f4b7eb67d0bb74411c4828a51b9c22f6c86bd08ad564db623acf31715a1d0f7aa8389 SHA512 bae1de8378b9fb8fed1e292d96637a1e4a1c99a5a3f7735dae036eddb022bea2b5646bebf610b714338d4645e73b0968b14c20b1992d77d83a60c939c1509b44 +EBUILD libfprint-1.94.1.ebuild 1249 BLAKE2B d03fe819b72b233b28fad0b1a0158b100dded643f55e0827d0472f6648c6d4d8668089595a43fcff96e19f983d8abba9bcbdf94ccbffd4eb36989c4347838748 SHA512 297415c702a583a6e2845b398dfed34768016a4b0b659e5403761f624eaed47c93379e0706760358bff4ed3721d1dc787fbf416eaec94a41640d5fa50dd82676 diff --git a/sys-auth/libfprint/libfprint-1.94.1.ebuild b/sys-auth/libfprint/libfprint-1.94.1.ebuild new file mode 100644 index 0000000..ce92cb6 --- /dev/null +++ b/sys-auth/libfprint/libfprint-1.94.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson udev + +DESCRIPTION="Library to add support for consumer fingerprint readers" +HOMEPAGE="https://cgit.freedesktop.org/libfprint/libfprint/ https://github.com/freedesktop/libfprint https://gitlab.freedesktop.org/libfprint/libfprint" +SRC_URI="https://github.com/freedesktop/libfprint/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="examples gtk-doc +introspection" + +RDEPEND=" + dev-libs/glib:2 + dev-libs/libgusb + dev-libs/nss + virtual/libusb:1= + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXv + x11-libs/pixman + !>=sys-auth/libfprint-1.92:0 +" + +DEPEND="${RDEPEND}" + +BDEPEND=" + virtual/pkgconfig + gtk-doc? ( dev-util/gtk-doc ) + introspection? ( dev-libs/gobject-introspection ) +" + +PATCHES=( ${FILESDIR}/${PN}-0.8.2-fix-implicit-declaration.patch ) + +src_configure() { + local emesonargs=( + $(meson_use examples gtk-examples) + $(meson_use introspection) + $(meson_use gtk-doc doc) + -Ddrivers=all + -Dudev_rules=enabled + -Dudev_rules_dir=$(get_udevdir)/rules.d + --libdir=/usr/$(get_libdir) + ) + meson_src_configure +} \ No newline at end of file -- cgit v1.2.3