blob: 9b1939818196d1c9520d9a1074f41eb494a6cad3 (
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
|
# Maintainer: nezu <nezu@nezu.cc>
#
# This is a modified version of the libfprint PKGBUILD file from the official Arch Linux repositories
pkgname=libfprint-tod
_pkgdirname=libfprint
pkgver=1.95.2+tod1
pkgrel=1
pkgdesc="Library for fingerprint readers - TOD version"
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
glib2-devel
gobject-introspection
gtk-doc
meson
python-cairo
python-gobject
systemd
)
checkdepends=(
cairo
umockdev
)
# Provide libfprint for compatibility with fprintd and also provide libfprint-tod for tod-style-only drivers
provides=(libfprint libfprint-tod libfprint-2.so libfprint-2-tod.so)
conflicts=(libfprint)
groups=(fprint)
source=("git+https://gitlab.freedesktop.org/3v1n0/libfprint.git?signed#tag=v$pkgver")
b2sums=('7409a4fb2de8dc03c8829f2c6fecd14484ca880bf6860ac6948bc2186f989077ae4316bfd4e077d0f3b9127f98fbdac8915e034b4958fdb363c31e51897359d1')
validpgpkeys=(
D4C501DA48EB797A081750939449C2F50996635F # Marco Trevisan (TreviƱo) <mail@3v1n0.net>
)
options=('!lto')
build() {
local meson_options=(
# Add virtual drivers for integration tests (e.g. in fprintd)
-D drivers=all
-D installed-tests=false
)
arch-meson $_pkgdirname build "${meson_options[@]}"
meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
}
|