Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/libfprint/
Date: Fri, 13 Sep 2019 13:15:17
Message-Id: 1568380507.c944d318c09ae030ecbd7277afb210d062911b6e.zlogene@gentoo
1 commit: c944d318c09ae030ecbd7277afb210d062911b6e
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 13 13:14:45 2019 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 13 13:15:07 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c944d318
7
8 sys-auth/libfprint: Version bump (v1.0)
9
10 Package-Manager: Portage-2.3.69, Repoman-2.3.16
11 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
12
13 sys-auth/libfprint/Manifest | 1 +
14 sys-auth/libfprint/libfprint-1.0.ebuild | 44 +++++++++++++++++++++++++++++++++
15 2 files changed, 45 insertions(+)
16
17 diff --git a/sys-auth/libfprint/Manifest b/sys-auth/libfprint/Manifest
18 index 53cd28195cd..d811163093f 100644
19 --- a/sys-auth/libfprint/Manifest
20 +++ b/sys-auth/libfprint/Manifest
21 @@ -1 +1,2 @@
22 DIST libfprint-0.99.0.tar.gz 473925 BLAKE2B 799e3600393e4b25f7b0685ff0456ca391e5fcaef36e5b4475371cd07c848e40820dbbdc5a241fe11c6ee08b818380967129f85e177b5d8714b9dbc4d7b68ea1 SHA512 eca1d45baa23b7db1fcc5d7a9a396fe504aadc6ec2e68da32b5415fb0fff1227566d579271e0b34895ce7f3baa55314a0ccd20bb8c4adba253063b7b61284748
23 +DIST libfprint-1.0.tar.gz 475347 BLAKE2B cb560898cec11861c4529c0c37c328f74eaf271c1932ca5126b7bd6c82fafee24aff393c0fe223fef018a34a409647065d5f98a999c00f0e7a879e33bdfcd3cb SHA512 2d7f569368035cce0a579ef3412a1961c28aab254ae6174ce9ad11ce97b3dce824d0c6123adac12718cb074439e4d5b93bf978e5341824f179231d1faa219a26
24
25 diff --git a/sys-auth/libfprint/libfprint-1.0.ebuild b/sys-auth/libfprint/libfprint-1.0.ebuild
26 new file mode 100644
27 index 00000000000..b3d49b6892c
28 --- /dev/null
29 +++ b/sys-auth/libfprint/libfprint-1.0.ebuild
30 @@ -0,0 +1,44 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit meson udev
37 +
38 +DESCRIPTION="library to add support for consumer fingerprint readers"
39 +HOMEPAGE="https://cgit.freedesktop.org/libfprint/libfprint/ https://github.com/freedesktop/libfprint"
40 +SRC_URI="https://github.com/freedesktop/libfprint/archive/V_$(ver_rs 0-3 '_').tar.gz -> ${P}.tar.gz"
41 +
42 +LICENSE="LGPL-2.1"
43 +SLOT="0"
44 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
45 +IUSE="examples"
46 +
47 +RDEPEND="dev-libs/glib:2
48 + dev-libs/nss
49 + virtual/libusb:1=
50 + x11-libs/gtk+:3
51 + x11-libs/pixman
52 + x11-libs/libX11
53 + x11-libs/libXv"
54 +
55 +DEPEND="${RDEPEND}
56 + dev-util/gtk-doc"
57 +
58 +BDEPEND="virtual/pkgconfig"
59 +
60 +PATCHES=( ${FILESDIR}/${PN}-0.8.2-fix-implicit-declaration.patch )
61 +
62 +S="${WORKDIR}/${PN}-V_$(ver_rs 0-3 '_')"
63 +
64 +src_configure() {
65 + local emesonargs=(
66 + -Ddoc=false
67 + -Dx11-examples=$(usex examples true false)
68 + -Ddrivers=all
69 + -Dudev_rules=true
70 + -Dudev_rules_dir=$(get_udevdir)/rules.d
71 + --libdir=/usr/$(get_libdir)
72 + )
73 + meson_src_configure
74 +}