fprintd: update to 1.90.1.

This commit is contained in:
Đoàn Trần Công Danh 2020-09-10 20:54:57 +07:00
parent 2d1e6ccf85
commit 3ad28fb416

View file

@ -1,36 +1,21 @@
# Template file for 'fprintd'
pkgname=fprintd
version=0.9.0
revision=3
wrksrc="fprintd-V_${version//./_}"
build_style=gnu-configure
configure_args="--sysconfdir=/etc/${pkgname} --disable-static --without-systemdsystemunitdir"
version=1.90.9
revision=1
wrksrc=fprintd-v$version
build_style=meson
configure_args="--sysconfdir=/etc/fprintd -Dman=true -Dgtk_doc=false
-Dsystemd=false -Dpam_modules_dir=/usr/lib/security"
conf_files="/etc/fprintd/fprintd.conf"
hostmakedepends="autoconf automake dbus-glib-devel gettext-devel glib-devel gtk-doc intltool libtool m4 pkg-config"
makedepends="dbus-devel dbus-glib-devel gettext-devel glib-devel libfprint-devel pam-devel polkit-devel"
hostmakedepends="meson dbus-glib-devel gettext-devel glib-devel intltool
pkg-config perl python3-cairo python3-pypamtest python3-dbus
python3-dbusmock libxslt libfprint polkit"
makedepends="dbus-devel dbus-glib-devel gettext-devel glib-devel pam-devel
libfprint-devel polkit-devel cairo-devel elogind-devel pam_wrapper"
short_desc="Daemon that provides fingerprint scanning functionality"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.freedesktop.org/wiki/Software/fprint/"
distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${version//./_}/fprintd-V_${version//./_}.tar.bz2"
checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/v$version/fprintd-v$version.tar.bz2"
checksum=9c9dcef205be0dfc669e2c892b28224dcd517674214aba745697e7341e3aef6f
lib32disabled=yes
CFLAGS="-fcommon"
pre_configure() {
glib-gettextize -c -f
gtkdocize --copy
intltoolize -c -f
libtoolize -c
aclocal
autoconf
autoheader
automake -a -c
}
post_install() {
mv $DESTDIR/etc/$pkgname/dbus-1 $DESTDIR/usr/share/dbus-1
vmkdir usr/share/dbus-1/system.d
mv $DESTDIR/usr/share/dbus-1/dbus-1/system.d/net.reactivated.Fprint.conf $DESTDIR/usr/share/dbus-1/system.d/
}