Date: Thursday, February 27, 2020 @ 18:30:45 Author: heftig Revision: 376312
1.90.1-1 Modified: fprintd/trunk/PKGBUILD ----------+ PKGBUILD | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-02-27 18:28:51 UTC (rev 376311) +++ PKGBUILD 2020-02-27 18:30:45 UTC (rev 376312) @@ -2,16 +2,17 @@ # Contributor: Nikolay Rysev <[email protected]> pkgname=fprintd -pkgver=0.9.0 +pkgver=1.90.1 pkgrel=1 pkgdesc="D-Bus service to access fingerprint readers" arch=(x86_64) url="https://www.freedesktop.org/wiki/Software/fprint/fprintd" license=(GPL) -depends=(libfprint dbus-glib polkit) -makedepends=(intltool gtk-doc gnome-common git) +depends=(glib2 libfprint polkit dbus dbus-glib libsystemd) +makedepends=(gtk-doc git meson pam_wrapper python-cairo python-dbus + python-dbusmock) groups=(fprint) -_commit=c0ba475fbf9854053789035c4bab561ce2b9a9ef # tags/V_0_9_0^0 +_commit=580cceb50eafa934c40845ce11693f8aaa79e51b # tags/1.90.1^0 source=("git+https://gitlab.freedesktop.org/libfprint/fprintd.git#commit=$_commit") sha256sums=('SKIP') @@ -22,24 +23,22 @@ prepare() { cd $pkgname - NOCONFIGURE=1 ./autogen.sh } build() { - cd $pkgname - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --libexecdir=/usr/lib \ - --localstatedir=/var \ - --disable-static \ - --enable-gtk-doc - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - make + arch-meson $pkgname build \ + -D pam_modules_dir=/usr/lib/security \ + -D gtk_doc=true + ninja -C build } +check() { + meson test -C build --print-errorlogs +} + package() { - cd $pkgname - make DESTDIR="$pkgdir" dbus_confdir=/usr/share/dbus-1/system.d install + depends+=(libfprint-2.so) + + DESTDIR="$pkgdir" meson install -C build install -d -m 700 "$pkgdir/var/lib/fprint" }
