New package: libfprint0-1.0

This commit is contained in:
Đoàn Trần Công Danh 2021-01-14 07:41:57 +07:00
parent 326fbe95b0
commit 26e23d4f39
5 changed files with 49 additions and 0 deletions

View file

@ -1571,6 +1571,7 @@ libtcmalloc.so.4 gperftools-2.1_1
libaio.so.1 libaio-0.3.109_1
libofx.so.7 libofx-0.9.11_1
libsigsegv.so.2 libsigsegv-2.10_2
libfprint.so.0 libfprint0-1.0_1
libfprint-2.so.2 libfprint-1.90.7_1
libwx_baseu_xml-3.0.so.0 wxWidgets-common-3.0.4_1
libwx_baseu-3.0.so.0 wxWidgets-common-3.0.4_1

1
srcpkgs/libfprint0-devel Symbolic link
View file

@ -0,0 +1 @@
libfprint0

View file

@ -0,0 +1,12 @@
--- libfprint/nbis/include/bozorth.h.orig 2019-08-11 15:17:26.878344708 +0200
+++ libfprint/nbis/include/bozorth.h 2019-08-11 15:17:10.303132150 +0200
@@ -218,7 +218,9 @@ struct xytq_struct {
/* Globals supporting command line options */
extern int verbose_threshold;
/* Global supporting error reporting */
+#ifdef __GLIBC__
extern FILE *stderr;
+#endif
/**************************************************************************/
/* In: BZ_GBLS.C */

View file

@ -0,0 +1,33 @@
# Template file for 'libfprint0'
pkgname=libfprint0
version=1.0
revision=2
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"
depends="libfprint-udev-rules"
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
provides="libfprint-${version}_${revision}"
replaces="libfprint<=${version}_1"
post_install() {
vmkdir usr/lib/udev/rules.d
}
libfprint0-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}

View file

@ -0,0 +1,2 @@
pattern='/archive/[^/]+/\Q'"$pkgname"'\E-v?_\K[\d\._]+(?=\.tar\.gz")'
ignore='*.99.* 1.9* [2-9].*'