blob: 56330cf5ce0dac8b21122b0e6082c7c8c87562a4 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
# Maintainer: Stanislav T
# Contributor: Sergey Kokorin
pkgname=libfprint-goodix-60c2
pkgver=1.94.8
pkgrel=1
pkgdesc="Library for fingerprint readers"
url="https://fprint.freedesktop.org/"
arch=(x86_64)
license=(LGPL-2.1-or-later)
depends=(
gcc-libs
glib2
glibc
libgudev
libgusb
nss
pixman
)
makedepends=(
git
gobject-introspection
gtk-doc
meson
python-cairo
python-gobject
systemd
)
checkdepends=(
cairo
umockdev
)
provides=("libfprint" libfprint-2.so)
conflicts=("libfprint")
source=(
"${pkgname}::git+https://gitlab.freedesktop.org/libfprint/libfprint.git?signed#tag=v$pkgver"
"enable-goodix-60c2.patch"
)
b2sums=('594b70dae6bb52c479ff8ba09966b63c97d327361412e1fc472e96a82cb0343147f09bf30cfcba4e2549076e1b628e7ae52743d564eb2d2ba94054dc79947887'
'7cf36a276e05dc8e5c1615762ca531beb47e15f870b9231132621c7ad163445fbf1c9efb4a362b48029603aa744a37b8306330fc6e7271e606a9e14a38d4f861')
validpgpkeys=(
D4C501DA48EB797A081750939449C2F50996635F # Marco Trevisan (TreviƱo) <mail@3v1n0.net>
)
prepare() {
cd $pkgname
patch -Np1 -i ../enable-goodix-60c2.patch
}
build() {
local meson_options=(
# Add virtual drivers for integration tests (e.g. in fprintd)
-D drivers=all
-D installed-tests=false
)
arch-meson $pkgname build "${meson_options[@]}"
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
meson install -C build --destdir "$pkgdir"
}
# vim:set sw=2 sts=-1 et:
|