void-packages/srcpkgs/libfprint/template
2019-08-11 15:39:13 +02:00

31 lines
1.1 KiB
Bash

# Template file for 'libfprint'
pkgname=libfprint
version=1.0
revision=1
wrksrc="libfprint-V_${version//./_}"
build_style=meson
configure_args="-Dudev_rules=false -Dx11-examples=false -Dgtk-examples=false -Ddoc=false"
hostmakedepends="pkg-config"
makedepends="libusb-devel nss-devel glib-devel gdk-pixbuf-devel pixman-devel"
short_desc="Support for consumer fingerprint reader devices"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://www.freedesktop.org/wiki/Software/fprint/"
changelog="https://gitlab.freedesktop.org/libfprint/libfprint/raw/master/NEWS"
distfiles="https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/V_${version//./_}/libfprint-V_${version//./_}.tar.bz2"
checksum=22777a1d202ef912395b94842ae6b531338c8d48a8a813616e846b1bc96c5ad9
post_install() {
vmkdir usr/lib/udev/rules.d
vinstall $FILESDIR/60-fprint-autosuspend.rules 644 usr/lib/udev/rules.d
}
libfprint-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}