summaryrefslogtreecommitdiff
path: root/sys-auth/libfprint-2-tod1-broadcom/libfprint-2-tod1-broadcom-5.12.018.ebuild
blob: baf42464a468f2790442e830aa59cfb8d70402d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit udev

DESCRIPTION="Proprietary driver for the fingerprint reader on the Dell Latitude"
HOMEPAGE="https://git.launchpad.net/libfprint-2-tod1-broadcom/"
SRC_URI="http://dell.archive.canonical.com/updates/pool/public/libf/libfprint-2-tod1-broadcom/libfprint-2-tod1-broadcom_${PV}.orig.tar.gz"

LICENSE="Broadcom-tod"
SLOT="0"
KEYWORDS="~amd64"

RESTRICT="bindist mirror"
QA_PREBUILT="*"

RDEPEND="
	dev-libs/openssl:0/3
	sys-auth/libfprint[tod(-)]
"

src_install() {
	udev_dorules lib/udev/rules.d/60-libfprint-2-device-broadcom.rules
	exeinto usr/$(get_libdir)/libfprint-2/tod-1/
	doexe usr/lib/x86_64-linux-gnu/libfprint-2/tod-1/libfprint-2-tod-1-broadcom.so
	mv var "${ED}" || die
}

pkg_postinst() {
	udev_reload
}

pkg_postrm() {
	udev_reload
}