1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 13:52:40 +01:00

sys-auth/fprintd: add fprintd 1.90.8

This commit is contained in:
2020-12-26 16:22:03 +01:00
parent 41aa3d2de7
commit 65cedefc79
2 changed files with 66 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST fprintd-1.90.8.tar.bz2 635139 BLAKE2B 4f9e5c395c32dd5de3f5ed4d17e81c28a55de0f411deb3ccbc5d1330129be2bc8263c63c61a5e4910f74e49ebbbf508e858f5ee131eb4552e2ea8ab167bc6021 SHA512 0f38e0ce9f7c1459ba5359d0834569fe5d3f5ec3c9499d008dc39b9c869bbfa1cb293b1d96d22f9f36708f26984a1b3f0776685d628df69f1ed6db14de04a489
EBUILD fprintd-1.90.8.ebuild 1570 BLAKE2B 6d5e9dc4d04fe0ca01d155c76940746d5528e80ab426871966ea2f4d7a13d4243e6e01a378d04a5b5f88821fac0bdf60cbf62c16cddf6a2418fbf074f6b7543f SHA512 8219e5c25c15216b8d407266caba5f544b8855d2a90bca373ba1d53a30fcaea5ab6b323844ae634b20311a2474fae2a15b335cbdbc2810ae2beb94dbf603200e

View File

@@ -0,0 +1,64 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson pam systemd
DESCRIPTION="D-Bus service to access fingerprint readers"
HOMEPAGE="https://gitlab.freedesktop.org/libfprint/fprintd"
SRC_URI="https://gitlab.freedesktop.org/libfprint/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="doc pam"
RDEPEND="
dev-libs/dbus-glib
dev-libs/glib:2
|| ( >=sys-auth/libfprint-1.90.1 >=sys-auth/libfprint-tod-1.90.1 )
sys-auth/polkit
pam? ( sys-libs/pam )
"
DEPEND="${RDEPEND}
dev-python/dbusmock
dev-util/gtk-doc
dev-util/gtk-doc-am
dev-util/intltool
doc? ( dev-libs/libxml2 dev-libs/libxslt )
pam? ( sys-libs/pam_wrapper )
"
S="${WORKDIR}/${PN}-v${PV}"
src_configure() {
local emesonargs=(
-Dpam=$(usex pam true false)
-Dpam_modules_dir="$(getpam_mod_dir)"
-Dsystemd=true
-Dsystemd_system_unit_dir="$(systemd_get_systemunitdir)"
-Dgtk_doc=$(usex doc true false)
)
meson_src_configure
}
src_install() {
meson_src_install
keepdir /var/lib/fprint
find "${D}" -name "*.la" -delete || die
dodoc AUTHORS NEWS README{,.transifex} TODO
newdoc pam/README README.pam_fprintd
if use doc ; then
insinto /usr/share/doc/${PF}/html
doins doc/{fprintd-docs,version}.xml
insinto /usr/share/doc/${PF}/html/dbus
doins doc/dbus/net.reactivated.Fprint.{Device,Manager}.ref.xml
fi
}
pkg_postinst() {
elog "Please take a look at README.pam_fprintd for integration docs."
}