2014-07-17 19:42:28 +02:00
|
|
|
# Template file for 'fingerprint-gui'
|
|
|
|
pkgname=fingerprint-gui
|
2014-09-27 00:23:38 +02:00
|
|
|
version=1.06
|
2015-01-13 18:34:09 +01:00
|
|
|
revision=2
|
|
|
|
make_dirs="/var/lib/fingerprint-gui 0755 root root
|
2014-07-17 19:42:28 +02:00
|
|
|
/var/upek_data 0750 root input"
|
|
|
|
hostmakedepends="qt-qmake"
|
|
|
|
makedepends="qt-devel qca-devel libfprint-devel libfakekey-devel polkit-qt-devel pam-devel"
|
|
|
|
depends="desktop-file-utils"
|
2015-01-13 19:14:44 +01:00
|
|
|
short_desc="Fingerprint management GUI and PAM module"
|
2014-07-17 19:42:28 +02:00
|
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
|
|
license="GPL-2"
|
2014-09-06 18:58:50 +02:00
|
|
|
homepage="http://www.ullrich-online.cc/fingerprint/"
|
|
|
|
distfiles="http://www.ullrich-online.cc/fingerprint/download/${pkgname}-${version}.tar.gz"
|
2014-09-27 00:23:38 +02:00
|
|
|
checksum=f5021d4c446b65ce62de63b9b2874b05a62318b386f35577ca0322b722a1920f
|
2015-01-13 19:14:44 +01:00
|
|
|
|
2014-07-17 19:42:28 +02:00
|
|
|
do_build() {
|
|
|
|
sed -i 's/plugdev/input/g' \
|
|
|
|
upek/91-fingerprint-gui-upek.rules \
|
|
|
|
bin/fingerprint-helper/92-fingerprint-gui-uinput.rules
|
2015-01-13 19:14:44 +01:00
|
|
|
qmake LIBPOLKIT_QT=LIBPOLKIT_QT_1_1 PREFIX=/usr LIB=/usr/lib \
|
|
|
|
"QMAKE_CXXFLAGS+=-I/usr/include/QtCrypto" "QMAKE_LIBS+=-lqca"
|
2014-07-17 19:42:28 +02:00
|
|
|
make ${makejobs}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make INSTALL_ROOT=${DESTDIR}/ install
|
|
|
|
vdoc CHANGELOG
|
|
|
|
vconf upek/upek.cfg
|
|
|
|
vmkdir usr/lib/udev/rules.d
|
|
|
|
mv ${DESTDIR}/etc/udev/rules.d/* ${DESTDIR}/usr/lib/udev/rules.d
|
|
|
|
vinstall upek/91-fingerprint-gui-upek.rules 644 usr/lib/udev/rules.d
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
i686*) vcopy "upek/lib/libbsapi.so.*" usr/lib;;
|
|
|
|
x86_64*) vcopy "upek/lib64/libbsapi.so.*" usr/lib;;
|
|
|
|
esac
|
|
|
|
}
|