commit:     8031a4670c972a3a3045e29f37aa957d3196b5eb
Author:     Marco Scardovi <mscardovi <AT> icloud <DOT> com>
AuthorDate: Tue Dec 27 20:21:27 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 28 00:51:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8031a467

sys-auth/libfprint: add 1.94.5

Signed-off-by: Marco Scardovi <mscardovi <AT> icloud.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-auth/libfprint/Manifest                |  1 +
 sys-auth/libfprint/libfprint-1.94.5.ebuild | 59 ++++++++++++++++++++++++++++++
 sys-auth/libfprint/metadata.xml            |  1 +
 3 files changed, 61 insertions(+)

diff --git a/sys-auth/libfprint/Manifest b/sys-auth/libfprint/Manifest
index 44e61e5a5915..ae233d9316f7 100644
--- a/sys-auth/libfprint/Manifest
+++ b/sys-auth/libfprint/Manifest
@@ -1,2 +1,3 @@
 DIST libfprint-1.94.3.tar.gz 10409543 BLAKE2B 
33e25715313cfc37f0c05ad47eca6d315a041a067cfc7dfac9d71fcf5231a11f54888dd837c083b8cca03ca2b4b0bced30340e8966ab4c989d4a33c59ceb483e
 SHA512 
22290bd393b54ada75c4655b3e901b6ee25f389a396a9b29bc1e76c0333d9718483b2059c927deb5b8d8e0acf632fecc9c4535b3f161910d5c51fad508d3e7a4
 DIST libfprint-1.94.4.tar.gz 10408480 BLAKE2B 
492ea10777d223ce7d610f0dca2871c8eae08cb5dd7d30187194d6cc139a60d5350e5908f759434065614c05a72192347be19c1d6fe5641e08a2f6419bdcede7
 SHA512 
425efdfde373179a237805c4b5561e3531616798c41ccd4358f1c521f1e21af01f8ca61aaf8c959e2c68a69e4dfda23960e696acaaad2228ffef6f999986468e
+DIST libfprint-1.94.5.tar.bz2 8922994 BLAKE2B 
b79292dc77426d76e5e9cb1cbf8662867224f19ff9cf2434d000689d02e7d4609c9ca94a016185f71500e4a58e9522a7647684e1eaa841c02a40f27e0d22055e
 SHA512 
6a73b3d05bd61b5c74e64d52eba7dab6e97dcf149e32c882e05f15dc7241fd8e78f115957ed52a9657ff0b21642ec633c27cc905cbd4697ed41369508957c989

diff --git a/sys-auth/libfprint/libfprint-1.94.5.ebuild 
b/sys-auth/libfprint/libfprint-1.94.5.ebuild
new file mode 100644
index 000000000000..13f4c1ce816b
--- /dev/null
+++ b/sys-auth/libfprint/libfprint-1.94.5.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson udev
+
+MY_P="${PN}-v${PV}"
+
+DESCRIPTION="Library to add support for consumer fingerprint readers"
+HOMEPAGE="https://cgit.freedesktop.org/libfprint/libfprint 
https://gitlab.freedesktop.org/libfprint/libfprint";
+SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/v${PV}/${MY_P}.tar.bz2
 -> ${P}.tar.bz2"
+
+LICENSE="LGPL-2.1+"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="examples gtk-doc +introspection"
+
+RDEPEND="
+       dev-libs/glib:2
+       dev-libs/libgudev
+       dev-libs/nss
+       dev-python/pygobject
+       dev-libs/libgusb
+       x11-libs/pixman
+       examples? (
+               x11-libs/gdk-pixbuf:2
+               x11-libs/gtk+:3
+       )
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+       virtual/pkgconfig
+       gtk-doc? ( dev-util/gtk-doc )
+       introspection? (
+               dev-libs/gobject-introspection
+               dev-libs/libgusb[introspection]
+       )
+"
+
+PATCHES=( "${FILESDIR}/${PN}-1.94.1-test-timeout.patch" )
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+       local emesonargs=(
+               $(meson_use examples gtk-examples)
+               $(meson_use gtk-doc doc)
+               $(meson_use introspection introspection)
+               -Ddrivers=all
+               -Dudev_rules=enabled
+               -Dudev_rules_dir=$(get_udevdir)/rules.d
+               --libdir=/usr/$(get_libdir)
+       )
+
+       meson_src_configure
+}

diff --git a/sys-auth/libfprint/metadata.xml b/sys-auth/libfprint/metadata.xml
index ad11a1045644..9e7ea48833c1 100644
--- a/sys-auth/libfprint/metadata.xml
+++ b/sys-auth/libfprint/metadata.xml
@@ -3,6 +3,7 @@
 <pkgmetadata>
        <!-- maintainer-needed -->
        <upstream>
+               <remote-id 
type="freedesktop-gitlab">libfprint/libfprint</remote-id>
                
<bugs-to>https://bugs.freedesktop.org/enter_bug.cgi?product=libfprint</bugs-to>
        </upstream>
 </pkgmetadata>

Reply via email to