mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-19 10:10:06 +02:00
82 lines
2.0 KiB
Bash
82 lines
2.0 KiB
Bash
SUMMARY="Async fingerprint library of fprint project"
|
|
DESCRIPTION="libfprint is an open source software library designed to make it \
|
|
easy for application developers to add support for consumer fingerprint \
|
|
readers to their software."
|
|
HOMEPAGE="https://www.freedesktop.org/wiki/Software/fprint/libfprint/"
|
|
COPYRIGHT="2007 Daniel Drake
|
|
2006-2007 Timo Hoenig
|
|
2006 Pavel Machek
|
|
1999 Erik Walthinsen
|
|
2004,2006 Thomas Vander Stichele
|
|
2007 Cyrille Bagard
|
|
2007 Vasily Khoruzhick
|
|
2007 Jan-Michael Brummer
|
|
2007 Anthony Bretaudeau"
|
|
LICENSE="GNU LGPL v2.1"
|
|
REVISION="2"
|
|
SOURCE_URI="https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/V_0_7_0/libfprint-V_0_7_0.tar.bz2"
|
|
CHECKSUM_SHA256="9ca5678b9cb73c793b4e8f8845753507ad816ba21091055082157c94f3be154e"
|
|
SOURCE_DIR="libfprint-V_0_7_0"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libfprint$secondaryArchSuffix = $portVersion
|
|
lib:libfprint$secondaryArchSuffix = 0.0.0 compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libglib_2.0$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:libnss3$secondaryArchSuffix
|
|
lib:libpixman_1$secondaryArchSuffix
|
|
lib:libplc4$secondaryArchSuffix
|
|
lib:libusb_1.0$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libfprint${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libfprint$secondaryArchSuffix = 0.0.0 compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
libfprint$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libglib_2.0$secondaryArchSuffix
|
|
devel:libnss3$secondaryArchSuffix
|
|
devel:libpixman_1$secondaryArchSuffix
|
|
devel:libusb_1.0$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:autom4te
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
sed -i 's/-Werror-implicit-function-declaration//g' configure.ac
|
|
autoreconf -fi
|
|
runConfigure ./configure --disable-static
|
|
make $jobArgs -i
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install -i
|
|
|
|
rm $libDir/libfprint.la
|
|
prepareInstalledDevelLib libfprint
|
|
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|