Package Details: libfprint-2-tod1-synatudor-git r200.d3550ca-1

Git Clone URL: https://aur.archlinux.org/libfprint-2-tod1-synatudor-git.git (read-only, click to copy)
Package Base: libfprint-2-tod1-synatudor-git
Description: libfprint module for Synaptics Tudor Driver
Upstream URL: https://github.com/Popax21/synaTudor
Licenses: LGPL
Submitter: natrow
Maintainer: natrow
Last Packager: natrow
Votes: 5
Popularity: 0.131588
First Submitted: 2023-08-28 22:18 (UTC)
Last Updated: 2023-08-28 22:18 (UTC)

Latest Comments

solarpunkjulian commented on 2024-09-07 16:30 (UTC)

building fails for me. The Output of makepkg is: https://bin.disroot.org/?43d7c3c20ff483ee#6AE7UjzoqPCQSVinT6wY81sxPa6vbn64rrL8p7YyRSsP

0xDoubleDoc commented on 2023-08-28 21:35 (UTC)

There you go, it is waiting for you :-). Thanks a lot for your investment!

natrow commented on 2023-08-28 21:33 (UTC)

Sure I could take care of it. Btw, the author officially licensed the project as LGPL the other day.

0xDoubleDoc commented on 2023-08-27 18:14 (UTC)

I currently do not have time to update the package, but I would gladly give you ownership if you feel like it :)? Else, I am afraid I will find time to do it in a few months at earliest...

natrow commented on 2023-08-24 22:43 (UTC)

Hello, I have a few suggestions for this package. Firstly, it would seem appropriate for the package to be renamed following the naming convention of most of the other libfprint drivers on the AUR (libfprint-2-tod-1-tudor-git). Second, the upstream URL ought to be https://github.com/popax21/synaTudor and I've updated the license to unknown since the author hasn't established a clear license (yet). I've also added pkgver() and prepare() functions and made some tweaks to the build.

I've put a full patch below, but renaming the package would require extra intervention from a TU. See also: https://github.com/Popax21/synaTudor/issues/18

diff --git a/PKGBUILD b/PKGBUILD
index 92c62ed..65fb589 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,31 +2,41 @@
 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
 # Contributor: Tom Gundersen <teg@jklm.no>
 # Contributor: Thomas Baechler <thomas@archlinux.org>
+# Contributor: Nathan Rowan <rvanathanrowan@gmail.com>

-_pkgbase=libfprint
-pkgname=${_pkgbase}-tudor
-pkgver=1.0.0
-pkgrel=2
+pkgname=libfprint-2-tod1-tudor-git
+pkgver=r199.a528a7d
+pkgrel=1
 pkgdesc="Library for fingerprint readers - exotic Synaptic devices component"
-url="https://fprint.freedesktop.org/"
+url="https://github.com/Popax21/synaTudor"
 arch=(x86_64)
-license=(LGPL)
+license=(unknown)
 depends=(libgusb pixman nss systemd libgudev libfprint-tod-git)
 makedepends=(git meson ninja innoextract openssl)
-source=("git+https://github.com/Popax21/synaTudor/")
+source=("${pkgname%-git}::git+https://github.com/Popax21/synaTudor/")
 sha256sums=('SKIP')

+pkgver() {
+  cd "$srcdir/${pkgname%-git}"
+  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+  cd "$srcdir/${pkgname%-git}"
+  # cli is for debug use only
+  rm -rf cli/
+  sed '/cli/d' meson.build -i
+  # INSTALL_DIR has a hardcoded reference to /sbin
+  sed 's|/sbin|/usr/bin|g' meson.build -i
+}
+
 build() {
-  cd synaTudor
-  mkdir -p build
-  meson setup --prefix=/usr --buildtype=plain . build
+  cd "$srcdir/${pkgname%-git}"
+  arch-meson "$srcdir/${pkgname%-git}" build
   meson compile -C build
 }

 package() {
-  cd synaTudor/
+  cd "$srcdir/${pkgname%-git}"
   meson install -C build --destdir "$pkgdir"
-  sed -i "s!$pkgdir!!g" "$pkgdir/usr/share/dbus-1/system-services/net.reactivated.TudorHostLauncher.service"
-  mkdir -p "$pkgdir/usr"
-  mv "$pkgdir/sbin" "$pkgdir/usr/bin"
 }

0xDoubleDoc commented on 2023-05-08 23:43 (UTC)

It is now :).

evdinowork commented on 2022-07-12 00:47 (UTC)

could this be updated to support the new relink code? (it's not functional yet, but it will be very soon)