diff options
Diffstat (limited to 'community/libfprint/APKBUILD')
-rw-r--r-- | community/libfprint/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/community/libfprint/APKBUILD b/community/libfprint/APKBUILD new file mode 100644 index 0000000000..30762c73a4 --- /dev/null +++ b/community/libfprint/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Timo Teräs <timo.teras@iki.fi> +pkgname=libfprint +pkgver=1.0 +pkgrel=1 +pkgdesc="fingerprint reader and identification library" +url="https://fprint.freedesktop.org/" +arch="all" +license="LGPL-2.1-or-later" +makedepends=" + meson + glib-dev + libusb-dev + pixman-dev + nss-dev + eudev-dev + " +subpackages="$pkgname-dev" +source="https://gitlab.freedesktop.org/libfprint/libfprint/uploads/aff93e9921d1cff53d7c070944952ff9/libfprint-$pkgver.tar.xz + fix-stderr.patch + " + +build() { + meson \ + --prefix /usr \ + --buildtype=plain \ + -Dx11-examples=false \ + -Ddoc=false \ + output + ninja -C output +} + +package() { + DESTDIR="$pkgdir" ninja -C output install +} + +sha512sums="6a38a691d1f2d5fe19b5bbda9b77321d2e34f1a3aa8b61f38109e0095b28e156cdd7be5ade8f3db8ff26045f8556b68e938b3e1378f4b6d84a2106566e7fdb53 libfprint-1.0.tar.xz +9bd5d606ff9f672507775567c7f71428bb0cd62de61d762979f36e91bc98c1d72569c3d405ed013fa3148300919b36c31c654d376d547cf7829cafeede6abea9 fix-stderr.patch" |