fingerprint-gui: fix build.

This commit is contained in:
Christian Neukirchen 2015-01-13 19:14:44 +01:00
parent a1628c643e
commit 434fa969a7

View file

@ -7,19 +7,20 @@ make_dirs="/var/lib/fingerprint-gui 0755 root root
hostmakedepends="qt-qmake" hostmakedepends="qt-qmake"
makedepends="qt-devel qca-devel libfprint-devel libfakekey-devel polkit-qt-devel pam-devel" makedepends="qt-devel qca-devel libfprint-devel libfakekey-devel polkit-qt-devel pam-devel"
depends="desktop-file-utils" depends="desktop-file-utils"
short_desc="Fingerprint management GUI" short_desc="Fingerprint management GUI and PAM module"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>" maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2" license="GPL-2"
homepage="http://www.ullrich-online.cc/fingerprint/" homepage="http://www.ullrich-online.cc/fingerprint/"
update_site="http://www.ullrich-online.cc/fingerprint/downloads.php" update_site="http://www.ullrich-online.cc/fingerprint/downloads.php"
distfiles="http://www.ullrich-online.cc/fingerprint/download/${pkgname}-${version}.tar.gz" distfiles="http://www.ullrich-online.cc/fingerprint/download/${pkgname}-${version}.tar.gz"
checksum=f5021d4c446b65ce62de63b9b2874b05a62318b386f35577ca0322b722a1920f checksum=f5021d4c446b65ce62de63b9b2874b05a62318b386f35577ca0322b722a1920f
do_build() { do_build() {
sed -i 's/plugdev/input/g' \ sed -i 's/plugdev/input/g' \
upek/91-fingerprint-gui-upek.rules \ upek/91-fingerprint-gui-upek.rules \
bin/fingerprint-helper/92-fingerprint-gui-uinput.rules bin/fingerprint-helper/92-fingerprint-gui-uinput.rules
qmake LIBPOLKIT_QT=LIBPOLKIT_QT_1_1 PREFIX=/usr LIB=/usr/lib qmake LIBPOLKIT_QT=LIBPOLKIT_QT_1_1 PREFIX=/usr LIB=/usr/lib \
"QMAKE_CXXFLAGS+=-I/usr/include/QtCrypto" "QMAKE_LIBS+=-lqca"
make ${makejobs} make ${makejobs}
} }