blob: fb4b1b7422d01f1984b3411b6a557755d8b245e0 (
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
38
39
40
|
# Maintainer: Natasha England-Elbro <ashenglandelbro@protonmail.com>
arch=('x86_64')
pkgname="libfprint-goodixtls-git"
pkgdesc="libfprint fork for goodixtls devices. Currently supports 5110. Note you will need to flash your device with [goodix-fp-dump](https://github.com/mpi3d/goodix-fp-dump) to use this"
makedepends=("git" "meson" "opencv" "pkgconf" "gobject-introspection" "gtk-doc" "doctest" "cmake")
license=("LGPL2")
provides=("libfprint" "libfprint-2.so=2-64")
conflicts=("libfprint")
source=("${pkgname}::git+https://github.com/0x00002a/libfprint.git")
pkgrel=2
pkgver=r1698.c734fd9
md5sums=('SKIP')
depends=('libgusb' 'openssl' 'pixman' 'nss' 'libgudev')
optdepends=('fprintd: D-Bus daemon for managing readers')
url="https://github.com/0x00002a/libfprint/tree/0x2a/dev/goodixtls-sigfm"
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "${srcdir}/${pkgname}"
mkdir -p build
git switch '0x2a/dev/goodixtls-sigfm'
}
build() {
cd "${srcdir}/${pkgname}/build"
meson ..
meson configure --buildtype=release --prefix=/usr -D doc=false
meson build ..
}
package() {
cd "${srcdir}/${pkgname}/build"
meson install --destdir="${pkgdir}"
}
|