mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
83 lines
2.0 KiB
Bash
83 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="1"
|
|
SOURCE_URI="https://people.freedesktop.org/~anarsoul/libfprint-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256="863eee8cf4cbc56776cf08e5b98e30e130f3394b6db95bf8e01addb6bf08f1f3"
|
|
|
|
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
|
|
make $jobArgs -i
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install -i
|
|
|
|
rm $libDir/libfprint.la
|
|
prepareInstalledDevelLib libfprint
|
|
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|