blob: af97323c8aa170a31957a81545f7bfab3be18167 (
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
|
# Maintainer: Louis Heili <_@ludwhe.dev>
pkgname=libfprint-vfs_proprietary-git
_reponame=libfprint-vfs_proprietary-driver
pkgver=0.99.0
pkgrel=3
pkgdesc="libfprint with support for the Validity/VFS proprietary driver"
arch=(x86_64)
url="https://github.com/rindeal/libfprint-vfs_proprietary-driver"
license=(LGPL)
depends=(libusb nss pixman glib2 vfs495-daemon)
makedepends=(git meson gtk-doc vfs495-daemon)
provides=(libfprint=0.99.0)
conflicts=(libfprint)
source=("git+https://github.com/rindeal/libfprint-vfs_proprietary-driver.git"
'build-vfs_proprietary.patch')
md5sums=('SKIP'
'9c24d84c98c48681bef0be7569f2f57d')
prepare() {
cd "$_reponame"
git submodule init
git submodule update --recursive
cd libfprint
patch -p1 -i "${srcdir}/build-vfs_proprietary.patch"
cd libfprint/drivers
ln -s ../../../vfs_proprietary
}
build() {
cd "${_reponame}/libfprint"
arch-meson -D drivers=vfs_proprietary -D x11-examples=false -D doc=false build
ninja -v -C build
}
check() {
cd "${_reponame}/libfprint/build"
meson test
}
package() {
DESTDIR="$pkgdir" ninja -C "${_reponame}/libfprint/build" install
}
|