commit:     28656a3a1e720528ea9c979105b189816315bfe0
Author:     Raffaele Spinelli <rafspiny <AT> gmail <DOT> com>
AuthorDate: Thu May 29 15:41:13 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 30 21:25:48 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28656a3a

sys-auth/libfprint: add 1.94.9

Signed-off-by: Raffaele Spinelli <rafspiny <AT> gmail.com>

sys-auth/libfprint:

* First commit introduces version 1.94.9 of libfprint
* Second commit removes old URL that is not reachable anymore as the project is 
only on gitlab.

Closes: https://bugs.gentoo.org/955926
Signed-off-by: Raffaele Spinelli <rafspiny <AT> gmail.com>

sys-auth/libfprint:

Add openssl dependency for some devices.

Closes: https://bugs.gentoo.org/955926
Signed-off-by: Raffaele Spinelli <rafspiny <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42107
Closes: https://github.com/gentoo/gentoo/pull/42107
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-auth/libfprint/Manifest                |  1 +
 sys-auth/libfprint/libfprint-1.94.9.ebuild | 80 ++++++++++++++++++++++++++++++
 sys-auth/libfprint/metadata.xml            |  3 +-
 3 files changed, 82 insertions(+), 2 deletions(-)

diff --git a/sys-auth/libfprint/Manifest b/sys-auth/libfprint/Manifest
index 9642a956d20a..447402ae03d6 100644
--- a/sys-auth/libfprint/Manifest
+++ b/sys-auth/libfprint/Manifest
@@ -1,2 +1,3 @@
 DIST libfprint-1.94.4.tar.gz 10408480 BLAKE2B 
492ea10777d223ce7d610f0dca2871c8eae08cb5dd7d30187194d6cc139a60d5350e5908f759434065614c05a72192347be19c1d6fe5641e08a2f6419bdcede7
 SHA512 
425efdfde373179a237805c4b5561e3531616798c41ccd4358f1c521f1e21af01f8ca61aaf8c959e2c68a69e4dfda23960e696acaaad2228ffef6f999986468e
 DIST libfprint-1.94.7.tar.bz2 9066931 BLAKE2B 
5df859c4e38a8016b8f91785d8634d85e023cc19b837e928dd2de6392ed77b7a82c26e6c1485df2fa1fb2041421d4dd05441d5df24c2fc5399783dcc174d5afc
 SHA512 
b91a71ef998b03a64b08d9439a1d26027f196f07fd1344bbe45f2dbeb3ace5752af9b7504ee8537eb40d896e43a517e3759a7b3735baded4cc3fb6c0ca3b0ece
+DIST libfprint-1.94.9.tar.bz2 9065976 BLAKE2B 
c79706c3f60949b86997871207b15ae9aa40a352c27378d0612b426d6da5802ac6f62293f7ed9d00fe8b3a0262c9774b4cfb03acdfc7e15691838b2822640890
 SHA512 
60d13fa894a9faaeee9f353d5cd9eb121af7180d35d05d6225c21808f889da640f95a25b09407bb904608f198eddfa8a0d900a072da93a5732bc03b60d717e07

diff --git a/sys-auth/libfprint/libfprint-1.94.9.ebuild 
b/sys-auth/libfprint/libfprint-1.94.9.ebuild
new file mode 100644
index 000000000000..f535fb8e692d
--- /dev/null
+++ b/sys-auth/libfprint/libfprint-1.94.9.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2025 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://fprint.freedesktop.org/
+       https://gitlab.freedesktop.org/libfprint/libfprint
+"
+SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/v${PV}/${MY_P}.tar.bz2
 -> ${P}.tar.bz2"
+
+S="${WORKDIR}/${MY_P}"
+LICENSE="LGPL-2.1+"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~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
+       dev-libs/openssl
+       examples? (
+               x11-libs/gdk-pixbuf:2
+               x11-libs/gtk+:3
+       )
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+       dev-util/glib-utils
+       sys-devel/gettext
+       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"
+)
+
+# As this version introduces metainfo for appstreamcli checking,
+# we neeed to disable network access during the tests.
+export AS_VALIDATE_NONET="true"
+
+src_configure() {
+       # TODO: wire up test deps (cairo, pygobject, etc) for extra tests
+       # currently skipped.
+       local emesonargs=(
+               $(meson_use examples gtk-examples)
+               $(meson_use gtk-doc doc)
+               $(meson_use introspection introspection)
+               -Ddrivers=all
+               -Dinstalled-tests=false
+               -Dudev_rules=enabled
+               -Dudev_rules_dir=$(get_udevdir)/rules.d
+       )
+
+       meson_src_configure
+}
+
+pkg_postinst() {
+       udev_reload
+}
+
+pkg_postrm() {
+       udev_reload
+}

diff --git a/sys-auth/libfprint/metadata.xml b/sys-auth/libfprint/metadata.xml
index ee1304226c06..5a9a65819d2c 100644
--- a/sys-auth/libfprint/metadata.xml
+++ b/sys-auth/libfprint/metadata.xml
@@ -4,7 +4,6 @@
        <!-- maintainer-needed -->
        <upstream>
                <remote-id 
type="freedesktop-gitlab">libfprint/libfprint</remote-id>
-               <remote-id type="github">freedesktop/libfprint</remote-id>
-               
<bugs-to>https://bugs.freedesktop.org/enter_bug.cgi?product=libfprint</bugs-to>
+               
<bugs-to>https://gitlab.freedesktop.org/libfprint/wiki/-/issues</bugs-to>
        </upstream>
 </pkgmetadata>

Reply via email to