mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2025-12-06 13:52:40 +01:00
42 lines
935 B
Bash
42 lines
935 B
Bash
# Copyright 2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit udev
|
|
|
|
DESCRIPTION="Goodix driver module for libfprint-2 Touch OEM Driver"
|
|
HOMEPAGE="https://git.launchpad.net/~oem-solutions-engineers/libfprint-2-tod1-goodix"
|
|
SRC_URI="
|
|
https://git.launchpad.net/~oem-solutions-engineers/libfprint-2-tod1-goodix/plain/usr/lib/x86_64-linux-gnu/libfprint-2/tod-1/${PN/-drivers/}-53xc-${PV}.so?id=8ec36981e28288f3e895946528eded0e09831de6
|
|
-> ${PN/-drivers/}-53xc-${PV}.so
|
|
"
|
|
|
|
S="${WORKDIR}"
|
|
|
|
LICENSE="Goodix"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
DEPEND="
|
|
sys-auth/libfprint-tod:2
|
|
"
|
|
RDEPEND="
|
|
${DEPEND}
|
|
acct-group/plugdev
|
|
"
|
|
|
|
RESTRICT="strip"
|
|
|
|
src_unpack() {
|
|
:
|
|
}
|
|
|
|
src_install() {
|
|
insopts -m0755
|
|
insinto /usr/$(get_libdir)/libfprint-2/tod-1
|
|
doins "${DISTDIR}"/libfprint-tod-goodix-53xc-${PV}.so
|
|
|
|
udev_newrules "${FILESDIR}"/60-libfprint-2-tod1-goodix.rules 60-libfprint-2-tod1-goodix.rules
|
|
}
|